diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:14:31 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:14:31 -0600 |
commit | 145d30f0b8cbacc3599379e8717299734f3bb534 (patch) | |
tree | 3713677dce079619063612b12788282fd32e53af /src/configdialog.cpp | |
parent | 5b6d393e0a2c88cce8f433607c091ae883ef54f9 (diff) | |
download | tellico-145d30f0b8cbacc3599379e8717299734f3bb534.tar.gz tellico-145d30f0b8cbacc3599379e8717299734f3bb534.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/configdialog.cpp')
-rw-r--r-- | src/configdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/configdialog.cpp b/src/configdialog.cpp index c5bdfac..a9c6478 100644 --- a/src/configdialog.cpp +++ b/src/configdialog.cpp @@ -696,7 +696,7 @@ void ConfigDialog::saveConfiguration() { } m_removedConfigWidgets.clear(); - KConfig* masterConfig = TDEGlobal::config(); + TDEConfig* masterConfig = TDEGlobal::config(); bool reloadFetchers = false; int count = 0; // start group numbering at 0 @@ -710,7 +710,7 @@ void ConfigDialog::saveConfiguration() { TQString group = TQString::fromLatin1("Data Source %1").arg(count); // in case we later change the order, clear the group now masterConfig->deleteGroup(group); - KConfigGroup configGroup(masterConfig, group); + TDEConfigGroup configGroup(masterConfig, group); configGroup.writeEntry("Name", item->text(0)); configGroup.writeEntry("Type", item->fetchType()); configGroup.writeEntry("UpdateOverwrite", item->updateOverwrite()); @@ -721,7 +721,7 @@ void ConfigDialog::saveConfiguration() { reloadFetchers = true; } // now update total number of sources - KConfigGroup sourceGroup(masterConfig, "Data Sources"); + TDEConfigGroup sourceGroup(masterConfig, "Data Sources"); sourceGroup.writeEntry("Sources Count", count); // and purge old config groups TQString group = TQString::fromLatin1("Data Source %1").arg(count); @@ -908,7 +908,7 @@ void ConfigDialog::slotNewStuffClicked() { continue; } - KConfig spec(info.specFile, false, false); + TDEConfig spec(info.specFile, false, false); cw->readConfig(&spec); cw->slotSetModified(); cw->setAccepted(true); |