summaryrefslogtreecommitdiffabout
path: root/libkdepim/kpimglobalprefs.cpp
authorulf69 <ulf69>2004-09-16 17:23:08 (UTC)
committer ulf69 <ulf69>2004-09-16 17:23:08 (UTC)
commitc32d7e58ca69196426eee3217140227aca634f52 (patch) (unidiff)
tree3cc420da278d1035bb45c23d7c70562369f96b7b /libkdepim/kpimglobalprefs.cpp
parent02e7ae4983679a787834277176a031286a8310c2 (diff)
downloadkdepimpi-c32d7e58ca69196426eee3217140227aca634f52.zip
kdepimpi-c32d7e58ca69196426eee3217140227aca634f52.tar.gz
kdepimpi-c32d7e58ca69196426eee3217140227aca634f52.tar.bz2
added sip support to external apps
Diffstat (limited to 'libkdepim/kpimglobalprefs.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kpimglobalprefs.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/libkdepim/kpimglobalprefs.cpp b/libkdepim/kpimglobalprefs.cpp
index 7f683a8..eb8f1de 100644
--- a/libkdepim/kpimglobalprefs.cpp
+++ b/libkdepim/kpimglobalprefs.cpp
@@ -36,17 +36,17 @@ $Id$
36 36
37#include "kpimglobalprefs.h" 37#include "kpimglobalprefs.h"
38 38
39KPimGlobalPrefs *KPimGlobalPrefs::sInstance = 0; 39KPimGlobalPrefs *KPimGlobalPrefs::sInstance = 0;
40static KStaticDeleter<KPimGlobalPrefs> staticDeleter; 40static KStaticDeleter<KPimGlobalPrefs> staticDeleter;
41 41
42 42
43KPimGlobalPrefs::KPimGlobalPrefs( const QString &name ) 43KPimGlobalPrefs::KPimGlobalPrefs( const QString &name )
44 : KPrefs("kkdepimrc") 44 : KPrefs("microkdeglobalrc")
45{ 45{
46 KPrefs::setCurrentGroup( "ExternalApplications" ); 46 KPrefs::setCurrentGroup( "ExternalApplications" );
47 47
48 addItemInt( "EmailChannelType", &mEmailClient, OMPI_EMC ); 48 addItemInt( "EmailChannelType", &mEmailClient, OMPI_EMC );
49 addItemString( "EmailChannel", &mEmailOtherChannel, "" ); 49 addItemString( "EmailChannel", &mEmailOtherChannel, "" );
50 addItemString( "EmailChannelMessage", &mEmailOtherMessage, "" ); 50 addItemString( "EmailChannelMessage", &mEmailOtherMessage, "" );
51 addItemString( "EmailChannelParameters", &mEmailOtherMessageParameters, "" ); 51 addItemString( "EmailChannelParameters", &mEmailOtherMessageParameters, "" );
52 addItemString( "EmailChannelMessage2", &mEmailOtherMessage2, "" ); 52 addItemString( "EmailChannelMessage2", &mEmailOtherMessage2, "" );
@@ -67,16 +67,21 @@ KPimGlobalPrefs::KPimGlobalPrefs( const QString &name )
67 addItemString( "SMSChannelMessage", &mSMSOtherMessage, "" ); 67 addItemString( "SMSChannelMessage", &mSMSOtherMessage, "" );
68 addItemString( "SMSChannelParameters", &mSMSOtherMessageParameters, "" ); 68 addItemString( "SMSChannelParameters", &mSMSOtherMessageParameters, "" );
69 69
70 addItemInt( "PagerChannelType", &mPagerClient, NONE_PAC ); 70 addItemInt( "PagerChannelType", &mPagerClient, NONE_PAC );
71 addItemString( "PagerChannel", &mPagerOtherChannel, "" ); 71 addItemString( "PagerChannel", &mPagerOtherChannel, "" );
72 addItemString( "PagerChannelMessage", &mPagerOtherMessage, "" ); 72 addItemString( "PagerChannelMessage", &mPagerOtherMessage, "" );
73 addItemString( "PagerChannelParameters", &mPagerOtherMessageParameters, "" ); 73 addItemString( "PagerChannelParameters", &mPagerOtherMessageParameters, "" );
74 74
75 addItemInt( "SIPChannelType", &mSipClient, NONE_SIC );
76 addItemString( "SIPChannel", &mSipOtherChannel, "" );
77 addItemString( "SIPChannelMessage", &mSipOtherMessage, "" );
78 addItemString( "SIPChannelParameters", &mSipOtherMessageParameters, "" );
79
75} 80}
76 81
77KPimGlobalPrefs::~KPimGlobalPrefs() 82KPimGlobalPrefs::~KPimGlobalPrefs()
78{ 83{
79} 84}
80 85
81KPimGlobalPrefs *KPimGlobalPrefs::instance() 86KPimGlobalPrefs *KPimGlobalPrefs::instance()
82{ 87{