From 4ae0c208b66e0f7954e194384464fe2d0a2c56dd Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:51:49 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kbabel/catalogmanager/findinfilesdialog.cpp | 32 ++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'kbabel/catalogmanager/findinfilesdialog.cpp') diff --git a/kbabel/catalogmanager/findinfilesdialog.cpp b/kbabel/catalogmanager/findinfilesdialog.cpp index b11a20d8..becffa51 100644 --- a/kbabel/catalogmanager/findinfilesdialog.cpp +++ b/kbabel/catalogmanager/findinfilesdialog.cpp @@ -32,10 +32,10 @@ **************************************************************************** */ #include "findinfilesdialog.h" -#include -#include -#include -#include +#include +#include +#include +#include #include #include @@ -44,19 +44,19 @@ using namespace KBabel; -FindInFilesDialog::FindInFilesDialog(bool forReplace, QWidget* parent) +FindInFilesDialog::FindInFilesDialog(bool forReplace, TQWidget* parent) :FindDialog(forReplace, parent) { - QGroupBox* box = new QGroupBox(2, Qt::Horizontal, i18n("File Options"), mainWidget()); + TQGroupBox* box = new TQGroupBox(2, Qt::Horizontal, i18n("File Options"), mainWidget()); mainWidget()->layout()->add(box); - _inAllFiles = new QCheckBox(i18n("&In all files"),box); - _inMarked = new QCheckBox(i18n("&Marked files"),box); - _inTemplates = new QCheckBox(i18n("In &templates"),box); - _askForNextFile = new QCheckBox(i18n("Ask before ne&xt file"),box); - _askForSave = new QCheckBox(i18n("Save &without asking"),box); + _inAllFiles = new TQCheckBox(i18n("&In all files"),box); + _inMarked = new TQCheckBox(i18n("&Marked files"),box); + _inTemplates = new TQCheckBox(i18n("In &templates"),box); + _askForNextFile = new TQCheckBox(i18n("Ask before ne&xt file"),box); + _askForSave = new TQCheckBox(i18n("Save &without asking"),box); - QWhatsThis::add(box,i18n("

File Options

" + TQWhatsThis::add(box,i18n("

File Options

" "

Here you can finetune where to find:" "

  • In all files: search in all files, otherwise searched " "is the selected file or files in the selected folder
  • " @@ -71,14 +71,14 @@ FindInFilesDialog::~FindInFilesDialog() saveSettings(); } -int FindInFilesDialog::show(QString initialStr) +int FindInFilesDialog::show(TQString initialStr) { FindDialog::show(initialStr); int r = result(); - if( r == QDialog::Accepted ) { + if( r == TQDialog::Accepted ) { if( isReplaceDialog() ) { ReplaceOptions options = replaceOpts(); options.inAllFiles = _inAllFiles->isChecked(); @@ -102,13 +102,13 @@ int FindInFilesDialog::show(QString initialStr) return r; } -int FindInFilesDialog::exec(QString initialStr) +int FindInFilesDialog::exec(TQString initialStr) { FindDialog::exec(initialStr); int r = result(); - if( r == QDialog::Accepted ) { + if( r == TQDialog::Accepted ) { if(isReplaceDialog()) { ReplaceOptions options = replaceOpts(); options.inAllFiles = _inAllFiles->isChecked(); -- cgit v1.2.1