summaryrefslogtreecommitdiffstats
path: root/lib/kross/api
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross/api')
-rw-r--r--lib/kross/api/eventsignal.cpp2
-rw-r--r--lib/kross/api/eventslot.cpp2
-rw-r--r--lib/kross/api/qtobject.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/kross/api/eventsignal.cpp b/lib/kross/api/eventsignal.cpp
index c462f6cd..9e07eed1 100644
--- a/lib/kross/api/eventsignal.cpp
+++ b/lib/kross/api/eventsignal.cpp
@@ -62,5 +62,5 @@ Object::Ptr EventSignal::call(const TQString& /*name*/, TDESharedPtr<List> argum
m_sender->tqt_emit(signalid, uo); // emit the signal
delete [] uo;
- return new Variant( TQVariant(true,0) );
+ return new Variant( TQVariant(true) );
}
diff --git a/lib/kross/api/eventslot.cpp b/lib/kross/api/eventslot.cpp
index bae29872..cffe5ae8 100644
--- a/lib/kross/api/eventslot.cpp
+++ b/lib/kross/api/eventslot.cpp
@@ -62,7 +62,7 @@ Object::Ptr EventSlot::call(const TQString& /*name*/, List::Ptr arguments)
m_receiver->tqt_invoke(slotid, uo); // invoke the slot
delete [] uo;
- return new Variant( TQVariant(true,0) );
+ return new Variant( TQVariant(true) );
}
/*
diff --git a/lib/kross/api/qtobject.cpp b/lib/kross/api/qtobject.cpp
index 1e34c715..631c9943 100644
--- a/lib/kross/api/qtobject.cpp
+++ b/lib/kross/api/qtobject.cpp
@@ -181,7 +181,7 @@ Kross::Api::Object::Ptr QtObject::callSlot(Kross::Api::List::Ptr args)
m_object->tqt_invoke(slotid, uo);
delete [] uo;
- return new Variant( TQVariant(true,0) );
+ return new Variant( TQVariant(true) );
}
Kross::Api::Object::Ptr QtObject::signalNames(Kross::Api::List::Ptr)