diff options
author | Arno <arno@disconnect.de> | 2016-11-27 06:52:50 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2016-11-27 06:52:50 +0100 |
commit | 9c89e2f83415c876f28f15ebff31c8325754a936 (patch) | |
tree | 81262fcd178af3071187cf89b415fc70cdb8d977 /globals.h | |
parent | d1cf6c418855004a249d44fd383c889cbd1e7662 (diff) | |
download | ShemovCleaner-9c89e2f83415c876f28f15ebff31c8325754a936.tar.gz ShemovCleaner-9c89e2f83415c876f28f15ebff31c8325754a936.tar.bz2 ShemovCleaner-9c89e2f83415c876f28f15ebff31c8325754a936.zip |
Add picture viewer
Opens on doubleclick when it's image/*.
Diffstat (limited to 'globals.h')
-rw-r--r-- | globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5,6 +5,7 @@ #include <QHash> class QAction; +class Viewer; class Globals : public QObject { Q_OBJECT @@ -13,6 +14,7 @@ class Globals : public QObject { static Globals *instance(); void addAction(QAction *a); QAction *action(int actionType); + Viewer *viewer(); private: Globals(); @@ -20,6 +22,7 @@ class Globals : public QObject { Globals &operator=(const Globals &other); static Globals *mInstance; QHash<int, QAction*> mActions; + Viewer *mViewer; }; #endif // GLOBALS_H |