summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-05-17 02:33:40 -0500
committerTimothy Pearson <[email protected]>2012-05-17 02:33:40 -0500
commit273c3c806ac25fb81ba1d29cb5bdcb907c5fc59a (patch)
treec4f3a264d914d086c3d2f16bb2d2a729c6ce162a /src
parent07fc1b05b94550438b2dc8d2cc22dec8cebfaf19 (diff)
downloadkcmldap-273c3c806ac25fb81ba1d29cb5bdcb907c5fc59a.tar.gz
kcmldap-273c3c806ac25fb81ba1d29cb5bdcb907c5fc59a.zip
Remove spurious files and add ui file template
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/ldap.h2
-rw-r--r--src/ldapconfigbase.ui101
3 files changed, 104 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b37d0a7..dc6eb14 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,7 +4,7 @@ METASOURCES = AUTO
# Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = kcm_ldap.la
-kcm_ldap_la_SOURCES = ldap.cpp
+kcm_ldap_la_SOURCES = ldap.cpp ldapconfigbase.ui
kcm_ldap_la_LIBADD = -lkio $(LIB_TDEUI)
kcm_ldap_la_LDFLAGS = -avoid-version -module -no-undefined \
$(all_libraries)
diff --git a/src/ldap.h b/src/ldap.h
index 091ed07..1c041c0 100644
--- a/src/ldap.h
+++ b/src/ldap.h
@@ -30,6 +30,8 @@
#include <tqpushbutton.h>
#include <tqcombobox.h>
+#include "ldapconfigbase.h"
+
class ldap: public KCModule
{
Q_OBJECT
diff --git a/src/ldapconfigbase.ui b/src/ldapconfigbase.ui
new file mode 100644
index 0000000..8d00fad
--- /dev/null
+++ b/src/ldapconfigbase.ui
@@ -0,0 +1,101 @@
+<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
+<class>LDAPConfigBase</class>
+<widget class="TQWidget">
+ <property name="name">
+ <cstring>LDAPConfigBase</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>519</width>
+ <height>356</height>
+ </rect>
+ </property>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="TQTabWidget" row="0" column="0">
+ <property name="name">
+ <cstring>TabWidget2</cstring>
+ </property>
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <widget class="TQWidget">
+ <property name="name">
+ <cstring>tab</cstring>
+ </property>
+ <attribute name="title">
+ <string>LDAP Realms</string>
+ </attribute>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="TQGroupBox" row="0" column="0">
+ <property name="name">
+ <cstring>groupGlobal</cstring>
+ </property>
+ <property name="title">
+ <string>Global Settings</string>
+ </property>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="TQCheckBox" row="0" column="0" colspan="2">
+ <property name="name">
+ <cstring>systemEnableSupport</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Enable LDAP</string>
+ </property>
+ </widget>
+ </grid>
+ </widget>
+ <widget class="TQGroupBox" row="1" column="0">
+ <property name="name">
+ <cstring>groupRealms</cstring>
+ </property>
+ <property name="title">
+ <string>Bonded Realms</string>
+ </property>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ </grid>
+ </widget>
+ <spacer row="4" column="0">
+ <property name="name" stdset="0">
+ <cstring>Spacer4</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </grid>
+ </widget>
+ </widget>
+ </grid>
+</widget>
+<includes>
+ <include location="local" impldecl="in implementation">LDAPConfigBase.ui.h</include>
+</includes>
+<includes>
+ <include location="local" impldecl="in implementation">kdialog.h</include>
+</includes>
+<layoutdefaults spacing="3" margin="6"/>
+<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
+</UI>