summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-08-06 20:30:16 (UTC)
committer ulf69 <ulf69>2004-08-06 20:30:16 (UTC)
commit26697d027609149853b984874190e2624749b7e3 (patch) (unidiff)
tree84b4392b20d1572645cb3d9ff5b6057da52ce970
parent38d84409bcca83516eb816461c8b79b4cf6cbf57 (diff)
downloadkdepimpi-26697d027609149853b984874190e2624749b7e3.zip
kdepimpi-26697d027609149853b984874190e2624749b7e3.tar.gz
kdepimpi-26697d027609149853b984874190e2624749b7e3.tar.bz2
moved pim related parameters into kpimprefs. (email, phone parameters)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kpimprefs.cpp4
-rw-r--r--libkdepim/kpimprefs.h18
-rw-r--r--libkdepim/libkdepim.pro12
-rw-r--r--libkdepim/libkdepimE.pro13
4 files changed, 35 insertions, 12 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 ) :
33{ 33{
34 KPrefs::setCurrentGroup( "ExternalApplications" );
35 addItemInt( "EmailChannelType", &mEmailClient, OMPI );
36 addItemString( "EmailChannelOther", &mEmailChannel, "" );
37
34} 38}
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
32 public: 32 public:
33
33 KPimPrefs( const QString &name = QString::null ); 34 KPimPrefs( const QString &name = QString::null );
@@ -38,3 +39,3 @@ class KPimPrefs : public KPrefs
38 void usrSetDefaults(); 39 void usrSetDefaults();
39 40
40 /** Read preferences from config file */ 41 /** Read preferences from config file */
@@ -45,5 +46,18 @@ class KPimPrefs : public KPrefs
45 46
47 enum EMailClients {
48 OMPI = 0,
49 QTOPIA = 1,
50 OPIE = 2,
51 OTHER = 3
52 };
53
54
46 public: 55 public:
47 QStringList mCustomCategories; 56 QStringList mCustomCategories;
48 57
58 int mEmailClient;
59 QString mEmailChannel;
60
61
62
49 protected: 63 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
4TARGET = microkdepim 4TARGET = microkdepim
5INCLUDEPATH += ../microkde ../libkabcwrap ../microkde/kdecore . .. 5INCLUDEPATH += ../microkde ../libkabcwrap ../microkde/kdecore ../microkde/kdeui . ..
6DESTDIR=../bin 6DESTDIR=../bin
@@ -30,3 +30,2 @@ HEADERS = \
30 kpimprefs.h \ 30 kpimprefs.h \
31 kprefs.h \
32 kprefsdialog.h \ 31 kprefsdialog.h \
@@ -34,3 +33,5 @@ HEADERS = \
34 ksyncprofile.h \ 33 ksyncprofile.h \
35 ksyncprefsdialog.h 34 ksyncprefsdialog.h \
35 kcmconfigs/kcmkdepimconfig.h \
36 kcmconfigs/kdepimconfigwidget.h
36 37
@@ -46,3 +47,2 @@ SOURCES = \
46 kpimprefs.cpp \ 47 kpimprefs.cpp \
47 kprefs.cpp \
48 kprefsdialog.cpp \ 48 kprefsdialog.cpp \
@@ -50,3 +50,5 @@ SOURCES = \
50 ksyncprofile.cpp \ 50 ksyncprofile.cpp \
51 ksyncprefsdialog.cpp 51 ksyncprefsdialog.cpp \
52 kcmconfigs/kcmkdepimconfig.cpp \
53 kcmconfigs/kdepimconfigwidget.cpp
52 54
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
3TARGET = microkdepim 3TARGET = microkdepim
4INCLUDEPATH += ../microkde ../qtcompat ../libkabcwrap ../microkde/kdecore $(QPEDIR)/include 4INCLUDEPATH += ../microkde ../qtcompat ../libkabcwrap ../microkde/kdecore ../microkde/kdeui $(QPEDIR)/include
5INCLUDEPATH += . .. 5INCLUDEPATH += . ..
@@ -24,3 +24,2 @@ HEADERS = \
24 kpimprefs.h \ 24 kpimprefs.h \
25 kprefs.h \
26 kprefsdialog.h \ 25 kprefsdialog.h \
@@ -28,3 +27,6 @@ HEADERS = \
28 ksyncprofile.h \ 27 ksyncprofile.h \
29 ksyncprefsdialog.h 28 ksyncprefsdialog.h \
29 kcmconfigs/kcmkdepimconfig.h \
30 kcmconfigs/kdepimconfigwidget.h
31
30 32
@@ -41,3 +43,2 @@ SOURCES = \
41 kpimprefs.cpp \ 43 kpimprefs.cpp \
42 kprefs.cpp \
43 kprefsdialog.cpp \ 44 kprefsdialog.cpp \
@@ -45,2 +46,4 @@ SOURCES = \
45 ksyncprofile.cpp \ 46 ksyncprofile.cpp \
46 ksyncprefsdialog.cpp 47 ksyncprefsdialog.cpp \
48 kcmconfigs/kcmkdepimconfig.cpp \
49 kcmconfigs/kdepimconfigwidget.cpp