summaryrefslogtreecommitdiffstats
path: root/kexi/tests
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/tests')
-rw-r--r--kexi/tests/gui/finddialog/kexifinddialog.cpp2
-rw-r--r--kexi/tests/gui/finddialog/kexifinddialog.h4
-rw-r--r--kexi/tests/gui/finddialog/kexifinddialogbase.ui2
-rw-r--r--kexi/tests/newapi/main.cpp4
4 files changed, 6 insertions, 6 deletions
diff --git a/kexi/tests/gui/finddialog/kexifinddialog.cpp b/kexi/tests/gui/finddialog/kexifinddialog.cpp
index 5c3a7e4d..5482c072 100644
--- a/kexi/tests/gui/finddialog/kexifinddialog.cpp
+++ b/kexi/tests/gui/finddialog/kexifinddialog.cpp
@@ -31,7 +31,7 @@ KexiFindDialog::KexiFindDialog( bool replaceMode, TQWidget* tqparent, const char
: KexiFindDialogBase(tqparent, name, modal)
, m_replaceMode(true)
{
- m_btnFind->setIconSet(KStdGuiItem::tqfind().iconSet());
+ m_btnFind->setIconSet(KStdGuiItem::find().iconSet());
m_btnClose->setIconSet(KStdGuiItem::close().iconSet());
setReplaceMode(replaceMode);
m_lookIn->insertItem(i18n("(All columns)"));
diff --git a/kexi/tests/gui/finddialog/kexifinddialog.h b/kexi/tests/gui/finddialog/kexifinddialog.h
index a6cdc47c..b1cd4a5c 100644
--- a/kexi/tests/gui/finddialog/kexifinddialog.h
+++ b/kexi/tests/gui/finddialog/kexifinddialog.h
@@ -24,7 +24,7 @@
/*! @brief A Kexi-specific "Find text" dialog.
- Also used for tqreplace.
+ Also used for replace.
*/
class KexiFindDialog : public KexiFindDialogBase
{
@@ -56,7 +56,7 @@ TODO TODO TODO TODO TODO TODO
public slots:
/*! Sets or clears replace mode.
- For replace mode 'prompt or tqreplace' option is visible.
+ For replace mode 'prompt or replace' option is visible.
*/
void setReplaceMode(bool set);
diff --git a/kexi/tests/gui/finddialog/kexifinddialogbase.ui b/kexi/tests/gui/finddialog/kexifinddialogbase.ui
index 568e0781..0f2248e6 100644
--- a/kexi/tests/gui/finddialog/kexifinddialogbase.ui
+++ b/kexi/tests/gui/finddialog/kexifinddialogbase.ui
@@ -206,7 +206,7 @@
<enum>WheelFocus</enum>
</property>
<property name="text">
- <string>Prompt on tqreplace</string>
+ <string>Prompt on replace</string>
</property>
<property name="checked">
<bool>true</bool>
diff --git a/kexi/tests/newapi/main.cpp b/kexi/tests/newapi/main.cpp
index ba232d5f..d02dbc9b 100644
--- a/kexi/tests/newapi/main.cpp
+++ b/kexi/tests/newapi/main.cpp
@@ -75,7 +75,7 @@ static KCmdLineOptions options[] =
" to be buffered", 0},
{ "query-params <params>", "Query parameters separated\n"
"by '|' character that will be passed to query\n"
- "statement to tqreplace [...] placeholders.", 0 },
+ "statement to replace [...] placeholders.", 0 },
{ "", " Notes:\n"
"1. 'dr_prop' requires <db_name> argument.\n"
"2. 'parser' test requires <db_name>,\n"
@@ -136,7 +136,7 @@ int main(int argc, char** argv)
RETURN(1);
}
test_name = args->getOption("test");
- if (!tests.tqcontains(test_name)) {
+ if (!tests.contains(test_name)) {
kdDebug() << TQString("No such test \"%1\". Use --help.").tqarg(test_name.data()) << endl;
RETURN(1);
}