summaryrefslogtreecommitdiffstats
path: root/pica-client/contactlistwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client/contactlistwidget.h')
-rw-r--r--pica-client/contactlistwidget.h8
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
};