From 83677e35509b4dafac63b76995652bdf3b49f209 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:34 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 808e453c56036211f57482ed847d54aca01bba68. --- krfb/srvloc/kserviceregistry.cpp | 2 +- krfb/srvloc/kserviceregistry.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'krfb/srvloc') diff --git a/krfb/srvloc/kserviceregistry.cpp b/krfb/srvloc/kserviceregistry.cpp index 1dd57881..eac3ac18 100644 --- a/krfb/srvloc/kserviceregistry.cpp +++ b/krfb/srvloc/kserviceregistry.cpp @@ -119,7 +119,7 @@ bool KServiceRegistry::registerService(const TQString &serviceURL, while (it != attributes.end()) { if (!s.isEmpty()) s += ","; - s += TQString("(%1=%2)").arg(it.key()).arg(it.data()); + s += TQString("(%1=%2)").tqarg(it.key()).tqarg(it.data()); it++; } return registerService(serviceURL, s, lifetime); diff --git a/krfb/srvloc/kserviceregistry.h b/krfb/srvloc/kserviceregistry.h index ad2c0b1a..05e88780 100644 --- a/krfb/srvloc/kserviceregistry.h +++ b/krfb/srvloc/kserviceregistry.h @@ -78,7 +78,7 @@ class KServiceRegistryPrivate; *
  *   KServiceRegistry ksr;
  *   KInetAddress kia = KInetAddress->getLocalAddress();
- *   ksr.registerService(TQString("service:remotedesktop.kde:vnc://%1:0").arg(kia->nodeName()),
+ *   ksr.registerService(TQString("service:remotedesktop.kde:vnc://%1:0").tqarg(kia->nodeName()),
  *                       "(type=shared)");
  *   delete kia;
  * 
-- cgit v1.2.1