summaryrefslogtreecommitdiffstats
path: root/lib/kross/api/eventslot.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-04 10:30:32 +0900
committerMichele Calgaro <[email protected]>2024-01-04 12:36:03 +0900
commitc0332621bc998c9786f4841e86a62b7711fe4abf (patch)
tree38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /lib/kross/api/eventslot.cpp
parent6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff)
downloadkoffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz
koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'lib/kross/api/eventslot.cpp')
-rw-r--r--lib/kross/api/eventslot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kross/api/eventslot.cpp b/lib/kross/api/eventslot.cpp
index cffe5ae8..5e655cdb 100644
--- a/lib/kross/api/eventslot.cpp
+++ b/lib/kross/api/eventslot.cpp
@@ -51,7 +51,7 @@ Object::Ptr EventSlot::call(const TQString& /*name*/, List::Ptr arguments)
TQString n = m_slot; //TODO name; //Variant::toString(args->item(0));
- if(n.startsWith("1")) // Remove prefix of SLOT-macros
+ if(n.startsWith("1")) // Remove prefix of TQ_SLOT-macros
n.remove(0,1);
int slotid = m_receiver->metaObject()->findSlot(n.latin1(), false);
@@ -98,7 +98,7 @@ TQCString EventSlot::getSlot(const TQCString& signal)
krossdebug( TQString("signal=%1 slot=%2 slotid=%3 params=%4 mdname=%5")
.arg(signal).arg(slot).arg(slotid).arg(params).arg(md->name) );
- return TQCString("1" + slot); // Emulate the TQT_SLOT(...) macro by adding as first char a "1".
+ return TQCString("1" + slot); // Emulate the TQ_SLOT(...) macro by adding as first char a "1".
}
bool EventSlot::connect(EventManager* eventmanager, TQObject* senderobj, const TQCString& signal, TQString function, const TQCString& slot)