From b6edfe41c9395f2e20784cbf0e630af6426950a3 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kexi/tests/gui/finddialog/kexifinddialog.cpp | 2 +- kexi/tests/gui/finddialog/kexifinddialog.h | 4 ++-- kexi/tests/gui/finddialog/kexifinddialogbase.ui | 2 +- kexi/tests/newapi/main.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kexi/tests') 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 @@ WheelFocus - Prompt on tqreplace + Prompt on replace true 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 ", "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 argument.\n" "2. 'parser' test requires ,\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); } -- cgit v1.2.1