summaryrefslogtreecommitdiffstats
path: root/smglobals.h
diff options
context:
space:
mode:
Diffstat (limited to 'smglobals.h')
-rw-r--r--smglobals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/smglobals.h b/smglobals.h
index 0ac20ac..c4eb6c3 100644
--- a/smglobals.h
+++ b/smglobals.h
@@ -18,6 +18,7 @@ class PictureViewer2;
class QPixmap;
class SeriesTreeWidget;
class ArchiveController;
+class QAction;
// this was: 4707319808 - 20 * 1024 *1024
#define DVDSIZE 4686348288
@@ -44,6 +45,8 @@ class SmGlobals : public QObject {
QHash<int, QString> filetypeMap() const { return mFiletypeMap; }
void registerWidget(const QString &name, QWidget *w);
QWidget *getRegisteredWidget(const QString &name);
+ void setGlobalAction(QAction *a) { mGlobalActions = a; }
+ QAction *globalAction() { return mGlobalActions; }
QStringList reencReasons() const { return mReencReasons; }
void setReencReasons(const QStringList reasons);
@@ -61,6 +64,7 @@ class SmGlobals : public QObject {
QHash<int, QString> mFiletypeMap;
QHash<QString, QWidget*> mWidgets;
QStringList mReencReasons;
+ QAction *mGlobalActions;
};
#endif