diff options
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 |