summaryrefslogtreecommitdiffstats
path: root/kpf/src/Defaults.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpf/src/Defaults.cpp')
-rw-r--r--kpf/src/Defaults.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kpf/src/Defaults.cpp b/kpf/src/Defaults.cpp
index 691ca0f2..07e42c39 100644
--- a/kpf/src/Defaults.cpp
+++ b/kpf/src/Defaults.cpp
@@ -34,7 +34,7 @@ namespace KPF
const bool DefaultFollowSymlinks = false;
const bool DefaultCustomErrors = false;
const bool DefaultPaused = false;
- const QString& DefaultServername = QString::null;
+ const TQString& DefaultServername = TQString::null;
static const char Name[] = "kpfappletrc";
static const char KeyServerRootList[] = "ServerRootList";
@@ -47,48 +47,48 @@ namespace KPF
static const char KeyPaused[] = "Paused";
static const char KeyServerName[] = "ServerName";
- QString name()
+ TQString name()
{
- return QString::fromUtf8(Name);
+ return TQString::fromUtf8(Name);
}
- QString key(Option o)
+ TQString key(Option o)
{
switch (o)
{
case ServerRootList:
- return QString::fromUtf8(KeyServerRootList);
+ return TQString::fromUtf8(KeyServerRootList);
case GroupPrefix:
- return QString::fromUtf8(KeyGroupPrefix);
+ return TQString::fromUtf8(KeyGroupPrefix);
case ListenPort:
- return QString::fromUtf8(KeyListenPort);
+ return TQString::fromUtf8(KeyListenPort);
case BandwidthLimit:
- return QString::fromUtf8(KeyBandwidthLimit);
+ return TQString::fromUtf8(KeyBandwidthLimit);
case ConnectionLimit:
- return QString::fromUtf8(KeyConnectionLimit);
+ return TQString::fromUtf8(KeyConnectionLimit);
case FollowSymlinks:
- return QString::fromUtf8(KeyFollowSymlinks);
+ return TQString::fromUtf8(KeyFollowSymlinks);
case CustomErrors:
- return QString::fromUtf8(KeyCustomErrors);
+ return TQString::fromUtf8(KeyCustomErrors);
case Paused:
- return QString::fromUtf8(KeyPaused);
+ return TQString::fromUtf8(KeyPaused);
case ServerName:
- return QString::fromUtf8(KeyServerName);
+ return TQString::fromUtf8(KeyServerName);
/* default intentionally left out to have the compiler generate
* warnings in case we add values to the enumeration but forget
* to extend this switch.
*/
}
- return QString::null;
+ return TQString::null;
}
} // End namespace Config