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.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/kernel/qobject.cpp b/src/kernel/qobject.cpp
index 7156df6be..2ba77326d 100644
--- a/src/kernel/qobject.cpp
+++ b/src/kernel/qobject.cpp
@@ -88,14 +88,14 @@ class TQStyleControlElementDataPrivate {
bool isTQWidget;
};
-#ifndef QT_NO_USERDATA
+#ifndef TQT_NO_USERDATA
class TQObjectPrivate : public TQPtrVector<TQObjectUserData>
#else
class TQObjectPrivate {
#endif
{
public:
-#ifndef QT_NO_USERDATA
+#ifndef TQT_NO_USERDATA
TQObjectPrivate( uint s ) : TQPtrVector<TQObjectUserData>(s) {
ownThread = NULL;
disableThreadPostedEvents = false;
@@ -507,7 +507,7 @@ TQThread* TQObject::contextThreadObject() const
#endif
-#ifndef QT_NO_PRELIMINARY_SIGNAL_SPY
+#ifndef TQT_NO_PRELIMINARY_SIGNAL_SPY
/*
Preliminary signal spy
*/
@@ -550,7 +550,7 @@ static void qt_spy_signal( TQObject* sender, int signal, TQUObject* o )
/*
End Preliminary signal spy
*/
-#endif // QT_NO_PRELIMINARY_SIGNAL_SPY
+#endif // TQT_NO_PRELIMINARY_SIGNAL_SPY
static TQObjectList* object_trees = 0;
@@ -1419,7 +1419,7 @@ static void objSearch( TQObjectList *result,
if ( ok ) {
if ( objName )
ok = ( qstrcmp(objName,obj->name()) == 0 );
-#ifndef QT_NO_REGEXP
+#ifndef TQT_NO_REGEXP
else if ( rx )
ok = ( rx->search(TQString::fromLatin1(obj->name())) != -1 );
#endif
@@ -1542,7 +1542,7 @@ TQObjectList *TQObject::queryList( const char *inheritsClass,
TQObjectList *list = new TQObjectList;
TQ_CHECK_PTR( list );
bool onlyWidgets = ( inheritsClass && qstrcmp(inheritsClass, "TQWidget") == 0 );
-#ifndef QT_NO_REGEXP
+#ifndef TQT_NO_REGEXP
if ( regexpMatch && objName ) { // regexp matching
TQRegExp rx(TQString::fromLatin1(objName));
objSearch( list, (TQObjectList *)children(), inheritsClass, onlyWidgets,
@@ -1583,7 +1583,7 @@ TQConnectionList *TQObject::receivers( const char* signal ) const
TQConnectionList *TQObject::receivers( int signal ) const
{
-#ifndef QT_NO_PRELIMINARY_SIGNAL_SPY
+#ifndef TQT_NO_PRELIMINARY_SIGNAL_SPY
if ( tqt_preliminary_signal_spy && signal >= 0 ) {
if ( !connections ) {
TQObject* that = (TQObject*) this;
@@ -1901,7 +1901,7 @@ static void err_info_about_candidates( int code,
const TQObject *TQObject::sender()
{
-#ifndef QT_NO_PRELIMINARY_SIGNAL_SPY
+#ifndef TQT_NO_PRELIMINARY_SIGNAL_SPY
if ( this == tqt_preliminary_signal_spy ) {
# ifdef TQT_THREAD_SUPPORT
// protect access to qt_spy_signal_sender
@@ -2639,7 +2639,7 @@ TQMetaObject* TQObject::staticTQtMetaObject()
if ( qtMetaObject )
return qtMetaObject;
-#ifndef QT_NO_PROPERTIES
+#ifndef TQT_NO_PROPERTIES
static const TQMetaEnum::Item enum_0[] = {
{ "AlignLeft", (int) TQt::AlignLeft },
{ "AlignRight", (int) TQt::AlignRight },
@@ -2704,7 +2704,7 @@ TQMetaObject* TQObject::staticTQtMetaObject()
qtMetaObject = new TQMetaObject( "TQt", 0,
0, 0,
0, 0,
-#ifndef QT_NO_PROPERTIES
+#ifndef TQT_NO_PROPERTIES
0, 0,
enum_tbl, 5,
#endif
@@ -2723,7 +2723,7 @@ TQMetaObject* TQObject::staticTQtMetaObject()
*/
void TQObject::activate_signal( int signal )
{
-#ifndef QT_NO_PRELIMINARY_SIGNAL_SPY
+#ifndef TQT_NO_PRELIMINARY_SIGNAL_SPY
if ( tqt_preliminary_signal_spy ) {
if ( !signalsBlocked() && signal >= 0 &&
( !connections || !connections->at( signal ) ) ) {
@@ -2755,7 +2755,7 @@ void TQObject::activate_signal( TQConnectionList *clist, TQUObject *o )
return;
}
-#ifndef QT_NO_PRELIMINARY_SIGNAL_SPY
+#ifndef TQT_NO_PRELIMINARY_SIGNAL_SPY
if ( tqt_preliminary_signal_spy ) {
qt_spy_signal( this, connections->findRef( clist), o );
}
@@ -2932,7 +2932,7 @@ void TQObject::activate_signal( TQConnectionList *clist, TQUObject *o )
only a typedef it cannot be a simple overload.
*/
-#ifndef QT_NO_PRELIMINARY_SIGNAL_SPY
+#ifndef TQT_NO_PRELIMINARY_SIGNAL_SPY
#define ACTIVATE_SIGNAL_WITH_PARAM(FNAME,TYPE) \
void TQObject::FNAME( int signal, TYPE param ) \
{ \
@@ -3090,7 +3090,7 @@ void TQObject::dumpObjectInfo()
#endif
}
-#ifndef QT_NO_PROPERTIES
+#ifndef TQT_NO_PROPERTIES
/*!
Sets the value of the object's \a name property to \a value.
@@ -3177,9 +3177,9 @@ TQVariant TQObject::property( const char *name ) const
return v;
}
-#endif // QT_NO_PROPERTIES
+#endif // TQT_NO_PROPERTIES
-#ifndef QT_NO_USERDATA
+#ifndef TQT_NO_USERDATA
/*!\internal
*/
uint TQObject::registerUserData()
@@ -3214,4 +3214,4 @@ TQObjectUserData* TQObject::userData( uint id ) const
return 0;
}
-#endif // QT_NO_USERDATA
+#endif // TQT_NO_USERDATA