diff options
Diffstat (limited to 'lib/kross')
-rw-r--r-- | lib/kross/api/eventsignal.cpp | 2 | ||||
-rw-r--r-- | lib/kross/api/eventslot.cpp | 2 | ||||
-rw-r--r-- | lib/kross/api/qtobject.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/kross/api/eventsignal.cpp b/lib/kross/api/eventsignal.cpp index 8f4d2c50..2a711a0b 100644 --- a/lib/kross/api/eventsignal.cpp +++ b/lib/kross/api/eventsignal.cpp @@ -59,7 +59,7 @@ Object::Ptr EventSignal::call(const TQString& /*name*/, KSharedPtr<List> argumen throw new Exception(TQString("No such signal '%1'.").arg(n)); TQUObject* uo = QtObject::toTQUObject(n, arguments); - m_sender->qt_emit(signalid, uo); // emit the signal + m_sender->tqt_emit(signalid, uo); // emit the signal delete [] uo; return new Variant( TQVariant(true,0) ); diff --git a/lib/kross/api/eventslot.cpp b/lib/kross/api/eventslot.cpp index 3f6482db..bae29872 100644 --- a/lib/kross/api/eventslot.cpp +++ b/lib/kross/api/eventslot.cpp @@ -59,7 +59,7 @@ Object::Ptr EventSlot::call(const TQString& /*name*/, List::Ptr arguments) throw Exception::Ptr( new Exception(TQString("No such slot '%1'.").arg(n)) ); TQUObject* uo = QtObject::toTQUObject(n, arguments); - m_receiver->qt_invoke(slotid, uo); // invoke the slot + m_receiver->tqt_invoke(slotid, uo); // invoke the slot delete [] uo; return new Variant( TQVariant(true,0) ); diff --git a/lib/kross/api/qtobject.cpp b/lib/kross/api/qtobject.cpp index 5fc1a36a..1e34c715 100644 --- a/lib/kross/api/qtobject.cpp +++ b/lib/kross/api/qtobject.cpp @@ -178,7 +178,7 @@ Kross::Api::Object::Ptr QtObject::callSlot(Kross::Api::List::Ptr args) throw Exception::Ptr( new Exception(TQString("No such slot '%1'.").arg(name)) ); TQUObject* uo = QtObject::toTQUObject(name, args); - m_object->qt_invoke(slotid, uo); + m_object->tqt_invoke(slotid, uo); delete [] uo; return new Variant( TQVariant(true,0) ); @@ -204,7 +204,7 @@ Kross::Api::Object::Ptr QtObject::emitSignal(Kross::Api::List::Ptr args) int signalid = m_object->metaObject()->findSignal(name.latin1(), false); if(signalid < 0) throw Exception::Ptr( new Exception(TQString("No such signal '%1'.").arg(name)) ); - m_object->qt_invoke(signalid, 0); //TODO convert Kross::Api::List::Ptr => TQUObject* + m_object->tqt_invoke(signalid, 0); //TODO convert Kross::Api::List::Ptr => TQUObject* return 0; } |