diff options
Diffstat (limited to 'kexi/kexidb/tableschema.cpp')
-rw-r--r-- | kexi/kexidb/tableschema.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/kexidb/tableschema.cpp b/kexi/kexidb/tableschema.cpp index b794f273..d78efa09 100644 --- a/kexi/kexidb/tableschema.cpp +++ b/kexi/kexidb/tableschema.cpp @@ -374,7 +374,7 @@ Field* TableSchema::anyNonPKField() if (!d->anyNonPKField) { Field *f; Field::ListIterator it(m_fields); - it.toLast(); //from the end (higher chances to tqfind) + it.toLast(); //from the end (higher chances to find) for (; (f = it.current()); --it) { if (!f->isPrimaryKey() && (!m_pkey || !m_pkey->hasField(f))) break; @@ -393,7 +393,7 @@ bool TableSchema::setLookupFieldSchema( const TQString& fieldName, LookupFieldSc return false; } if (lookupFieldSchema) - d->lookupFields.tqreplace( f, lookupFieldSchema ); + d->lookupFields.replace( f, lookupFieldSchema ); else { delete d->lookupFields[f]; d->lookupFields.remove( f ); @@ -426,7 +426,7 @@ const TQPtrVector<LookupFieldSchema>& TableSchema::lookupFieldsList() d->lookupFieldsList.resize( d->lookupFields.count() ); uint i = 0; for (Field::ListIterator it(m_fields); it.current(); ++it) { - TQMap<const Field*, LookupFieldSchema*>::ConstIterator itMap = d->lookupFields.tqfind( it.current() ); + TQMap<const Field*, LookupFieldSchema*>::ConstIterator itMap = d->lookupFields.find( it.current() ); if (itMap != d->lookupFields.constEnd()) { d->lookupFieldsList.insert( i, itMap.data() ); i++; |