summaryrefslogtreecommitdiffstats
path: root/src/gui/deregisterform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/deregisterform.cpp')
-rw-r--r--src/gui/deregisterform.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/gui/deregisterform.cpp b/src/gui/deregisterform.cpp
new file mode 100644
index 0000000..d8ff0ce
--- /dev/null
+++ b/src/gui/deregisterform.cpp
@@ -0,0 +1,22 @@
+#include "deregisterform.h"
+
+/*
+ * Constructs a DeregisterForm which is a child of 'parent', with the
+ * name 'name' and widget flags set to 'f'
+ *
+ * The dialog will by default be modeless, unless you set 'modal' to
+ * true to construct a modal dialog.
+ */
+DeregisterForm::DeregisterForm(QWidget* parent)
+ : QDialog(parent)
+{
+ setupUi(this);
+}
+
+/*
+ * Destroys the object and frees any allocated resources
+ */
+DeregisterForm::~DeregisterForm()
+{
+ // no need to delete child widgets, Qt does it all for us
+}