diff options
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqmetaobject.cpp')
-rw-r--r-- | tqtinterface/qt4/src/kernel/tqmetaobject.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqmetaobject.cpp b/tqtinterface/qt4/src/kernel/tqmetaobject.cpp index 09d8439..6b2b17f 100644 --- a/tqtinterface/qt4/src/kernel/tqmetaobject.cpp +++ b/tqtinterface/qt4/src/kernel/tqmetaobject.cpp @@ -406,7 +406,7 @@ const TQMetaData* TQMetaObject::signal( int index, bool super ) const [FIXME]: Superclass handling is badly broken */ -int TQMetaObject::tqfindSlot( const char* n, bool super ) const +int TQMetaObject::findSlot( const char* n, bool super ) const { // TQStrList l( FALSE ); // int m = methodCount(); @@ -420,7 +420,7 @@ int TQMetaObject::tqfindSlot( const char* n, bool super ) const // } // return -1; - if (super) printf("[WARNING] In TQMetaObject::tqfindSlot(), superclasses are not being searched for the slot\n\r"); + if (super) printf("[WARNING] In TQMetaObject::findSlot(), superclasses are not being searched for the slot\n\r"); return indexOfSlot(normalizedSignature(n)); } @@ -431,7 +431,7 @@ int TQMetaObject::tqfindSlot( const char* n, bool super ) const [FIXME]: Superclass handling is badly broken */ -int TQMetaObject::tqfindSignal( const char* n, bool super ) const +int TQMetaObject::findSignal( const char* n, bool super ) const { // TQStrList l( FALSE ); // int m = methodCount(); @@ -445,7 +445,7 @@ int TQMetaObject::tqfindSignal( const char* n, bool super ) const // } // return -1; - if (super) printf("[WARNING] In TQMetaObject::tqfindSignal(), superclasses are not being searched for the signal\n\r"); + if (super) printf("[WARNING] In TQMetaObject::findSignal(), superclasses are not being searched for the signal\n\r"); return indexOfSignal(normalizedSignature(n)); } @@ -498,7 +498,7 @@ const TQMetaProperty* TQMetaObject::property( int index, bool super ) const return tqsuperClass()->property( index, super ); } -int TQMetaObject::tqfindProperty( const char *name, bool super ) const { +int TQMetaObject::findProperty( const char *name, bool super ) const { TQ_UNUSED(name); return indexOfProperty(name); } @@ -621,7 +621,7 @@ const TQMetaEnum* TQMetaObject::enumerator( const char* name, bool super ) const /*! \class TQMetaObject tqmetaobject.h - \brief The TQMetaObject class tqcontains meta information about TQt objects. + \brief The TQMetaObject class contains meta information about TQt objects. \ingroup objectmodel @@ -632,7 +632,7 @@ const TQMetaEnum* TQMetaObject::enumerator( const char* name, bool super ) const This class is not normally required for application programming. But if you write meta applications, such as scripting engines or - GUI builders, you might tqfind these functions useful: + GUI builders, you might find these functions useful: \list \i className() to get the name of a class. \i superClassName() to get the name of the superclass. @@ -952,17 +952,17 @@ const TQMetaData* TQMetaObject::signal( int index, bool super ) const If \a super is TRUE, inherited Q_SIGNALS are included. */ -int TQMetaObject::tqfindSignal( const char* n, bool super ) const +int TQMetaObject::findSignal( const char* n, bool super ) const { const TQMetaObject *mo = this; int offset = -1; do { - const TQMetaData *md = mo->signalDict ? mo->signalDict->tqfind( n ) : 0; + const TQMetaData *md = mo->signalDict ? mo->signalDict->find( n ) : 0; if ( md ) { #if defined(TQT_CHECK_RANGE) if ( offset != -1 ) { - qWarning( "TQMetaObject::tqfindSignal:%s: Conflict with %s::%s", + qWarning( "TQMetaObject::findSignal:%s: Conflict with %s::%s", className(), mo->className(), n ); return offset; } @@ -991,14 +991,14 @@ int TQMetaObject::tqfindSignal( const char* n, bool super ) const If \a super is TRUE, inherited Q_SLOTS are included. */ -int TQMetaObject::tqfindSlot( const char* n, bool super ) const +int TQMetaObject::findSlot( const char* n, bool super ) const { - const TQMetaData *md = slotDict ? slotDict->tqfind( n ) : 0; + const TQMetaData *md = slotDict ? slotDict->find( n ) : 0; if ( md ) return slotOffset() + ( md - slotData ); if ( !super || !superclass) return -1; - return superclass->tqfindSlot( n, super ); + return superclass->findSlot( n, super ); } /*!\internal @@ -1149,7 +1149,7 @@ const TQMetaProperty* TQMetaObject::property( int index, bool super ) const \sa property(), propertyNames() */ -int TQMetaObject::tqfindProperty( const char *name, bool super ) const +int TQMetaObject::findProperty( const char *name, bool super ) const { for( int i = 0; i < d->numPropData; ++i ) { if ( d->propData[i].isValid() && qstrcmp( d->propData[i].name(), name ) == 0 ) { @@ -1158,7 +1158,7 @@ int TQMetaObject::tqfindProperty( const char *name, bool super ) const } if ( !super || !superclass ) return -1; - return superclass->tqfindProperty( name, super ); + return superclass->findProperty( name, super ); } /*! \internal @@ -1192,7 +1192,7 @@ const TQMetaProperty* TQMetaObject::resolveProperty( const TQMetaProperty* p ) c { if ( !superclass ) return 0; - return superclass->property( superclass->tqfindProperty( p->n, TRUE ), TRUE ); + return superclass->property( superclass->findProperty( p->n, TRUE ), TRUE ); } /*!\internal @@ -1207,7 +1207,7 @@ int TQMetaObject::resolveProperty( int index ) const if ( !superclass ) return -1; const TQMetaProperty* p = d->propData + ( index - propertyOffset() ); - return superclass->tqfindProperty( p->n, TRUE ); + return superclass->findProperty( p->n, TRUE ); } @@ -1342,7 +1342,7 @@ TQMetaObject *TQMetaObject::tqmetaObject( const char *class_name ) TQMutexLocker( tqt_global_mutexpool ? tqt_global_mutexpool->get( &qt_metaobjects ) : 0 ); #endif // TQT_THREAD_SUPPORT - TQtStaticMetaObjectFunction func = (TQtStaticMetaObjectFunction)qt_metaobjects->tqfind( class_name ); + TQtStaticMetaObjectFunction func = (TQtStaticMetaObjectFunction)qt_metaobjects->find( class_name ); if ( func ) return func(); return 0; @@ -1357,7 +1357,7 @@ bool TQMetaObject::hasMetaObject( const char *class_name ) TQMutexLocker( tqt_global_mutexpool ? tqt_global_mutexpool->get( &qt_metaobjects ) : 0 ); #endif // TQT_THREAD_SUPPORT - return !!qt_metaobjects->tqfind( class_name ); + return !!qt_metaobjects->find( class_name ); } #ifndef TQT_NO_PROPERTIES |