summaryrefslogtreecommitdiff
path: root/client/widgets/radiobuttons.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/radiobuttons.h')
-rw-r--r--client/widgets/radiobuttons.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/client/widgets/radiobuttons.h b/client/widgets/radiobuttons.h
index f1c89c4..cfdf1ef 100644
--- a/client/widgets/radiobuttons.h
+++ b/client/widgets/radiobuttons.h
@@ -36,13 +36,28 @@
class RadioButtons : public QFrame, public Widget
{
+Q_OBJECT
public:
RadioButtons(QDomNode &node, MacroWindow *macrowindow);
-public slots:
bool isValid();
QString getValue();
- void setValue(QString value);
+ void setValue(QString value, QString source = "");
+
+ void connectFrom(const char *signal,
+ const QObject *receiver, const char *method);
+
+ void connectTo(const QObject *sender, const char *signal,
+ const char *method);
+
+ bool setKeyboardFocus();
+ void setVisibility(bool visible);
+
+public slots:
+ void childChanged();
+
+signals:
+ void wasChanged();
private:
QVector < RadioButton* > radiobutton_list;