diff options
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; |