From eaa7ee2e0bbca40ba3173c4304f81957e8964291 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 9 Aug 2011 22:25:47 -0500 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains --- tqtinterface/qt4/src/sql/tqsqlpropertymap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tqtinterface/qt4/src/sql/tqsqlpropertymap.cpp') 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(widget->metaObject()); - while ( mo && !d->propertyMap.tqcontains( TQString( mo->className() ) ) ) + while ( mo && !d->propertyMap.contains( TQString( mo->className() ) ) ) mo = const_cast(mo->superClass()); if ( !mo ) { #ifdef TQT_CHECK_RANGE -- cgit v1.2.3