diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-01-23 21:51:02 +0100 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-03-17 18:28:00 +0100 |
commit | 32af5266cfc604a32ed90b6099f8b2fb308d6c15 (patch) | |
tree | 29624cf171b29d8f6970366617470f5d6a33cb5a /src/qt/macdockiconhandler.h | |
parent | 1a9ee5da327d8079a297ad292a1c16745b75df91 (diff) |
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/macdockiconhandler.h')
-rw-r--r-- | src/qt/macdockiconhandler.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qt/macdockiconhandler.h b/src/qt/macdockiconhandler.h index dd85e0c33d..5018456aa1 100644 --- a/src/qt/macdockiconhandler.h +++ b/src/qt/macdockiconhandler.h @@ -3,9 +3,11 @@ #include <QObject> +QT_BEGIN_NAMESPACE class QMenu; class QIcon; class QWidget; +QT_END_NAMESPACE #ifdef __OBJC__ @class DockIconClickEventHandler; @@ -18,6 +20,7 @@ class DockIconClickEventHandler; class MacDockIconHandler : public QObject { Q_OBJECT + public: ~MacDockIconHandler(); @@ -31,8 +34,6 @@ public: signals: void dockIconClicked(); -public slots: - private: MacDockIconHandler(); |