summaryrefslogtreecommitdiffstats
path: root/krfb/srvloc/kserviceregistry.h
diff options
context:
space:
mode:
Diffstat (limited to 'krfb/srvloc/kserviceregistry.h')
-rw-r--r--krfb/srvloc/kserviceregistry.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/krfb/srvloc/kserviceregistry.h b/krfb/srvloc/kserviceregistry.h
index 8cd965e6..05e88780 100644
--- a/krfb/srvloc/kserviceregistry.h
+++ b/krfb/srvloc/kserviceregistry.h
@@ -78,7 +78,7 @@ class KServiceRegistryPrivate;
* <pre>
* 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;
* </pre>
@@ -91,10 +91,10 @@ class KServiceRegistry {
/**
* Creates a new service registration instance for the given
* language.
- * @param lang the language as two letter code, or TQString::null for the
+ * @param lang the language as two letter code, or TQString() for the
* system default
*/
- KServiceRegistry(const TQString &lang = TQString::null);
+ KServiceRegistry(const TQString &lang = TQString());
virtual ~KServiceRegistry();
/**
@@ -133,7 +133,7 @@ class KServiceRegistry {
* SA daemon (slpd) is running.
*/
bool registerService(const TQString &serviceURL,
- TQString attributes = TQString::null,
+ TQString attributes = TQString(),
unsigned short lifetime = 0);
/**