summaryrefslogtreecommitdiffstats
path: root/src/kernel/qobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qobject.cpp')
-rw-r--r--src/kernel/qobject.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/kernel/qobject.cpp b/src/kernel/qobject.cpp
index e958f636e..61ed4e7e7 100644
--- a/src/kernel/qobject.cpp
+++ b/src/kernel/qobject.cpp
@@ -246,14 +246,14 @@ static void removeObjFromList( TQObjectList *objList, const TQObject *obj,
Returns 0 if there is no such child.
\code
- TQListBox *c = (TQListBox *) qt_find_obj_child( myWidget, "TQListBox",
+ TQListBox *c = (TQListBox *) tqt_find_obj_child( myWidget, "TQListBox",
"my list box" );
if ( c )
c->insertItem( "another string" );
\endcode
*/
-void *qt_find_obj_child( TQObject *parent, const char *type, const char *name )
+void *tqt_find_obj_child( TQObject *parent, const char *type, const char *name )
{
const TQObjectList *list = parent->children();
if ( list ) {
@@ -303,7 +303,7 @@ static void qt_spy_signal( TQObject* sender, int signal, TQUObject* o )
TQObject* old_sender = qt_spy_signal_sender;
qt_spy_signal_sender = sender;
- tqt_preliminary_signal_spy->qt_invoke( slot, o );
+ tqt_preliminary_signal_spy->tqt_invoke( slot, o );
qt_spy_signal_sender = old_sender;
break;
}
@@ -616,7 +616,7 @@ bool TQObject::inherits( const char *clname ) const
\sa inherits()
*/
-void *qt_inheritedBy( TQMetaObject *superClass, const TQObject *object )
+void *tqt_inheritedBy( TQMetaObject *superClass, const TQObject *object )
{
if (!object)
return 0;
@@ -2378,9 +2378,9 @@ void TQObject::activate_signal( TQConnectionList *clist, TQUObject *o )
sol->currentSender = this;
}
if ( c->memberType() == TQSIGNAL_CODE )
- object->qt_emit( c->member(), o );
+ object->tqt_emit( c->member(), o );
else
- object->qt_invoke( c->member(), o );
+ object->tqt_invoke( c->member(), o );
if ( sol ) {
sol->currentSender = oldSender;
if ( sol->deref() )
@@ -2402,9 +2402,9 @@ void TQObject::activate_signal( TQConnectionList *clist, TQUObject *o )
sol->currentSender = this;
}
if ( c->memberType() == TQSIGNAL_CODE )
- object->qt_emit( c->member(), o );
+ object->tqt_emit( c->member(), o );
else
- object->qt_invoke( c->member(), o );
+ object->tqt_invoke( c->member(), o );
if (sol ) {
sol->currentSender = oldSender;
if ( sol->deref() )
@@ -2631,7 +2631,7 @@ bool TQObject::setProperty( const char *name, const TQVariant& value )
} else if ( v.type() != TQVariant::Int && v.type() != TQVariant::UInt ) {
return FALSE;
}
- return qt_property( id, 0, &v );
+ return tqt_property( id, 0, &v );
}
TQVariant::Type type = (TQVariant::Type)(p->flags >> 24);
@@ -2639,7 +2639,7 @@ bool TQObject::setProperty( const char *name, const TQVariant& value )
type = TQVariant::nameToType( p->type() );
if ( type != TQVariant::Invalid && !v.canCast( type ) )
return FALSE;
- return qt_property( id, 0, &v );
+ return tqt_property( id, 0, &v );
}
/*!
@@ -2666,8 +2666,8 @@ TQVariant TQObject::property( const char *name ) const
className(), name );
return v;
}
- TQObject* that = (TQObject*) this; // moc ensures constness for the qt_property call
- that->qt_property( id, 1, &v );
+ TQObject* that = (TQObject*) this; // moc ensures constness for the tqt_property call
+ that->tqt_property( id, 1, &v );
return v;
}