diff options
| author | Anton <anton@picapica> | 2019-05-16 21:57:53 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2019-05-16 21:57:53 +0400 |
| commit | 6e1d6c845ee9b3d11379cee5cec6bcc7f2f9c612 (patch) | |
| tree | 7d6f275a00a49b6a97e6254b05276bf5eb69e3ae /pica-client/contactlistwidget.h | |
| parent | 850b332e7e591064bd8b3245554a05752240408e (diff) | |
| download | pica-pica-6e1d6c845ee9b3d11379cee5cec6bcc7f2f9c612.tar.gz pica-pica-6e1d6c845ee9b3d11379cee5cec6bcc7f2f9c612.zip | |
pica-client: view blacklisted contacts, move contacts to and from blaclist in contact list
Diffstat (limited to 'pica-client/contactlistwidget.h')
| -rw-r--r-- | pica-client/contactlistwidget.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pica-client/contactlistwidget.h b/pica-client/contactlistwidget.h index c7bfe8d..12d505e 100644 --- a/pica-client/contactlistwidget.h +++ b/pica-client/contactlistwidget.h @@ -37,11 +37,14 @@ public: QAction *viewcertAct; QAction *showidAct; QAction *sendfileAct; + QAction *showblacklistAct; + QAction *movetoblacklistAct; + QAction *removefromblacklistAct; protected: void contextMenuEvent(QContextMenuEvent *event); private: - void setContactsStorage(Contacts *ct); + void setContactsStorage(Contacts *ct, bool show_blacklisted = false); Contacts* storage; QList<Contacts::ContactRecord> contact_records; QMap<QListWidgetItem*, Contacts::ContactRecord*> wgitem_to_recs; @@ -60,6 +63,9 @@ private slots: void view_cert(); void show_id(); void send_file(); + void show_blacklist(bool checked); + void move_to_blacklist(); + void remove_from_blacklist(); //void debug_onmsginput(QString msg, ChatWindow *sender_window);//debug remove after debug }; |
