summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexidataawareview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/kexidataawareview.cpp')
-rw-r--r--kexi/widget/kexidataawareview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/widget/kexidataawareview.cpp b/kexi/widget/kexidataawareview.cpp
index c22c0dbb..13e308c8 100644
--- a/kexi/widget/kexidataawareview.cpp
+++ b/kexi/widget/kexidataawareview.cpp
@@ -120,8 +120,8 @@ void KexiDataAwareView::initActions()
plugSharedAction("edit_paste", TQT_TQOBJECT(this), TQT_SLOT(paste()));
m_actionClient->plugSharedAction(sharedAction("edit_paste")); //for proper shortcut
-// plugSharedAction("edit_tqfind", TQT_TQOBJECT(this), TQT_SLOT(editFind()));
-// m_actionClient->plugSharedAction(sharedAction("edit_tqfind")); //for proper shortcut
+// plugSharedAction("edit_find", TQT_TQOBJECT(this), TQT_SLOT(editFind()));
+// m_actionClient->plugSharedAction(sharedAction("edit_find")); //for proper shortcut
// plugSharedAction("edit_findnext", TQT_TQOBJECT(this), TQT_SLOT(editFindNext()));
// m_actionClient->plugSharedAction(sharedAction("edit_findnext")); //for proper shortcut
@@ -129,13 +129,13 @@ void KexiDataAwareView::initActions()
// plugSharedAction("edit_findprevious", TQT_TQOBJECT(this), TQT_SLOT(editFindPrevious()));
// m_actionClient->plugSharedAction(sharedAction("edit_findprev")); //for proper shortcut
-//! @todo plugSharedAction("edit_tqreplace", TQT_TQOBJECT(this), TQT_SLOT(editReplace()));
-//! @todo m_actionClient->plugSharedAction(sharedAction("edit_tqreplace")); //for proper shortcut
+//! @todo plugSharedAction("edit_replace", TQT_TQOBJECT(this), TQT_SLOT(editReplace()));
+//! @todo m_actionClient->plugSharedAction(sharedAction("edit_replace")); //for proper shortcut
-// setAvailable("edit_tqfind", true);
+// setAvailable("edit_find", true);
// setAvailable("edit_findnext", true);
// setAvailable("edit_findprevious", true);
-//! @todo setAvailable("edit_tqreplace", true);
+//! @todo setAvailable("edit_replace", true);
}
void KexiDataAwareView::slotUpdateRowActions(int row)
@@ -329,7 +329,7 @@ bool KexiDataAwareView::setupFindAndReplace(TQStringList& columnNames, TQStringL
return true;
}
-tristate KexiDataAwareView::tqfind(const TQVariant& valueToFind,
+tristate KexiDataAwareView::find(const TQVariant& valueToFind,
const KexiSearchAndReplaceViewInterface::Options& options, bool next)
{
if (!dataAwareObject() || !dataAwareObject()->data())
@@ -338,7 +338,7 @@ tristate KexiDataAwareView::tqfind(const TQVariant& valueToFind,
// const KexiDataAwareObjectInterface::FindAndReplaceOptions options(dlg->options());
/* if (res == KexiFindDialog::Find) {*/
// TQVariant valueToFind(dlg->valueToFind());
- return dataAwareObject()->tqfind( valueToFind, options, next );
+ return dataAwareObject()->find( valueToFind, options, next );
/*
//! @todo result...