summaryrefslogtreecommitdiffstats
path: root/lib/kross/api/qtobject.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-11 21:42:08 +0900
committerMichele Calgaro <[email protected]>2023-07-13 09:04:02 +0900
commit462dc85dcb12aab8e19797dadf48799656708a54 (patch)
tree901511cb5d29b2a094b1149d0621add8cb15c0e9 /lib/kross/api/qtobject.cpp
parent75cc9de8f47db776021b5e8153c930d9af2108b6 (diff)
downloadkoffice-462dc85dcb12aab8e19797dadf48799656708a54.tar.gz
koffice-462dc85dcb12aab8e19797dadf48799656708a54.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 20e4a19b0d7cc800d57be50c56d69023adae4046)
Diffstat (limited to 'lib/kross/api/qtobject.cpp')
-rw-r--r--lib/kross/api/qtobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kross/api/qtobject.cpp b/lib/kross/api/qtobject.cpp
index 631c9943..8f0819aa 100644
--- a/lib/kross/api/qtobject.cpp
+++ b/lib/kross/api/qtobject.cpp
@@ -112,7 +112,7 @@ TQUObject* QtObject::toTQUObject(const TQString& signature, List::Ptr arguments)
// Fill parameters.
uint argcount = arguments ? arguments->count() : 0;
for(uint i = 0; i < paramcount; i++) {
- if(paramlist[i].find(TQSTRING_OBJECT_NAME_STRING) >= 0) {
+ if(paramlist[i].find("TQString") >= 0) {
const TQString s = (argcount > i) ? Variant::toString(arguments->item(i)) : TQString();
//krossdebug(TQString("EventSlot::toTQUObject s=%1").arg(s));
static_TQUType_TQString.set( &(uo[i + 1]), s );