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/tqsqlform.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tqtinterface/qt4/src/sql/tqsqlform.cpp') diff --git a/tqtinterface/qt4/src/sql/tqsqlform.cpp b/tqtinterface/qt4/src/sql/tqsqlform.cpp index ed1f935..a33c18b 100644 --- a/tqtinterface/qt4/src/sql/tqsqlform.cpp +++ b/tqtinterface/qt4/src/sql/tqsqlform.cpp @@ -102,7 +102,7 @@ public: // Move the cursor to a valid record (the first record) myCursor.next(); // Set the form's record pointer to the cursor's edit buffer (which - // tqcontains the current record's values) + // contains the current record's values) myForm.setRecord( myCursor.primeUpdate() ); // Insert a field into the form that uses myEditor to edit the @@ -200,8 +200,8 @@ void TQSqlForm::insert( TQWidget * widget, const TQString& field ) void TQSqlForm::remove( const TQString& field ) { d->dirty = TRUE; - if ( d->fld.tqfind( field ) != d->fld.end() ) - d->fld.remove( d->fld.tqfind( field ) ); + if ( d->fld.find( field ) != d->fld.end() ) + d->fld.remove( d->fld.find( field ) ); d->wgt.remove( field ); } @@ -296,7 +296,7 @@ TQWidget * TQSqlForm::fieldToWidget( TQSqlField * field ) const */ TQSqlField * TQSqlForm::widgetToField( TQWidget * widget ) const { - if( d->map.tqcontains( widget ) ) + if( d->map.contains( widget ) ) return d->map[widget]; else return 0; -- cgit v1.2.3