summaryrefslogtreecommitdiffstats
path: root/src/ldappasswddlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-05-27 00:51:17 -0500
committerTimothy Pearson <[email protected]>2012-05-27 00:51:17 -0500
commita63d48d3ea39fb5490a10fcf55b3b354b622622f (patch)
tree308f8a46ef877e10f23e40cb8dcd9bcbd2e275c1 /src/ldappasswddlg.cpp
parent6b705421fa4addcd4be5ea95359fe7ea996493e7 (diff)
downloadkcmldapmanager-a63d48d3ea39fb5490a10fcf55b3b354b622622f.tar.gz
kcmldapmanager-a63d48d3ea39fb5490a10fcf55b3b354b622622f.zip
Import ldap login dialog and start adding ui bases to control module
Diffstat (limited to 'src/ldappasswddlg.cpp')
-rw-r--r--src/ldappasswddlg.cpp49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/ldappasswddlg.cpp b/src/ldappasswddlg.cpp
new file mode 100644
index 0000000..43d2764
--- /dev/null
+++ b/src/ldappasswddlg.cpp
@@ -0,0 +1,49 @@
+/***************************************************************************
+ * Copyright (C) 2012 by Timothy Pearson *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ ***************************************************************************/
+
+#include <klocale.h>
+#include <klineedit.h>
+#include <ktextedit.h>
+#include <knuminput.h>
+#include <kactionselector.h>
+#include <tqlistbox.h>
+#include <kpushbutton.h>
+#include <tqpixmap.h>
+#include <tqiconset.h>
+#include <tqlabel.h>
+
+#include "ldappasswddlg.h"
+
+LDAPPasswordDialog::LDAPPasswordDialog(TQWidget* parent, const char* name)
+ : KDialogBase(parent, name, true, i18n("LDAP Authentication"), Ok|Cancel, Ok, true)
+{
+ m_base = new LDAPLogin(this);
+
+ m_base->px_introSidebar->hide();
+ m_base->yad_string->hide();
+
+ setMainWidget(m_base);
+}
+
+void LDAPPasswordDialog::slotOk() {
+ accept();
+}
+
+#include "ldappasswddlg.moc"