ui/qt/toolkit.h

changeset 1109
1dd32226aa9f
parent 536
4a1c2eae4bcd
--- 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 */
 

mercurial