-rw-r--r-- | libkdepim/ksyncprofile.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libkdepim/ksyncprofile.cpp b/libkdepim/ksyncprofile.cpp index f34c309..425285e 100644 --- a/libkdepim/ksyncprofile.cpp +++ b/libkdepim/ksyncprofile.cpp | |||
@@ -63,2 +63,3 @@ KSyncProfile* KSyncProfile::clone() | |||
63 | myClone->setIsLocalFileSync( mIsLocalFileSync ); | 63 | myClone->setIsLocalFileSync( mIsLocalFileSync ); |
64 | myClone->setIsPhoneSync( mIsPhoneSync ); | ||
64 | myClone->setName( "noName" ); | 65 | myClone->setName( "noName" ); |
@@ -89,2 +90,6 @@ void KSyncProfile::setDefault() | |||
89 | mIsLocalFileSync = true; | 90 | mIsLocalFileSync = true; |
91 | mIsPhoneSync = false; | ||
92 | mPhoneDevice = "/dev/ircomm"; | ||
93 | mPhoneConnection = "irda"; | ||
94 | mPhoneModel = "6310i"; | ||
90 | 95 | ||
@@ -106,2 +111,7 @@ void KSyncProfile::readConfig(KConfig *config ) | |||
106 | 111 | ||
112 | |||
113 | mPhoneDevice = config->readEntry( prefix+ "PhoneDevice", mPhoneDevice ); | ||
114 | mPhoneConnection = config->readEntry( prefix+ "PhoneConnection", mPhoneConnection ); | ||
115 | mPhoneModel = config->readEntry( prefix+ "PhoneModel", mPhoneModel ); | ||
116 | |||
107 | mIncludeInRingSync = config->readBoolEntry( prefix+ "IncludeInRingSync",mIncludeInRingSync ); | 117 | mIncludeInRingSync = config->readBoolEntry( prefix+ "IncludeInRingSync",mIncludeInRingSync ); |
@@ -115,2 +125,3 @@ void KSyncProfile::readConfig(KConfig *config ) | |||
115 | mIsLocalFileSync= config->readBoolEntry( prefix+ "IsLocalFileSync", mIsLocalFileSync ); | 125 | mIsLocalFileSync= config->readBoolEntry( prefix+ "IsLocalFileSync", mIsLocalFileSync ); |
126 | mIsPhoneSync= config->readBoolEntry( prefix+ "IsPhoneSync", mIsPhoneSync ); | ||
116 | } | 127 | } |
@@ -130,2 +141,7 @@ void KSyncProfile::writeConfig( KConfig * config ) | |||
130 | config->writeEntry( prefix+ "RemoteFileNameAB", mRemoteFileNameAB ); | 141 | config->writeEntry( prefix+ "RemoteFileNameAB", mRemoteFileNameAB ); |
142 | |||
143 | config->writeEntry( prefix+ "PhoneDevice", mPhoneDevice ); | ||
144 | config->writeEntry( prefix+ "PhoneConnection", mPhoneConnection ); | ||
145 | config->writeEntry( prefix+ "PhoneModel", mPhoneModel ); | ||
146 | |||
131 | config->writeEntry( prefix+ "IncludeInRingSync",mIncludeInRingSync ); | 147 | config->writeEntry( prefix+ "IncludeInRingSync",mIncludeInRingSync ); |
@@ -139,2 +155,3 @@ void KSyncProfile::writeConfig( KConfig * config ) | |||
139 | config->writeEntry( prefix+ "IsLocalFileSync", mIsLocalFileSync ); | 155 | config->writeEntry( prefix+ "IsLocalFileSync", mIsLocalFileSync ); |
156 | config->writeEntry( prefix+ "IsPhoneSync", mIsPhoneSync ); | ||
140 | } | 157 | } |