summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/fieldlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexidb/fieldlist.h')
-rw-r--r--kexi/kexidb/fieldlist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/kexidb/fieldlist.h b/kexi/kexidb/fieldlist.h
index f77dba2b..439a5cc1 100644
--- a/kexi/kexidb/fieldlist.h
+++ b/kexi/kexidb/fieldlist.h
@@ -79,11 +79,11 @@ class KEXI_DB_EXPORT FieldList
virtual Field* field(const TQString& name);
/*! \return true if this list contains given \a field. */
- inline bool hasField(const Field* field) { return m_fields.tqfindRef(field)!=-1; }
+ inline bool hasField(const Field* field) { return m_fields.findRef(field)!=-1; }
/*! \return first occurrence of \a field in the list
or -1 if this list does not contain this field. */
- inline int indexOf(const Field* field) { return m_fields.tqfindRef(field); }
+ inline int indexOf(const Field* field) { return m_fields.findRef(field); }
/*! \return list of field names for this list. */
TQStringList names() const;