diff options
Diffstat (limited to 'client/widgets/listbox.h')
| -rw-r--r-- | client/widgets/listbox.h | 23 | 
1 files changed, 21 insertions, 2 deletions
| diff --git a/client/widgets/listbox.h b/client/widgets/listbox.h index 627d31e..1485225 100644 --- a/client/widgets/listbox.h +++ b/client/widgets/listbox.h @@ -33,13 +33,32 @@  class ListBox : public QListWidget, public Widget  { +Q_OBJECT  public:    ListBox(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); + +  void setVisibility(bool visible); + +  bool setKeyboardFocus(); + +public slots: +  void changed(); + +signals: +  void wasChanged(); + +private: +  bool valueIsChangingByComputer;  };  #endif/*__PRACRO_LISTBOX_H__*/ | 
