]> Git Repo - VerusCoin.git/blame - src/qt/macdockiconhandler.h
Remove translation for -help-debug options
[VerusCoin.git] / src / qt / macdockiconhandler.h
CommitLineData
f914f1a7 1// Copyright (c) 2011-2013 The Bitcoin Core developers
78253fcb 2// Distributed under the MIT software license, see the accompanying
e592d43f
WL
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
84738627
PJ
5#ifndef BITCOIN_QT_MACDOCKICONHANDLER_H
6#define BITCOIN_QT_MACDOCKICONHANDLER_H
527137e3 7
4d17a1b0 8#include <QMainWindow>
51ed9ec9 9#include <QObject>
527137e3 10
32af5266 11QT_BEGIN_NAMESPACE
527137e3 12class QIcon;
51ed9ec9 13class QMenu;
527137e3 14class QWidget;
32af5266 15QT_END_NAMESPACE
fee10d80 16
af836ad5
WL
17/** Macintosh-specific dock icon handler.
18 */
527137e3 19class MacDockIconHandler : public QObject
20{
21 Q_OBJECT
32af5266 22
527137e3 23public:
24 ~MacDockIconHandler();
25
26 QMenu *dockMenu();
27 void setIcon(const QIcon &icon);
4d17a1b0 28 void setMainWindow(QMainWindow *window);
527137e3 29 static MacDockIconHandler *instance();
8b60808c 30 static void cleanup();
527137e3 31 void handleDockIconClickEvent();
32
33signals:
34 void dockIconClicked();
35
527137e3 36private:
37 MacDockIconHandler();
38
527137e3 39 QWidget *m_dummyWidget;
40 QMenu *m_dockMenu;
4d17a1b0 41 QMainWindow *mainWindow;
527137e3 42};
43
84738627 44#endif // BITCOIN_QT_MACDOCKICONHANDLER_H
This page took 0.170097 seconds and 4 git commands to generate.