diff options
Diffstat (limited to 'lib/kross/api/eventslot.cpp')
-rw-r--r-- | lib/kross/api/eventslot.cpp | 4 |
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) |