ui/qt/toolkit.h

changeset 535
ede57f5b6178
parent 526
f6a6b0b08641
child 536
4a1c2eae4bcd
equal deleted inserted replaced
534:21f8a7656f6a 535:ede57f5b6178
61 public slots: 61 public slots:
62 void slot(); 62 void slot();
63 void destroy(); 63 void destroy();
64 }; 64 };
65 65
66 class UiAction : public QAction {
67 Q_OBJECT
68
69 UiObject *obj;
70 ui_callback callback;
71 void *userdata;
72
73 public:
74 UiVar *var;
75
76 UiAction(UiObject *obj, QString &label, ui_callback f, void *userdata);
77 ~UiAction();
78
79 private slots:
80 void trigger();
81 };
82
66 83
67 #endif /* TOOLKIT_H */ 84 #endif /* TOOLKIT_H */
68 85

mercurial