summaryrefslogtreecommitdiffstats
path: root/textenterdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'textenterdialog.h')
-rw-r--r--textenterdialog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/textenterdialog.h b/textenterdialog.h
index f555b85..0f49199 100644
--- a/textenterdialog.h
+++ b/textenterdialog.h
@@ -21,6 +21,7 @@ class TextEnterDialog : public QDialog {
TextEnterDialog(const QString &text, QWidget *parent = 0, Qt::WindowFlags f = 0);
~TextEnterDialog() {};
const QString text() const { return mText->text(); };
+ void setText(const QString &text) { mText->setText(text); };
private:
QPushButton *mOk;