diff options
| author | Philip Kaufmann <[email protected]> | 2013-01-23 21:51:02 +0100 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2013-03-17 18:28:00 +0100 |
| commit | 32af5266cfc604a32ed90b6099f8b2fb308d6c15 (patch) | |
| tree | 29624cf171b29d8f6970366617470f5d6a33cb5a /src/qt/clientmodel.h | |
| parent | Merge pull request #2336 from petertodd/invalid-opcode-coverage (diff) | |
| download | discoin-32af5266cfc604a32ed90b6099f8b2fb308d6c15.tar.xz discoin-32af5266cfc604a32ed90b6099f8b2fb308d6c15.zip | |
Bitcoin-Qt: massive header and cpp cleanup
- try to enforce the same style to all Qt related files
- remove unneeded includes from the files
- add missing Q_OBJECT, QT_BEGIN_NAMESPACE / QT_END_NAMESPACE
- prepares for a pull-req to include Qt5 compatibility
Diffstat (limited to 'src/qt/clientmodel.h')
| -rw-r--r-- | src/qt/clientmodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index a3fe92048..3ba34b278 100644 --- a/src/qt/clientmodel.h +++ b/src/qt/clientmodel.h @@ -24,6 +24,7 @@ enum BlockSource { class ClientModel : public QObject { Q_OBJECT + public: explicit ClientModel(OptionsModel *optionsModel, QObject *parent = 0); ~ClientModel(); @@ -66,6 +67,7 @@ private: void subscribeToCoreSignals(); void unsubscribeFromCoreSignals(); + signals: void numConnectionsChanged(int count); void numBlocksChanged(int count, int countOfPeers); |