author | zautrix <zautrix> | 2005-01-14 21:17:00 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-14 21:17:00 (UTC) |
commit | ee9df90c4898f4ed624be2d4e94918fcc80060e9 (patch) (unidiff) | |
tree | d15e5e2e7fd4120d09fdda2ab4331ade67082e84 /libkdepim/ksyncprofile.cpp | |
parent | 620f8de219ee34c209960f02c8296c0568dd5d8b (diff) | |
download | kdepimpi-ee9df90c4898f4ed624be2d4e94918fcc80060e9.zip kdepimpi-ee9df90c4898f4ed624be2d4e94918fcc80060e9.tar.gz kdepimpi-ee9df90c4898f4ed624be2d4e94918fcc80060e9.tar.bz2 |
sync settings
-rw-r--r-- | libkdepim/ksyncprofile.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libkdepim/ksyncprofile.cpp b/libkdepim/ksyncprofile.cpp index 9f404cb..0d72fc9 100644 --- a/libkdepim/ksyncprofile.cpp +++ b/libkdepim/ksyncprofile.cpp | |||
@@ -82,4 +82,8 @@ KSyncProfile* KSyncProfile::clone() | |||
82 | myClone->setWriteContactToSIM( mWriteContactToSIM ); | 82 | myClone->setWriteContactToSIM( mWriteContactToSIM ); |
83 | myClone->setName( "noName" ); | 83 | myClone->setName( "noName" ); |
84 | myClone->setFilterInCal ( mFilterInCal ); | ||
85 | myClone->setFilterOutCal ( mFilterOutCal ); | ||
86 | myClone->setFilterInAB ( mFilterInAB ); | ||
87 | myClone->setFilterOutAB ( mFilterOutAB ); | ||
84 | //myClone->setIdentifier( "noID" ); | 88 | //myClone->setIdentifier( "noID" ); |
85 | return myClone; | 89 | return myClone; |
@@ -134,4 +138,8 @@ void KSyncProfile::setDefault() | |||
134 | mPhoneConnection = "irda"; | 138 | mPhoneConnection = "irda"; |
135 | mPhoneModel = "6310i"; | 139 | mPhoneModel = "6310i"; |
140 | mFilterInCal = "no filter"; | ||
141 | mFilterOutCal = "no filter"; | ||
142 | mFilterInAB = "no filter"; | ||
143 | mFilterOutAB = "no filter"; | ||
136 | } | 144 | } |
137 | void KSyncProfile::readConfig(KConfig *config ) | 145 | void KSyncProfile::readConfig(KConfig *config ) |
@@ -189,4 +197,10 @@ void KSyncProfile::readConfig(KConfig *config ) | |||
189 | mIsPiSync= config->readBoolEntry( "IsPiSync", mIsPiSync ); | 197 | mIsPiSync= config->readBoolEntry( "IsPiSync", mIsPiSync ); |
190 | mIsKapiFile = config->readBoolEntry( "IsKapiFile", mIsKapiFile ); | 198 | mIsKapiFile = config->readBoolEntry( "IsKapiFile", mIsKapiFile ); |
199 | |||
200 | mFilterInCal = config->readEntry( "FilterInCal", mFilterInCal ); | ||
201 | mFilterOutCal = config->readEntry( "FilterOutCal", mFilterOutCal ); | ||
202 | mFilterInAB = config->readEntry( "FilterInAB", mFilterInAB ); | ||
203 | mFilterOutAB = config->readEntry( "FilterOutAB", mFilterOutAB ); | ||
204 | |||
191 | } | 205 | } |
192 | else | 206 | else |
@@ -253,4 +267,9 @@ void KSyncProfile::writeConfig( KConfig * config ) | |||
253 | config->writeEntry( "IsPiSync", mIsPiSync ); | 267 | config->writeEntry( "IsPiSync", mIsPiSync ); |
254 | config->writeEntry( "IsKapiFile", mIsKapiFile ); | 268 | config->writeEntry( "IsKapiFile", mIsKapiFile ); |
269 | config->writeEntry( "FilterInCal", mFilterInCal ); | ||
270 | config->writeEntry( "FilterOutCal", mFilterOutCal ); | ||
271 | config->writeEntry( "FilterInAB", mFilterInAB ); | ||
272 | config->writeEntry( "FilterOutAB", mFilterOutAB ); | ||
273 | |||
255 | } | 274 | } |
256 | 275 | ||