From 22de7bf19fb6fcce8d11c0e01afdfafa2a8c00d6 Mon Sep 17 00:00:00 2001 From: senator Date: Mon, 23 Jul 2007 07:40:05 +0000 Subject: porting widgets to use QDomNodes --- client/widgets/lineedit.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'client/widgets/lineedit.h') 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 #include -#include +#include 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; -- cgit v1.2.3