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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/widgets/lineedit.h b/client/widgets/lineedit.h
index bf66d06..551f08b 100644
--- a/client/widgets/lineedit.h
+++ b/client/widgets/lineedit.h
@@ -27,11 +27,12 @@
#ifndef __PRACRO_LINEEDIT_H__
#define __PRACRO_LINEEDIT_H__
+#include "widget.h"
#include <QLineEdit>
#include <QWidget>
#include <QValidator>
-class LineEdit : public QLineEdit
+class LineEdit : public QLineEdit, public Widget
{
Q_OBJECT
@@ -42,6 +43,7 @@ public:
public slots:
void changed(QString text);
+ QString getValue();
private:
QValidator *validator;