diff options
author | Michele Calgaro <[email protected]> | 2023-07-12 11:09:49 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-13 10:04:24 +0900 |
commit | 707310036113d2d0ae9da1cc7f85d0e642bf9686 (patch) | |
tree | afa9b616af366f63e0418df74b2287299d8572a3 /dcop/testdcop.cpp | |
parent | 08eacf589a6ee0358c49f177fca34a29e0515164 (diff) | |
download | tdelibs-707310036113d2d0ae9da1cc7f85d0e642bf9686.tar.gz tdelibs-707310036113d2d0ae9da1cc7f85d0e642bf9686.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 36c049e135b0cec7cf97b41888860186813df5f0)
Diffstat (limited to 'dcop/testdcop.cpp')
-rw-r--r-- | dcop/testdcop.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dcop/testdcop.cpp b/dcop/testdcop.cpp index 1e70171d2..1a18eaff3 100644 --- a/dcop/testdcop.cpp +++ b/dcop/testdcop.cpp @@ -57,7 +57,7 @@ bool MyDCOPObject::process(const TQCString &fun, const TQByteArray &data, printf("Rect x = %d, y = %d, w = %d, h = %d\n", arg1.x(), arg1.y(), arg1.width(), arg1.height()); - replyType = TQRECT_OBJECT_NAME_STRING; + replyType = "TQRect"; TQDataStream reply( replyData, IO_WriteOnly ); TQRect r(10,20,100,200); reply << r; @@ -74,7 +74,7 @@ bool MyDCOPObject::process(const TQCString &fun, const TQByteArray &data, tqDebug("countDown() countDownAction = %p", countDownAction); if (countDownAction2) { - replyType = TQSTRING_OBJECT_NAME_STRING; + replyType = "TQString"; TQDataStream reply( replyData, IO_WriteOnly ); reply << TQString("Hey"); return true; @@ -104,7 +104,7 @@ void MyDCOPObject::slotTimeout() countDownCount--; if (countDownCount == 0) { - TQCString replyType = TQSTRING_OBJECT_NAME_STRING; + TQCString replyType = "TQString"; TQByteArray replyData; TQDataStream reply( replyData, IO_WriteOnly ); reply << TQString("Hello World"); @@ -123,7 +123,7 @@ void MyDCOPObject::slotTimeout2() countDownCount2--; if (countDownCount2 == 0) { - TQCString replyType = TQSTRING_OBJECT_NAME_STRING; + TQCString replyType = "TQString"; TQByteArray replyData; TQDataStream reply( replyData, IO_WriteOnly ); reply << TQString("Hello World"); @@ -139,7 +139,7 @@ void MyDCOPObject::slotTimeout2() QCStringList MyDCOPObject::functions() { QCStringList result = DCOPObject::functions(); - result << TQRECT_OBJECT_NAME_STRING " canLaunchRockets(" TQRECT_OBJECT_NAME_STRING ")"; + result << "TQRect canLaunchRockets(TQRect)"; return result; } |