diff options
Diffstat (limited to 'client/widgets/button.h')
-rw-r--r-- | client/widgets/button.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/client/widgets/button.h b/client/widgets/button.h index aba7ac7..d9d0b26 100644 --- a/client/widgets/button.h +++ b/client/widgets/button.h @@ -39,12 +39,25 @@ public: Button(QDomNode &node, MacroWindow *macrowindow); QString field; + void connectFrom(const char *signal, + const QObject *receiver, const char *method); + + void connectTo(const QObject *sender, const char *signal, + const char *method); + + void setVisibility(bool visible); + + bool setKeyboardFocus(); + + void reset(); + public slots: void commit(); - void reset(); + void _reset(); void cancel(); void cont(); void cont_nocommit(); + void do_enable(); signals: void act_commit(); @@ -54,6 +67,6 @@ signals: void act_continue_nocommit(QString); private: - + bool resetToDisabled; }; #endif/*__PRACRO_BUTTON_H__*/ |