summaryrefslogtreecommitdiffstats
path: root/krdc/smartptr.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /krdc/smartptr.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krdc/smartptr.h')
-rw-r--r--krdc/smartptr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/krdc/smartptr.h b/krdc/smartptr.h
index d80f258e..49fa25c2 100644
--- a/krdc/smartptr.h
+++ b/krdc/smartptr.h
@@ -16,7 +16,7 @@
#ifndef SMARTPTR_H
#define SMARTPTR_H
-#include <qstring.h>
+#include <tqstring.h>
class WeakPtr;
@@ -416,7 +416,7 @@ public:
* Returns a string representation of the pointer.
* @return a string representation
*/
- QString toString() const {
+ TQString toString() const {
int objrcount = 1;
int rcrcount = 0;
@@ -424,7 +424,7 @@ public:
objrcount = rc->refsToObject;
rcrcount = rc->refsToThis;
}
- return QString("SmartPtr: ptr=%1, refcounts=%2, ptrnum=%3")
+ return TQString("SmartPtr: ptr=%1, refcounts=%2, ptrnum=%3")
.arg((int)ptr).arg(objrcount).arg(rcrcount);
}