aboutsummaryrefslogtreecommitdiff
path: root/VMProtect/folder_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'VMProtect/folder_dialog.h')
-rw-r--r--VMProtect/folder_dialog.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/VMProtect/folder_dialog.h b/VMProtect/folder_dialog.h
new file mode 100644
index 0000000..202ee9b
--- /dev/null
+++ b/VMProtect/folder_dialog.h
@@ -0,0 +1,19 @@
+#ifndef FOLDER_DIALOG_H
+#define FOLDER_DIALOG_H
+
+#include <QtGui/QDialog>
+#include <QtGui/QtGui>
+
+class FolderDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ FolderDialog(QWidget *parent = NULL);
+ QString nameText() const { return nameEdit->text(); }
+ void setNameText(const QString &text) { nameEdit->setText(text); }
+private:
+ QLineEdit *nameEdit;
+};
+
+#endif \ No newline at end of file