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.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/pica-client/contactlistwidget.h b/pica-client/contactlistwidget.h
index c23ac37..a56561d 100644
--- a/pica-client/contactlistwidget.h
+++ b/pica-client/contactlistwidget.h
@@ -9,42 +9,42 @@
class ContactListWidget : public QListWidget
{
- Q_OBJECT
+ Q_OBJECT
public:
- explicit ContactListWidget(QWidget *parent = 0);
- ~ContactListWidget();
-
- QAction *addcontactAct;
- QAction *delcontactAct;
- QAction *startchatAct;
- QAction *viewcertAct;
- QAction *showidAct;
- QAction *sendfileAct;
+ explicit ContactListWidget(QWidget *parent = 0);
+ ~ContactListWidget();
+
+ QAction *addcontactAct;
+ QAction *delcontactAct;
+ QAction *startchatAct;
+ QAction *viewcertAct;
+ QAction *showidAct;
+ QAction *sendfileAct;
protected:
- void contextMenuEvent(QContextMenuEvent *event);
+ void contextMenuEvent(QContextMenuEvent *event);
private:
- void setContactsStorage(Contacts *ct);
- Contacts* storage;
- QList<Contacts::ContactRecord> contact_records;
- QMap<QListWidgetItem*,Contacts::ContactRecord*> wgitem_to_recs;
+ void setContactsStorage(Contacts *ct);
+ Contacts* storage;
+ QList<Contacts::ContactRecord> contact_records;
+ QMap<QListWidgetItem*, Contacts::ContactRecord*> wgitem_to_recs;
- //ChatWindow *cw_debug_remove;
+ //ChatWindow *cw_debug_remove;
signals:
public slots:
- void Reload();
+ void Reload();
private slots:
- void add_contact();
- void del_contact();
- void start_chat();
- void view_cert();
- void show_id();
- void send_file();
-
- //void debug_onmsginput(QString msg, ChatWindow *sender_window);//debug remove after debug
+ void add_contact();
+ void del_contact();
+ void start_chat();
+ void view_cert();
+ void show_id();
+ void send_file();
+
+ //void debug_onmsginput(QString msg, ChatWindow *sender_window);//debug remove after debug
};
#endif // CONTACTLISTWIDGET_H