author | ulf69 <ulf69> | 2004-10-01 00:05:54 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-10-01 00:05:54 (UTC) |
commit | c14cd0801a854a6f6cc6abef70510646be50a61c (patch) (unidiff) | |
tree | 90b4f29acb017e40ce5f700e2fb83674ad7e58b0 /libkdepim/ksyncprofile.cpp | |
parent | 3138ae138248637d901528ee5d6cfc894b0ed7c2 (diff) | |
download | kdepimpi-c14cd0801a854a6f6cc6abef70510646be50a61c.zip kdepimpi-c14cd0801a854a6f6cc6abef70510646be50a61c.tar.gz kdepimpi-c14cd0801a854a6f6cc6abef70510646be50a61c.tar.bz2 |
added profile settings for pwmanager
-rw-r--r-- | libkdepim/ksyncprofile.cpp | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/libkdepim/ksyncprofile.cpp b/libkdepim/ksyncprofile.cpp index c599208..a43ebe2 100644 --- a/libkdepim/ksyncprofile.cpp +++ b/libkdepim/ksyncprofile.cpp | |||
@@ -53,2 +53,6 @@ KSyncProfile* KSyncProfile::clone() | |||
53 | myClone->setRemoteFileNameAB( mRemoteFileNameAB ); | 53 | myClone->setRemoteFileNameAB( mRemoteFileNameAB ); |
54 | myClone->setPreSyncCommandPWM( mPreSyncCommandPWM ); | ||
55 | myClone->setPostSyncCommandPWM( mPostSyncCommandPWM ); | ||
56 | myClone->setLocalTempFilePWM( mLocalTempFilePWM); | ||
57 | myClone->setRemoteFileNamePWM( mRemoteFileNamePWM ); | ||
54 | myClone->setShowSummaryAfterSync( mShowSummaryAfterSync ); | 58 | myClone->setShowSummaryAfterSync( mShowSummaryAfterSync ); |
@@ -61,2 +65,3 @@ KSyncProfile* KSyncProfile::clone() | |||
61 | myClone->setIncludeInRingSyncAB( mIncludeInRingSyncAB ); | 65 | myClone->setIncludeInRingSyncAB( mIncludeInRingSyncAB ); |
66 | myClone->setIncludeInRingSyncPWM( mIncludeInRingSyncPWM ); | ||
62 | myClone->setSyncPrefs( mSyncPrefs); | 67 | myClone->setSyncPrefs( mSyncPrefs); |
@@ -80,3 +85,7 @@ void KSyncProfile::setDefault() | |||
80 | mLocalTempFileAB = "/tmp/std.vcf"; | 85 | mLocalTempFileAB = "/tmp/std.vcf"; |
81 | mRemoteFileNameAB = "/home/polo/kdepim/apps/kabc/localfile.vcf"; | 86 | mRemoteFileNamePWM = "/home/polo/kdepim/apps/kabc/localfile.vcf"; |
87 | mPreSyncCommandPWM = i18n("command for downloading remote file to local device"); | ||
88 | mPostSyncCommandPWM = i18n("command for uploading local temp file to remote device"); | ||
89 | mLocalTempFilePWM = "/tmp/passwords.pwm"; | ||
90 | mRemoteFileNamePWM = "/home/polo/kdepim/apps/pwmanager/localfile.pwm"; | ||
82 | mShowSummaryAfterSync = true; | 91 | mShowSummaryAfterSync = true; |
@@ -89,2 +98,3 @@ void KSyncProfile::setDefault() | |||
89 | mIncludeInRingSyncAB = false; | 98 | mIncludeInRingSyncAB = false; |
99 | mIncludeInRingSyncPWM = false; | ||
90 | mSyncPrefs = SYNC_PREF_ASK; | 100 | mSyncPrefs = SYNC_PREF_ASK; |
@@ -116,2 +126,7 @@ void KSyncProfile::readConfig(KConfig *config ) | |||
116 | 126 | ||
127 | mPreSyncCommandPWM = config->readEntry( "PreSyncCommandPWM",mPreSyncCommandPWM ); | ||
128 | mPostSyncCommandPWM = config->readEntry( "PostSyncCommandPWM", mPostSyncCommandPWM ); | ||
129 | mLocalTempFilePWM = config->readEntry( "LocalTempFilePWM", mLocalTempFilePWM ); | ||
130 | mRemoteFileNamePWM = config->readEntry( "RemoteFileNamePWM", mRemoteFileNamePWM ); | ||
131 | |||
117 | mPhoneDevice = config->readEntry( "PhoneDevice", mPhoneDevice ); | 132 | mPhoneDevice = config->readEntry( "PhoneDevice", mPhoneDevice ); |
@@ -122,2 +137,3 @@ void KSyncProfile::readConfig(KConfig *config ) | |||
122 | mIncludeInRingSyncAB = config->readBoolEntry( "IncludeInRingSyncAB",mIncludeInRingSyncAB ); | 137 | mIncludeInRingSyncAB = config->readBoolEntry( "IncludeInRingSyncAB",mIncludeInRingSyncAB ); |
138 | mIncludeInRingSyncPWM = config->readBoolEntry( "IncludeInRingSyncPWM",mIncludeInRingSyncPWM ); | ||
123 | mShowSummaryAfterSync = config->readBoolEntry( "ShowSummaryAfterSync", mShowSummaryAfterSync ); | 139 | mShowSummaryAfterSync = config->readBoolEntry( "ShowSummaryAfterSync", mShowSummaryAfterSync ); |
@@ -159,2 +175,7 @@ void KSyncProfile::writeConfig( KConfig * config ) | |||
159 | 175 | ||
176 | config->writeEntry( "PreSyncCommandPWM",mPreSyncCommandPWM ); | ||
177 | config->writeEntry( "PostSyncCommandPWM", mPostSyncCommandPWM ); | ||
178 | config->writeEntry( "LocalTempFilePWM", mLocalTempFilePWM ); | ||
179 | config->writeEntry( "RemoteFileNamePWM", mRemoteFileNamePWM ); | ||
180 | |||
160 | config->writeEntry( "PhoneDevice", mPhoneDevice ); | 181 | config->writeEntry( "PhoneDevice", mPhoneDevice ); |
@@ -165,2 +186,3 @@ void KSyncProfile::writeConfig( KConfig * config ) | |||
165 | config->writeEntry( "IncludeInRingSyncAB",mIncludeInRingSyncAB ); | 186 | config->writeEntry( "IncludeInRingSyncAB",mIncludeInRingSyncAB ); |
187 | config->writeEntry( "IncludeInRingSyncPWM",mIncludeInRingSyncPWM ); | ||
166 | config->writeEntry( "ShowSummaryAfterSync", mShowSummaryAfterSync ); | 188 | config->writeEntry( "ShowSummaryAfterSync", mShowSummaryAfterSync ); |