summaryrefslogtreecommitdiffstats
path: root/kexi/widget/tableview/kexidataawareobjectiface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/tableview/kexidataawareobjectiface.cpp')
-rw-r--r--kexi/widget/tableview/kexidataawareobjectiface.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/widget/tableview/kexidataawareobjectiface.cpp b/kexi/widget/tableview/kexidataawareobjectiface.cpp
index 95ed31c0..79613d9d 100644
--- a/kexi/widget/tableview/kexidataawareobjectiface.cpp
+++ b/kexi/widget/tableview/kexidataawareobjectiface.cpp
@@ -306,7 +306,7 @@ bool KexiDataAwareObjectInterface::sort()
return true;
}
if (m_currentItem != m_insertItem) {
- m_curRow = m_data->tqfindRef(m_currentItem);
+ m_curRow = m_data->findRef(m_currentItem);
int jump = m_curRow - oldRow;
if (jump<0)
(*m_itemIterator) -= -jump;
@@ -1283,7 +1283,7 @@ void KexiDataAwareObjectInterface::insertItem(KexiTableItem *newItem, int row)
void KexiDataAwareObjectInterface::slotRowInserted(KexiTableItem *item, bool tqrepaint)
{
- int row = m_data->tqfindRef(item);
+ int row = m_data->findRef(item);
slotRowInserted( item, row, tqrepaint );
}
@@ -1493,7 +1493,7 @@ void KexiDataAwareObjectInterface::slotAboutToDeleteRow(KexiTableItem& item,
KexiDB::ResultInfo* /*result*/, bool tqrepaint)
{
if (tqrepaint) {
- m_rowWillBeDeleted = m_data->tqfindRef(&item);
+ m_rowWillBeDeleted = m_data->findRef(&item);
}
}
@@ -1888,7 +1888,7 @@ static inline bool findInString(const TQString& stringValue, int stringLength, c
if (wholeWordsOnly) {
const int whereLength = where.length();
while (true) {
- pos = where.tqfind( stringValue, pos, caseSensitive );
+ pos = where.find( stringValue, pos, caseSensitive );
if (pos == -1)
break;
if ((pos > 0 && where.at(pos-1).isLetterOrNumber())
@@ -1902,7 +1902,7 @@ static inline bool findInString(const TQString& stringValue, int stringLength, c
firstCharacter = pos;
}
else {// !wholeWordsOnly
- firstCharacter = where.tqfind( stringValue, pos, caseSensitive );
+ firstCharacter = where.find( stringValue, pos, caseSensitive );
}
return firstCharacter != -1;
}
@@ -1915,7 +1915,7 @@ static inline bool findInString(const TQString& stringValue, int stringLength, c
if (wholeWordsOnly) {
const int whereLength = where.length();
while (true) {
- pos = where.tqfindRev( stringValue, pos, caseSensitive );
+ pos = where.findRev( stringValue, pos, caseSensitive );
if (pos == -1)
break;
if ((pos > 0 && where.at(pos-1).isLetterOrNumber())
@@ -1932,7 +1932,7 @@ static inline bool findInString(const TQString& stringValue, int stringLength, c
firstCharacter = pos;
}
else {// !wholeWordsOnly
- firstCharacter = where.tqfindRev( stringValue, pos, caseSensitive );
+ firstCharacter = where.findRev( stringValue, pos, caseSensitive );
}
return firstCharacter != -1;
}
@@ -1962,7 +1962,7 @@ static inline bool findInString(const TQString& stringValue, int stringLength, c
return false;
}
-tristate KexiDataAwareObjectInterface::tqfind(const TQVariant& valueToFind,
+tristate KexiDataAwareObjectInterface::find(const TQVariant& valueToFind,
const KexiSearchAndReplaceViewInterface::Options& options, bool next)
{
if (!hasData())