From ef786e3a1a322e0584654503d288e3630744e998 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 11 Jul 2023 21:03:51 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro (cherry picked from commit 1e6b97e1b1d29b0a895643eb9ce7ffe08d6fed75) --- src/kvilib/ext/kvi_dcophelper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kvilib') diff --git a/src/kvilib/ext/kvi_dcophelper.cpp b/src/kvilib/ext/kvi_dcophelper.cpp index 7992d4a4..438db496 100644 --- a/src/kvilib/ext/kvi_dcophelper.cpp +++ b/src/kvilib/ext/kvi_dcophelper.cpp @@ -131,7 +131,7 @@ bool KviDCOPHelper::stringRetVoidDCOPCall(const KviTQCString &szObj,const KviTQC if(!g_pApp->dcopClient()->call(m_szAppId,szObj,szFunc,data,replyType,replyData)) return false; TQDataStream reply( replyData, IO_ReadOnly ); - if(replyType == TQSTRING_OBJECT_NAME_STRING) + if(replyType == "TQString") { reply >> szRet; return true; @@ -152,7 +152,7 @@ bool KviDCOPHelper::stringRetIntDCOPCall(const KviTQCString &szObj,const KviTQCS return false; TQDataStream reply( replyData, IO_ReadOnly ); - if(replyType == TQSTRING_OBJECT_NAME_STRING) + if(replyType == "TQString") { reply >> szRet; return true; -- cgit v1.2.1