author | zautrix <zautrix> | 2005-11-25 18:35:16 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-11-25 18:35:16 (UTC) |
commit | 231e6f8215bbc4f7e301965f8f3c650e44586ec9 (patch) (unidiff) | |
tree | 4c221ec7ac9909b5f0d192c68558739b4dcc1f48 /libkdepim/ksyncprofile.cpp | |
parent | 279e183c0325cd9565605f60af0215bb9bfdc825 (diff) | |
download | kdepimpi-231e6f8215bbc4f7e301965f8f3c650e44586ec9.zip kdepimpi-231e6f8215bbc4f7e301965f8f3c650e44586ec9.tar.gz kdepimpi-231e6f8215bbc4f7e301965f8f3c650e44586ec9.tar.bz2 |
sync
-rw-r--r-- | libkdepim/ksyncprofile.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libkdepim/ksyncprofile.cpp b/libkdepim/ksyncprofile.cpp index d6620c8..b0d3efc 100644 --- a/libkdepim/ksyncprofile.cpp +++ b/libkdepim/ksyncprofile.cpp | |||
@@ -121,48 +121,50 @@ void KSyncProfile::setDefault() | |||
121 | mAskForPreferences = true; | 121 | mAskForPreferences = true; |
122 | mWriteBackExisting = false; | 122 | mWriteBackExisting = false; |
123 | mWriteBackFuture = false; | 123 | mWriteBackFuture = false; |
124 | mWriteBackFutureWeeks = 12; | 124 | mWriteBackFutureWeeks = 12; |
125 | mWriteBackPastWeeks = 2; | 125 | mWriteBackPastWeeks = 2; |
126 | mWriteBackFile = true; | 126 | mWriteBackFile = true; |
127 | mIncludeInRingSync = false; | 127 | mIncludeInRingSync = false; |
128 | mIncludeInRingSyncAB = false; | 128 | mIncludeInRingSyncAB = false; |
129 | mIncludeInRingSyncPWM = false; | 129 | mIncludeInRingSyncPWM = false; |
130 | mSyncPrefs = SYNC_PREF_ASK; | 130 | mSyncPrefs = SYNC_PREF_ASK; |
131 | mIsLocalFileSync = true; | 131 | mIsLocalFileSync = true; |
132 | mName = "noName"; | 132 | mName = "noName"; |
133 | mIsPhoneSync = false; | 133 | mIsPhoneSync = false; |
134 | mIsPiSync = false; | 134 | mIsPiSync = false; |
135 | mIsPiSyncSpec = false; | 135 | mIsPiSyncSpec = false; |
136 | mIsKapiFile = false; | 136 | mIsKapiFile = false; |
137 | mWriteContactToSIM = false; | 137 | mWriteContactToSIM = false; |
138 | mPhoneDevice = "/dev/ircomm"; | 138 | mPhoneDevice = "/dev/ircomm"; |
139 | mPhoneConnection = "irda"; | 139 | mPhoneConnection = "irda"; |
140 | mPhoneModel = "6310i"; | 140 | mPhoneModel = "6310i"; |
141 | mFilterInCal = "no filter"; | 141 | mFilterInCal = "no filter"; |
142 | mFilterOutCal = "no filter"; | 142 | mFilterOutCal = "no filter"; |
143 | mFilterInAB = "no filter"; | 143 | mFilterInAB = "no filter"; |
144 | mFilterOutAB = "no filter"; | 144 | mFilterOutAB = "no filter"; |
145 | mResSpecKopi = ""; | ||
146 | mResSpecKapi = ""; | ||
145 | } | 147 | } |
146 | void KSyncProfile::readConfig(KConfig *config ) | 148 | void KSyncProfile::readConfig(KConfig *config ) |
147 | { | 149 | { |
148 | if (config) | 150 | if (config) |
149 | { | 151 | { |
150 | 152 | ||
151 | config->setGroup( mName ); | 153 | config->setGroup( mName ); |
152 | 154 | ||
153 | mName = config->readEntry( "Name", mName ); | 155 | mName = config->readEntry( "Name", mName ); |
154 | 156 | ||
155 | mRemotePw = config->readEntry( "RemotePw",mRemotePw ); | 157 | mRemotePw = config->readEntry( "RemotePw",mRemotePw ); |
156 | mRemoteIP = config->readEntry( "RemoteIP",mRemoteIP ); | 158 | mRemoteIP = config->readEntry( "RemoteIP",mRemoteIP ); |
157 | mRemotePort = config->readEntry( "RemotePort", mRemotePort ); | 159 | mRemotePort = config->readEntry( "RemotePort", mRemotePort ); |
158 | mRemotePwAB = config->readEntry( "RemotePwAB", mRemotePwAB ); | 160 | mRemotePwAB = config->readEntry( "RemotePwAB", mRemotePwAB ); |
159 | mRemoteIPAB = config->readEntry( "RemoteIPAB", mRemoteIPAB ); | 161 | mRemoteIPAB = config->readEntry( "RemoteIPAB", mRemoteIPAB ); |
160 | mRemotePortAB = config->readEntry( "RemotePortAB", mRemotePortAB ); | 162 | mRemotePortAB = config->readEntry( "RemotePortAB", mRemotePortAB ); |
161 | mRemotePwPWM = config->readEntry( "RemotePwPWM", mRemotePwPWM ); | 163 | mRemotePwPWM = config->readEntry( "RemotePwPWM", mRemotePwPWM ); |
162 | mRemoteIPPWM = config->readEntry( "RemoteIPPWM", mRemoteIPPWM ); | 164 | mRemoteIPPWM = config->readEntry( "RemoteIPPWM", mRemoteIPPWM ); |
163 | mRemotePortPWM = config->readEntry( "RemotePortPWM", mRemotePortPWM ); | 165 | mRemotePortPWM = config->readEntry( "RemotePortPWM", mRemotePortPWM ); |
164 | 166 | ||
165 | mPreSyncCommand = config->readEntry( "PreSyncCommand",mPreSyncCommand ); | 167 | mPreSyncCommand = config->readEntry( "PreSyncCommand",mPreSyncCommand ); |
166 | mPostSyncCommand = config->readEntry( "PostSyncCommand", mPostSyncCommand ); | 168 | mPostSyncCommand = config->readEntry( "PostSyncCommand", mPostSyncCommand ); |
167 | mLocalTempFile = config->readEntry( "LocalTempFile", mLocalTempFile ); | 169 | mLocalTempFile = config->readEntry( "LocalTempFile", mLocalTempFile ); |
168 | mRemoteFileName = config->readEntry( "RemoteFileName", mRemoteFileName ); | 170 | mRemoteFileName = config->readEntry( "RemoteFileName", mRemoteFileName ); |