diff options
author | Nick Dedekind <nicholas.dedekind@gmail.com> | 2013-08-09 09:01:43 +0100 |
---|---|---|
committer | Nick Dedekind <nicholas.dedekind@gmail.com> | 2013-08-09 09:01:43 +0100 |
commit | db47d077dcd9ee6761de828c9194d3fa2331f9ea (patch) | |
tree | 975f0986c94118a4f7903a2836689489c3653bda /libqmenumodel/src/qdbusactiongroup.h | |
parent | 9be29519eb308eae8a2fafe7441324a53220726b (diff) | |
download | qmenumodel-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.h | 30 |
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 |