aboutsummaryrefslogtreecommitdiff
path: root/src/ui/visualmenu.h
diff options
context:
space:
mode:
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;
};