diff options
Diffstat (limited to 'client/widgets/dbwidget.h')
-rw-r--r-- | client/widgets/dbwidget.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/client/widgets/dbwidget.h b/client/widgets/dbwidget.h index d0105a8..0438ca5 100644 --- a/client/widgets/dbwidget.h +++ b/client/widgets/dbwidget.h @@ -31,12 +31,16 @@ #include <QDomNode> #include <QComboBox> #include <QRegExp> +#include <QSqlDatabase> + +#include <QEvent> class DBWidget : public QComboBox, public Widget { Q_OBJECT public: DBWidget(QDomNode &node, MacroWindow *macrowindow); + ~DBWidget(); bool isValid(); @@ -48,9 +52,13 @@ public: public slots: void changed(); + void update_list(QString prefix); -private: +protected: + // void focusInEvent(QFocusEvent *); +private: + QSqlDatabase db; }; #endif/*__PRACRO_DBWIDGET_H__*/ |