summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r--src/gui/kernel/qevent.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h
index 7d2d6dbdcc..984deb54f5 100644
--- a/src/gui/kernel/qevent.h
+++ b/src/gui/kernel/qevent.h
@@ -60,7 +60,7 @@
QT_BEGIN_NAMESPACE
class QFile;
-class QGuiAction;
+class QAction;
class QScreen;
class QTouchDevice;
#if QT_CONFIG(gestures)
@@ -728,13 +728,13 @@ private:
#if QT_CONFIG(action)
class Q_GUI_EXPORT QActionEvent : public QEvent
{
- QGuiAction *act, *bef;
+ QAction *act, *bef;
public:
- QActionEvent(int type, QGuiAction *action, QGuiAction *before = nullptr);
+ QActionEvent(int type, QAction *action, QAction *before = nullptr);
~QActionEvent();
- inline QGuiAction *action() const { return act; }
- inline QGuiAction *before() const { return bef; }
+ inline QAction *action() const { return act; }
+ inline QAction *before() const { return bef; }
};
#endif // QT_CONFIG(action)