diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kio/misc/ktelnetservice.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/misc/ktelnetservice.cpp')
-rw-r--r-- | kio/misc/ktelnetservice.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kio/misc/ktelnetservice.cpp b/kio/misc/ktelnetservice.cpp index 41635b053..9c8238f74 100644 --- a/kio/misc/ktelnetservice.cpp +++ b/kio/misc/ktelnetservice.cpp @@ -51,10 +51,10 @@ int main(int argc, char **argv) KConfig *config = new KConfig("kdeglobals", true); config->setGroup("General"); - QString terminal = config->readPathEntry("TerminalApplication", "konsole"); + TQString terminal = config->readPathEntry("TerminalApplication", "konsole"); KURL url(args->arg(0)); - QStringList cmd; + TQStringList cmd; if (terminal == "konsole") cmd << "--noclose"; @@ -83,7 +83,7 @@ int main(int argc, char **argv) cmd << url.user(); } - QString host; + TQString host; if (!url.host().isEmpty()) host = url.host(); // telnet://host else if (!url.path().isEmpty()) @@ -99,9 +99,9 @@ int main(int argc, char **argv) if (url.port()){ if ( url.protocol() == "ssh" ) - cmd << "-p" << QString::number(url.port()); + cmd << "-p" << TQString::number(url.port()); else - cmd << QString::number(url.port()); + cmd << TQString::number(url.port()); } app.kdeinitExec(terminal, cmd); |