From 32af5266cfc604a32ed90b6099f8b2fb308d6c15 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Wed, 23 Jan 2013 21:51:02 +0100 Subject: 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 --- src/qt/clientmodel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qt/clientmodel.h') diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index a3fe92048c..3ba34b2786 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); -- cgit v1.2.3