author | zautrix <zautrix> | 2004-09-08 10:12:21 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-08 10:12:21 (UTC) |
commit | cdff4506a9148c47406af86968da73c0dbfca0ba (patch) (side-by-side diff) | |
tree | 10cf9302bfd14d768005e7ac3192f936364bd77d | |
parent | 848c77f86b7105095b27a6034a0fefac8a7a0891 (diff) | |
download | kdepimpi-cdff4506a9148c47406af86968da73c0dbfca0ba.zip kdepimpi-cdff4506a9148c47406af86968da73c0dbfca0ba.tar.gz kdepimpi-cdff4506a9148c47406af86968da73c0dbfca0ba.tar.bz2 |
Changing sync profiles filename
-rw-r--r-- | korganizer/mainwindow.cpp | 6 | ||||
-rw-r--r-- | libkdepim/ksyncprefsdialog.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 7978b46..9e326a1 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -856,7 +856,7 @@ void MainWindow::fillSyncMenu() syncMenu->insertSeparator(); syncMenu->insertItem( i18n("Multiple sync"), 1 ); syncMenu->insertSeparator(); - KConfig config ( locateLocal( "config","syncprofilesrc" ) ); + KConfig config ( locateLocal( "config","ksyncprofilesrc" ) ); config.setGroup("General"); QStringList prof = config.readListEntry("SyncProfileNames"); KOPrefs::instance()->mLocalMachineName = config.readEntry("LocalMachineName","undefined"); @@ -899,7 +899,7 @@ int MainWindow::ringSync() int syncedProfiles = 0; int i; QTime timer; - KConfig config ( locateLocal( "config","syncprofilesrc" ) ); + KConfig config ( locateLocal( "config","ksyncprofilesrc" ) ); QStringList syncProfileNames = KOPrefs::instance()->mSyncProfileNames; KSyncProfile* temp = new KSyncProfile (); KOPrefs::instance()->mAskForPreferences = false; @@ -1003,7 +1003,7 @@ void MainWindow::slotSyncMenu( int action ) mCurrentSyncProfile = action - 1000 ; mView->setSyncDevice(KOPrefs::instance()->mSyncProfileNames[mCurrentSyncProfile] ); mView->setSyncName( KOPrefs::instance()->mLocalMachineName ); - KConfig config ( locateLocal( "config","syncprofilesrc" ) ); + KConfig config ( locateLocal( "config","ksyncprofilesrc" ) ); KSyncProfile* temp = new KSyncProfile (); temp->setName(KOPrefs::instance()->mSyncProfileNames[mCurrentSyncProfile]); temp->readConfig(&config); diff --git a/libkdepim/ksyncprefsdialog.cpp b/libkdepim/ksyncprefsdialog.cpp index 67a3f52..857ceac 100644 --- a/libkdepim/ksyncprefsdialog.cpp +++ b/libkdepim/ksyncprefsdialog.cpp @@ -542,7 +542,7 @@ QStringList KSyncPrefsDialog::getSyncProfileNames() void KSyncPrefsDialog::usrReadConfig() { //KConfig *config = KOGlobals::config(); - KConfig config ( locateLocal( "config","syncprofilesrc" ) ); + KConfig config ( locateLocal( "config","ksyncprofilesrc" ) ); config.setGroup("General"); mSyncProfileNames =config.readListEntry("SyncProfileNames"); mMyMachineName->setText(config.readEntry("LocalMachineName","undefined")); @@ -566,7 +566,7 @@ void KSyncPrefsDialog::usrWriteConfig() if ( currentSelection >= 0 ) profileChanged(currentSelection); //KConfig *config = KOGlobals::config(); - KConfig config ( locateLocal( "config","syncprofilesrc" ) ); + KConfig config ( locateLocal( "config","ksyncprofilesrc" ) ); KSyncProfile* prof = mSyncProfiles.first(); QStringList externalSyncProfileNames; externalSyncProfileNames.append("Sharp_DTM");; |