summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/joindomaindlg.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/joindomaindlg.ui.h')
-rw-r--r--filesharing/advanced/kcm_sambaconf/joindomaindlg.ui.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/joindomaindlg.ui.h b/filesharing/advanced/kcm_sambaconf/joindomaindlg.ui.h
new file mode 100644
index 00000000..bcc5fe53
--- /dev/null
+++ b/filesharing/advanced/kcm_sambaconf/joindomaindlg.ui.h
@@ -0,0 +1,17 @@
+/****************************************************************************
+** ui.h extension file, included from the uic-generated form implementation.
+**
+** If you wish to add, delete or rename functions or slots use
+** Qt Designer which will update this file, preserving your code. Create an
+** init() function in place of a constructor, and a destroy() function in
+** place of a destructor.
+*****************************************************************************/
+
+void JoinDomainDlg::accept() {
+ if (passwordEdit->text() != verifyEdit->text()) {
+ KMessageBox::sorry(this, "Sorry", "You entered two different passwords. Please try again.");
+ return;
+ }
+
+ QDialog::accept();
+}