summaryrefslogtreecommitdiffstats
path: root/kmail/kmtransport.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /kmail/kmtransport.cpp
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-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.cpp20
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;