diff options
| author | Anton <anton@picapica> | 2017-12-01 22:16:24 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2017-12-01 22:16:24 +0400 |
| commit | 0f726c30f5f11990d325bc5e55015c42c80cd9d2 (patch) | |
| tree | f8c9b83cc440dd3a2f43285dc35199435f6e2701 /pica-client/contactlistwidget.h | |
| parent | ac041927bc0c82e33acaa9e15fd46ecca0b77172 (diff) | |
| download | pica-pica-0f726c30f5f11990d325bc5e55015c42c80cd9d2.tar.gz pica-pica-0f726c30f5f11990d325bc5e55015c42c80cd9d2.zip | |
fixed code style on all source files (*.c *.cpp *.h) using astyle --style=allman --lineend=linux --indent=tab --pad-oper
Diffstat (limited to 'pica-client/contactlistwidget.h')
| -rw-r--r-- | pica-client/contactlistwidget.h | 50 |
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 |
