diff options
Diffstat (limited to 'client/widgets/multilist.h')
-rw-r--r-- | client/widgets/multilist.h | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/client/widgets/multilist.h b/client/widgets/multilist.h index 0a9e798..3bd7b9c 100644 --- a/client/widgets/multilist.h +++ b/client/widgets/multilist.h @@ -40,16 +40,31 @@ Q_OBJECT public: MultiList(QDomNode &node, MacroWindow *macrowindow); -public slots: - void changed(); QString getValue(); - void setValue(QString value); + void setValue(QString value, QString source = ""); + + void enable(); + void disable(); + + 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 changed(); void remove(); void add(); - void enable(); - void disable(); +signals: + void wasChanged(); + +protected: + bool eventFilter(QObject *obj, QEvent *event); private: QListWidget *list; |