diff options
| author | senator <senator> | 2007-07-23 07:40:05 +0000 | 
|---|---|---|
| committer | senator <senator> | 2007-07-23 07:40:05 +0000 | 
| commit | 22de7bf19fb6fcce8d11c0e01afdfafa2a8c00d6 (patch) | |
| tree | b841931e88a673e04a26f2709066c018d9df4f68 /client/widgets/lineedit.h | |
| parent | d614b0436f0ce1f060fc80b987ca4209f17c221e (diff) | |
porting widgets to use QDomNodes
Diffstat (limited to 'client/widgets/lineedit.h')
| -rw-r--r-- | client/widgets/lineedit.h | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/client/widgets/lineedit.h b/client/widgets/lineedit.h index 45af6f3..247a562 100644 --- a/client/widgets/lineedit.h +++ b/client/widgets/lineedit.h @@ -30,7 +30,7 @@  #include "widget.h"  #include <QLineEdit>  #include <QWidget> -#include <QValidator> +#include <QDomNode>  class LineEdit : public QLineEdit, public Widget  { @@ -38,7 +38,7 @@ class LineEdit : public QLineEdit, public Widget  Q_OBJECT  public: -  LineEdit(QWidget *parent, QString reg_exp = "*"); +  LineEdit(QDomNode node);    bool isValid();  public slots: @@ -46,7 +46,6 @@ public slots:    QString getValue();  private: -  QValidator *validator;    QRegExp rx;    bool valid;  | 
