aboutsummaryrefslogtreecommitdiff
path: root/src/ui/visualmenu.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-01-31 21:57:58 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-01-31 21:57:58 +0000
commitdbe1c2bb4eda63205b744411ddcaf12d5d6436fb (patch)
tree986598558d89414f71920585be3d6ddea50d8f3a /src/ui/visualmenu.h
parent9f419df28c3ccc492add0c3d7355c3451c008491 (diff)
downloadqmmp-dbe1c2bb4eda63205b744411ddcaf12d5d6436fb.tar.gz
qmmp-dbe1c2bb4eda63205b744411ddcaf12d5d6436fb.tar.bz2
qmmp-dbe1c2bb4eda63205b744411ddcaf12d5d6436fb.zip
optimized settings dialog
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1533 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/visualmenu.h')
-rw-r--r--src/ui/visualmenu.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/ui/visualmenu.h b/src/ui/visualmenu.h
index a4833974d..0039c7aaf 100644
--- a/src/ui/visualmenu.h
+++ b/src/ui/visualmenu.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2007 by Ilya Kotov *
+ * Copyright (C) 2007-2010 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -21,6 +21,9 @@
#define VISUALMENU_H
#include <QMenu>
+#include <QAction>
+
+class VisualFactory;
/**
@author Ilya Kotov <forkotov02@hotmail.ru>
@@ -35,6 +38,19 @@ public:
public slots:
void updateActions();
+};
+
+class VisualAction : public QAction
+{
+ Q_OBJECT
+public:
+ VisualAction(VisualFactory *factory, QWidget *parent = 0);
+
+private slots:
+ void select(bool);
+
+private:
+ VisualFactory *m_factory;
};