aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/qdbusactiongroup.h
diff options
context:
space:
mode:
authorNick Dedekind <nicholas.dedekind@gmail.com>2013-08-09 09:01:43 +0100
committerNick Dedekind <nicholas.dedekind@gmail.com>2013-08-09 09:01:43 +0100
commitdb47d077dcd9ee6761de828c9194d3fa2331f9ea (patch)
tree975f0986c94118a4f7903a2836689489c3653bda /libqmenumodel/src/qdbusactiongroup.h
parent9be29519eb308eae8a2fafe7441324a53220726b (diff)
downloadqmenumodel-db47d077dcd9ee6761de828c9194d3fa2331f9ea.tar.gz
qmenumodel-db47d077dcd9ee6761de828c9194d3fa2331f9ea.tar.bz2
qmenumodel-db47d077dcd9ee6761de828c9194d3fa2331f9ea.zip
moved events to separate file.
Diffstat (limited to 'libqmenumodel/src/qdbusactiongroup.h')
-rw-r--r--libqmenumodel/src/qdbusactiongroup.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/libqmenumodel/src/qdbusactiongroup.h b/libqmenumodel/src/qdbusactiongroup.h
index dde33a4..f369a4e 100644
--- a/libqmenumodel/src/qdbusactiongroup.h
+++ b/libqmenumodel/src/qdbusactiongroup.h
@@ -24,7 +24,6 @@
#include <QObject>
#include <QVariant>
-#include <QEvent>
class QStateAction;
@@ -92,33 +91,4 @@ private:
static void onActionStateChanged(GDBusActionGroup *ag, gchar *name, GVariant *value, gpointer data);
};
-class DBusActionEvent : public QEvent
-{
-public:
- QString name;
-
-protected:
- DBusActionEvent(const QString& name, QEvent::Type type);
-};
-
-class DBusActionVisiblityEvent : public DBusActionEvent
-{
-public:
- static const QEvent::Type eventType;
- DBusActionVisiblityEvent(const QString& name, bool visible);
-
- bool visible;
-};
-
-
-class DBusActionStateEvent : public DBusActionEvent
-{
-public:
- static const QEvent::Type eventType;
-
- DBusActionStateEvent(const QString& name, const QVariant& state);
-
- QVariant state;
-};
-
#endif // QDBUSACTIONGROUP_H