diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /kmail/kmtransport.cpp | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kmail/kmtransport.cpp')
-rw-r--r-- | kmail/kmtransport.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/kmtransport.cpp b/kmail/kmtransport.cpp index c9efd8a31..e17fdaf0e 100644 --- a/kmail/kmtransport.cpp +++ b/kmail/kmtransport.cpp @@ -66,8 +66,8 @@ KMTransportInfo::~KMTransportInfo() void KMTransportInfo::readConfig(int id) { - KConfig *config = KMKernel::config(); - KConfigGroupSaver saver(config, "Transport " + TQString::number(id)); + TDEConfig *config = KMKernel::config(); + TDEConfigGroupSaver saver(config, "Transport " + TQString::number(id)); mId = config->readUnsignedNumEntry( "id", 0 ); type = config->readEntry("type", "smtp"); name = config->readEntry("name", i18n("Unnamed")); @@ -105,8 +105,8 @@ void KMTransportInfo::readConfig(int id) void KMTransportInfo::writeConfig(int id) { - KConfig *config = KMKernel::config(); - KConfigGroupSaver saver(config, "Transport " + TQString::number(id)); + TDEConfig *config = KMKernel::config(); + TDEConfigGroupSaver saver(config, "Transport " + TQString::number(id)); if (!mId) mId = TransportManager::createId(); config->writeEntry("id", mId); @@ -170,12 +170,12 @@ void KMTransportInfo::writeConfig(int id) int KMTransportInfo::findTransport(const TQString &name) { - KConfig *config = KMKernel::config(); - KConfigGroupSaver saver(config, "General"); + TDEConfig *config = KMKernel::config(); + TDEConfigGroupSaver saver(config, "General"); int numTransports = config->readNumEntry("transports", 0); for (int i = 1; i <= numTransports; i++) { - KConfigGroupSaver saver(config, "Transport " + TQString::number(i)); + TDEConfigGroupSaver saver(config, "Transport " + TQString::number(i)); if (config->readEntry("name") == name) return i; } return 0; @@ -185,12 +185,12 @@ int KMTransportInfo::findTransport(const TQString &name) TQStringList KMTransportInfo::availableTransports() { TQStringList result; - KConfig *config = KMKernel::config(); - KConfigGroupSaver saver(config, "General"); + TDEConfig *config = KMKernel::config(); + TDEConfigGroupSaver saver(config, "General"); int numTransports = config->readNumEntry("transports", 0); for (int i = 1; i <= numTransports; i++) { - KConfigGroupSaver saver(config, "Transport " + TQString::number(i)); + TDEConfigGroupSaver saver(config, "Transport " + TQString::number(i)); result.append(config->readEntry("name")); } return result; |