diff options
Diffstat (limited to 'krdc/krdc.cpp')
-rw-r--r-- | krdc/krdc.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/krdc/krdc.cpp b/krdc/krdc.cpp index 2ace992f..68c2d333 100644 --- a/krdc/krdc.cpp +++ b/krdc/krdc.cpp @@ -161,7 +161,7 @@ bool KRDC::start() } } - setCaption(i18n("%1 - Remote Desktop Connection").tqarg(serverHost)); + setCaption(i18n("%1 - Remote Desktop Connection").arg(serverHost)); m_scrollView = new TQScrollView2(this, "remote scrollview"); m_scrollView->setFrameStyle(TQFrame::NoFrame); @@ -340,15 +340,15 @@ bool KRDC::parseHost(TQString &str, Protocol &prot, TQString &serverHost, int &s if (url.port()) { if (url.hasUser()) - str = TQString("%1@%2:%3").tqarg(userName).tqarg(serverHost).tqarg(url.port()); + str = TQString("%1@%2:%3").arg(userName).arg(serverHost).arg(url.port()); else - str = TQString("%1:%2").tqarg(serverHost).tqarg(url.port()); + str = TQString("%1:%2").arg(serverHost).arg(url.port()); } else { if (url.hasUser()) - str = TQString("%1@%2").tqarg(userName).tqarg(serverHost); + str = TQString("%1@%2").arg(userName).arg(serverHost); else - str = TQString("%1").tqarg(serverHost); + str = TQString("%1").arg(serverHost); } return true; } |