diff options
Diffstat (limited to 'tqtinterface/qt4/src/sql/tqsqlpropertymap.cpp')
-rw-r--r-- | tqtinterface/qt4/src/sql/tqsqlpropertymap.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tqtinterface/qt4/src/sql/tqsqlpropertymap.cpp b/tqtinterface/qt4/src/sql/tqsqlpropertymap.cpp index 63b7e3a..d1498d9 100644 --- a/tqtinterface/qt4/src/sql/tqsqlpropertymap.cpp +++ b/tqtinterface/qt4/src/sql/tqsqlpropertymap.cpp @@ -110,7 +110,7 @@ public: ... \endcode - You can also tqreplace the global TQSqlPropertyMap that is used by + You can also replace the global TQSqlPropertyMap that is used by default. (Bear in mind that TQSqlPropertyMap takes ownership of the new default map.) @@ -216,7 +216,7 @@ TQVariant TQSqlPropertyMap::property( TQWidget * widget ) { if( !widget ) return TQVariant(); const QMetaObject* mo = widget->metaObject(); - while ( mo && !d->propertyMap.tqcontains( TQString( mo->className() ) ) ) + while ( mo && !d->propertyMap.contains( TQString( mo->className() ) ) ) mo = mo->superClass(); if ( !mo ) { @@ -236,7 +236,7 @@ void TQSqlPropertyMap::setProperty( TQWidget * widget, const TQVariant & value ) if( !widget ) return; QMetaObject* mo = const_cast<QMetaObject*>(widget->metaObject()); - while ( mo && !d->propertyMap.tqcontains( TQString( mo->className() ) ) ) + while ( mo && !d->propertyMap.contains( TQString( mo->className() ) ) ) mo = const_cast<QMetaObject*>(mo->superClass()); if ( !mo ) { #ifdef TQT_CHECK_RANGE |