summaryrefslogtreecommitdiff
path: root/client/widgets/lineedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/lineedit.h')
-rw-r--r--client/widgets/lineedit.h5
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;