author | zautrix <zautrix> | 2005-01-13 03:53:45 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-13 03:53:45 (UTC) |
commit | 7d00f1441b5e1270dcd447bfb7920dbd3a21503d (patch) (unidiff) | |
tree | 8eb3b053e8104914021eff6f39772024784fff64 /libkdepim/ksyncprofile.cpp | |
parent | 7a4a866cded40032766acb4fe8d02b6347b1d12e (diff) | |
download | kdepimpi-7d00f1441b5e1270dcd447bfb7920dbd3a21503d.zip kdepimpi-7d00f1441b5e1270dcd447bfb7920dbd3a21503d.tar.gz kdepimpi-7d00f1441b5e1270dcd447bfb7920dbd3a21503d.tar.bz2 |
sync dialog fixes
-rw-r--r-- | libkdepim/ksyncprofile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libkdepim/ksyncprofile.cpp b/libkdepim/ksyncprofile.cpp index 029b70b..9f404cb 100644 --- a/libkdepim/ksyncprofile.cpp +++ b/libkdepim/ksyncprofile.cpp | |||
@@ -69,8 +69,9 @@ KSyncProfile* KSyncProfile::clone() | |||
69 | myClone->setWriteBackExisting(mWriteBackExisting ); | 69 | myClone->setWriteBackExisting(mWriteBackExisting ); |
70 | myClone->setWriteBackFile( mWriteBackFile); | 70 | myClone->setWriteBackFile( mWriteBackFile); |
71 | myClone->setWriteBackFuture( mWriteBackFuture ); | 71 | myClone->setWriteBackFuture( mWriteBackFuture ); |
72 | myClone->setWriteBackFutureWeeks( mWriteBackFutureWeeks ); | 72 | myClone->setWriteBackFutureWeeks( mWriteBackFutureWeeks ); |
73 | myClone->setWriteBackPastWeeks( mWriteBackPastWeeks ); | ||
73 | myClone->setIncludeInRingSync( mIncludeInRingSync ); | 74 | myClone->setIncludeInRingSync( mIncludeInRingSync ); |
74 | myClone->setIncludeInRingSyncAB( mIncludeInRingSyncAB ); | 75 | myClone->setIncludeInRingSyncAB( mIncludeInRingSyncAB ); |
75 | myClone->setIncludeInRingSyncPWM( mIncludeInRingSyncPWM ); | 76 | myClone->setIncludeInRingSyncPWM( mIncludeInRingSyncPWM ); |
76 | myClone->setSyncPrefs( mSyncPrefs); | 77 | myClone->setSyncPrefs( mSyncPrefs); |
@@ -116,8 +117,9 @@ void KSyncProfile::setDefault() | |||
116 | mAskForPreferences = true; | 117 | mAskForPreferences = true; |
117 | mWriteBackExisting = false; | 118 | mWriteBackExisting = false; |
118 | mWriteBackFuture = false; | 119 | mWriteBackFuture = false; |
119 | mWriteBackFutureWeeks = 12; | 120 | mWriteBackFutureWeeks = 12; |
121 | mWriteBackPastWeeks = 2; | ||
120 | mWriteBackFile = true; | 122 | mWriteBackFile = true; |
121 | mIncludeInRingSync = false; | 123 | mIncludeInRingSync = false; |
122 | mIncludeInRingSyncAB = false; | 124 | mIncludeInRingSyncAB = false; |
123 | mIncludeInRingSyncPWM = false; | 125 | mIncludeInRingSyncPWM = false; |
@@ -180,8 +182,9 @@ void KSyncProfile::readConfig(KConfig *config ) | |||
180 | mWriteBackFile = config->readBoolEntry( "WriteBackFile",mWriteBackFile ); | 182 | mWriteBackFile = config->readBoolEntry( "WriteBackFile",mWriteBackFile ); |
181 | mWriteContactToSIM = config->readBoolEntry( "WriteContactToSIM",mWriteContactToSIM ); | 183 | mWriteContactToSIM = config->readBoolEntry( "WriteContactToSIM",mWriteContactToSIM ); |
182 | mSyncPrefs = config->readNumEntry( "SyncPrefs", mSyncPrefs ); | 184 | mSyncPrefs = config->readNumEntry( "SyncPrefs", mSyncPrefs ); |
183 | mWriteBackFutureWeeks = config->readNumEntry( "WriteBackFutureWeeks", mWriteBackFutureWeeks ); | 185 | mWriteBackFutureWeeks = config->readNumEntry( "WriteBackFutureWeeks", mWriteBackFutureWeeks ); |
186 | mWriteBackPastWeeks = config->readNumEntry( "WriteBackPastWeeks", mWriteBackPastWeeks ); | ||
184 | mIsLocalFileSync= config->readBoolEntry( "IsLocalFileSync", mIsLocalFileSync ); | 187 | mIsLocalFileSync= config->readBoolEntry( "IsLocalFileSync", mIsLocalFileSync ); |
185 | mIsPhoneSync= config->readBoolEntry( "IsPhoneSync", mIsPhoneSync ); | 188 | mIsPhoneSync= config->readBoolEntry( "IsPhoneSync", mIsPhoneSync ); |
186 | mIsPiSync= config->readBoolEntry( "IsPiSync", mIsPiSync ); | 189 | mIsPiSync= config->readBoolEntry( "IsPiSync", mIsPiSync ); |
187 | mIsKapiFile = config->readBoolEntry( "IsKapiFile", mIsKapiFile ); | 190 | mIsKapiFile = config->readBoolEntry( "IsKapiFile", mIsKapiFile ); |
@@ -243,8 +246,9 @@ void KSyncProfile::writeConfig( KConfig * config ) | |||
243 | config->writeEntry( "WriteBackFile",mWriteBackFile ); | 246 | config->writeEntry( "WriteBackFile",mWriteBackFile ); |
244 | config->writeEntry( "WriteContactToSIM",mWriteContactToSIM ); | 247 | config->writeEntry( "WriteContactToSIM",mWriteContactToSIM ); |
245 | config->writeEntry( "SyncPrefs", mSyncPrefs ); | 248 | config->writeEntry( "SyncPrefs", mSyncPrefs ); |
246 | config->writeEntry( "WriteBackFutureWeeks", mWriteBackFutureWeeks); | 249 | config->writeEntry( "WriteBackFutureWeeks", mWriteBackFutureWeeks); |
250 | config->writeEntry( "WriteBackPastWeeks", mWriteBackPastWeeks); | ||
247 | config->writeEntry( "IsLocalFileSync", mIsLocalFileSync ); | 251 | config->writeEntry( "IsLocalFileSync", mIsLocalFileSync ); |
248 | config->writeEntry( "IsPhoneSync", mIsPhoneSync ); | 252 | config->writeEntry( "IsPhoneSync", mIsPhoneSync ); |
249 | config->writeEntry( "IsPiSync", mIsPiSync ); | 253 | config->writeEntry( "IsPiSync", mIsPiSync ); |
250 | config->writeEntry( "IsKapiFile", mIsKapiFile ); | 254 | config->writeEntry( "IsKapiFile", mIsKapiFile ); |