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/nodethread.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/nodethread.h')
| -rw-r--r-- | pica-client/nodethread.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/pica-client/nodethread.h b/pica-client/nodethread.h index 8974255..d7154a1 100644 --- a/pica-client/nodethread.h +++ b/pica-client/nodethread.h @@ -10,29 +10,29 @@ class NodeThread : public QThread { - Q_OBJECT + Q_OBJECT public: - explicit NodeThread( Nodes::NodeRecord &addr, bool *completed, PICA_acc *acc,struct PICA_c2n **pica_conn, QMutex *wm); - void CloseThread(); + explicit NodeThread( Nodes::NodeRecord &addr, bool *completed, PICA_acc *acc, struct PICA_c2n **pica_conn, QMutex *wm); + void CloseThread(); private: - void run(); - static QMutex finished_mutex; + void run(); + static QMutex finished_mutex; - QMutex *write_mutex; + QMutex *write_mutex; - bool *finished_flag; - Nodes::NodeRecord node_addr; - struct PICA_c2n *ci; - struct PICA_acc *user_account; - struct PICA_c2n **connection; + bool *finished_flag; + Nodes::NodeRecord node_addr; + struct PICA_c2n *ci; + struct PICA_acc *user_account; + struct PICA_c2n **connection; - int exit; + int exit; signals: - void NodeStatusChanged(QString addr, quint16 port, bool alive); - void ConnectedToNode(QString addr, quint16 port, NodeThread *thread); - void ErrorMsg(QString msg); + void NodeStatusChanged(QString addr, quint16 port, bool alive); + void ConnectedToNode(QString addr, quint16 port, NodeThread *thread); + void ErrorMsg(QString msg); public slots: }; |
