summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/field.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexidb/field.cpp')
-rw-r--r--kexi/kexidb/field.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/kexidb/field.cpp b/kexi/kexidb/field.cpp
index 97c4ae58..33e9e929 100644
--- a/kexi/kexidb/field.cpp
+++ b/kexi/kexidb/field.cpp
@@ -197,7 +197,7 @@ TQString Field::typeGroupString(uint typeGroup)
Field::Type Field::typeForString(const TQString& typeString)
{
m_typeNames.init();
- TQMap<TQString,Type>::ConstIterator it = m_typeNames.str2num.tqfind(typeString.lower());
+ TQMap<TQString,Type>::ConstIterator it = m_typeNames.str2num.find(typeString.lower());
if (it==m_typeNames.str2num.end())
return InvalidType;
return it.data();
@@ -206,7 +206,7 @@ Field::Type Field::typeForString(const TQString& typeString)
Field::TypeGroup Field::typeGroupForString(const TQString& typeGroupString)
{
m_typeGroupNames.init();
- TQMap<TQString,TypeGroup>::ConstIterator it = m_typeGroupNames.str2num.tqfind(typeGroupString.lower());
+ TQMap<TQString,TypeGroup>::ConstIterator it = m_typeGroupNames.str2num.find(typeGroupString.lower());
if (it==m_typeGroupNames.str2num.end())
return InvalidGroup;
return it.data();
@@ -646,7 +646,7 @@ TQVariant Field::customProperty(const TQCString& propertyName,
{
if (!m_customProperties)
return defaultValue;
- CustomPropertiesMap::ConstIterator it(m_customProperties->tqfind(propertyName));
+ CustomPropertiesMap::ConstIterator it(m_customProperties->find(propertyName));
if (it==m_customProperties->constEnd())
return defaultValue;
return it.data();