diff -r 2c8ab8c17da7 -r 1dd32226aa9f ui/qt/toolkit.h --- a/ui/qt/toolkit.h Fri Apr 24 12:54:28 2026 +0200 +++ b/ui/qt/toolkit.h Fri Apr 24 12:56:06 2026 +0200 @@ -63,11 +63,11 @@ void destroy(); }; -class UiAction; +class UiQAction; -typedef void (*ui_prepare_action_event_func)(UiEvent *event, UiAction *action); +typedef void (*ui_prepare_action_event_func)(UiEvent *event, UiQAction *action); -class UiAction : public QAction { +class UiQAction : public QAction { Q_OBJECT UiObject *obj; @@ -83,14 +83,14 @@ int customvalue1 = 0; int customvalue2 = 0; - UiAction(UiObject *obj, QString &label, ui_callback f, void *userdata); - ~UiAction(); + UiQAction(UiObject *obj, QString &label, ui_callback f, void *userdata); + ~UiQAction(); private slots: void trigger(); }; -void ui_action_enable(UiAction *action, int enable); +void ui_action_enable(UiQAction *action, int enable); #endif /* TOOLKIT_H */