summaryrefslogtreecommitdiffabout
path: root/libkdepim
authorulf69 <ulf69>2004-08-06 20:30:16 (UTC)
committer ulf69 <ulf69>2004-08-06 20:30:16 (UTC)
commit26697d027609149853b984874190e2624749b7e3 (patch) (side-by-side diff)
tree84b4392b20d1572645cb3d9ff5b6057da52ce970 /libkdepim
parent38d84409bcca83516eb816461c8b79b4cf6cbf57 (diff)
downloadkdepimpi-26697d027609149853b984874190e2624749b7e3.zip
kdepimpi-26697d027609149853b984874190e2624749b7e3.tar.gz
kdepimpi-26697d027609149853b984874190e2624749b7e3.tar.bz2
moved pim related parameters into kpimprefs. (email, phone parameters)
Diffstat (limited to 'libkdepim') (more/less context) (show whitespace changes)
-rw-r--r--libkdepim/kpimprefs.cpp4
-rw-r--r--libkdepim/kpimprefs.h14
-rw-r--r--libkdepim/libkdepim.pro12
-rw-r--r--libkdepim/libkdepimE.pro13
4 files changed, 33 insertions, 10 deletions
diff --git a/libkdepim/kpimprefs.cpp b/libkdepim/kpimprefs.cpp
index ce4c540..15531c7 100644
--- a/libkdepim/kpimprefs.cpp
+++ b/libkdepim/kpimprefs.cpp
@@ -33,2 +33,6 @@ KPimPrefs::KPimPrefs( const QString &name ) :
{
+ KPrefs::setCurrentGroup( "ExternalApplications" );
+ addItemInt( "EmailChannelType", &mEmailClient, OMPI );
+ addItemString( "EmailChannelOther", &mEmailChannel, "" );
+
}
diff --git a/libkdepim/kpimprefs.h b/libkdepim/kpimprefs.h
index 05a564c..5186315 100644
--- a/libkdepim/kpimprefs.h
+++ b/libkdepim/kpimprefs.h
@@ -32,2 +32,3 @@ class KPimPrefs : public KPrefs
public:
+
KPimPrefs( const QString &name = QString::null );
@@ -45,2 +46,10 @@ class KPimPrefs : public KPrefs
+ enum EMailClients {
+ OMPI = 0,
+ QTOPIA = 1,
+ OPIE = 2,
+ OTHER = 3
+ };
+
+
public:
@@ -48,2 +57,7 @@ class KPimPrefs : public KPrefs
+ int mEmailClient;
+ QString mEmailChannel;
+
+
+
protected:
diff --git a/libkdepim/libkdepim.pro b/libkdepim/libkdepim.pro
index a2fae0b..902f049 100644
--- a/libkdepim/libkdepim.pro
+++ b/libkdepim/libkdepim.pro
@@ -4,3 +4,3 @@ DEFINES +=KORG_NOKABC
TARGET = microkdepim
-INCLUDEPATH += ../microkde ../libkabcwrap ../microkde/kdecore . ..
+INCLUDEPATH += ../microkde ../libkabcwrap ../microkde/kdecore ../microkde/kdeui . ..
DESTDIR=../bin
@@ -30,3 +30,2 @@ HEADERS = \
kpimprefs.h \
- kprefs.h \
kprefsdialog.h \
@@ -34,3 +33,5 @@ HEADERS = \
ksyncprofile.h \
- ksyncprefsdialog.h
+ ksyncprefsdialog.h \
+ kcmconfigs/kcmkdepimconfig.h \
+ kcmconfigs/kdepimconfigwidget.h
@@ -46,3 +47,2 @@ SOURCES = \
kpimprefs.cpp \
- kprefs.cpp \
kprefsdialog.cpp \
@@ -50,3 +50,5 @@ SOURCES = \
ksyncprofile.cpp \
- ksyncprefsdialog.cpp
+ ksyncprefsdialog.cpp \
+ kcmconfigs/kcmkdepimconfig.cpp \
+ kcmconfigs/kdepimconfigwidget.cpp
diff --git a/libkdepim/libkdepimE.pro b/libkdepim/libkdepimE.pro
index 36a789d..fc8abe1 100644
--- a/libkdepim/libkdepimE.pro
+++ b/libkdepim/libkdepimE.pro
@@ -3,3 +3,3 @@ CONFIG += qt warn_on
TARGET = microkdepim
-INCLUDEPATH += ../microkde ../qtcompat ../libkabcwrap ../microkde/kdecore $(QPEDIR)/include
+INCLUDEPATH += ../microkde ../qtcompat ../libkabcwrap ../microkde/kdecore ../microkde/kdeui $(QPEDIR)/include
INCLUDEPATH += . ..
@@ -24,3 +24,2 @@ HEADERS = \
kpimprefs.h \
- kprefs.h \
kprefsdialog.h \
@@ -28,3 +27,6 @@ HEADERS = \
ksyncprofile.h \
- ksyncprefsdialog.h
+ ksyncprefsdialog.h \
+ kcmconfigs/kcmkdepimconfig.h \
+ kcmconfigs/kdepimconfigwidget.h
+
@@ -41,3 +43,2 @@ SOURCES = \
kpimprefs.cpp \
- kprefs.cpp \
kprefsdialog.cpp \
@@ -45,2 +46,4 @@ SOURCES = \
ksyncprofile.cpp \
- ksyncprefsdialog.cpp
+ ksyncprefsdialog.cpp \
+ kcmconfigs/kcmkdepimconfig.cpp \
+ kcmconfigs/kdepimconfigwidget.cpp