summaryrefslogtreecommitdiffstats
path: root/pica-client/msguirouter.h
diff options
context:
space:
mode:
authorAnton <anton@picapica>2017-12-01 22:16:24 +0400
committerAnton <anton@picapica>2017-12-01 22:16:24 +0400
commit0f726c30f5f11990d325bc5e55015c42c80cd9d2 (patch)
treef8c9b83cc440dd3a2f43285dc35199435f6e2701 /pica-client/msguirouter.h
parentac041927bc0c82e33acaa9e15fd46ecca0b77172 (diff)
downloadpica-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/msguirouter.h')
-rw-r--r--pica-client/msguirouter.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/pica-client/msguirouter.h b/pica-client/msguirouter.h
index aefef2c..f931b4d 100644
--- a/pica-client/msguirouter.h
+++ b/pica-client/msguirouter.h
@@ -10,32 +10,32 @@
class MsgUIRouter : public QObject
{
- Q_OBJECT
+ Q_OBJECT
public:
- explicit MsgUIRouter(QObject *parent = 0);
-
+ explicit MsgUIRouter(QObject *parent = 0);
+
signals:
-
+
public slots:
- void msg_to_peer(QString msg, ChatWindow *sender_window);
- void msg_from_peer(QByteArray from, QString msg);
+ void msg_to_peer(QString msg, ChatWindow *sender_window);
+ void msg_from_peer(QByteArray from, QString msg);
- void chatwindow_closed(ChatWindow *sender_window);
- void start_chat(QByteArray peer_id);
+ void chatwindow_closed(ChatWindow *sender_window);
+ void start_chat(QByteArray peer_id);
- void delivery_failed(QByteArray to, QString msg);
- void delivered(QByteArray to);
+ void delivery_failed(QByteArray to, QString msg);
+ void delivered(QByteArray to);
- void scary_cert_message(QByteArray peer_id, QString received_cert, QString stored_cert);
+ void scary_cert_message(QByteArray peer_id, QString received_cert, QString stored_cert);
void notification(QString text, bool is_critical);
- void trayicon_dclick();
+ void trayicon_dclick();
private:
- QMap<QByteArray,ChatWindow*> chatwindows;
- QLinkedList<QByteArray> blinkqueue;
+ QMap<QByteArray, ChatWindow*> chatwindows;
+ QLinkedList<QByteArray> blinkqueue;
+
+ void create_chatwindow(QByteArray peer_id);
- void create_chatwindow(QByteArray peer_id);
-
};
#endif // MSGUIROUTER_H