summaryrefslogtreecommitdiffstats
path: root/kbabel/catalogmanager/findinfilesdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbabel/catalogmanager/findinfilesdialog.cpp
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/catalogmanager/findinfilesdialog.cpp')
-rw-r--r--kbabel/catalogmanager/findinfilesdialog.cpp32
1 files changed, 16 insertions, 16 deletions
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 <qcheckbox.h>
-#include <qgroupbox.h>
-#include <qlayout.h>
-#include <qwhatsthis.h>
+#include <tqcheckbox.h>
+#include <tqgroupbox.h>
+#include <tqlayout.h>
+#include <tqwhatsthis.h>
#include <kconfig.h>
#include <kdebug.h>
@@ -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("<qt><p><b>File Options</b></p>"
+ TQWhatsThis::add(box,i18n("<qt><p><b>File Options</b></p>"
"<p>Here you can finetune where to find:"
"<ul><li><b>In all files</b>: search in all files, otherwise searched "
"is the selected file or files in the selected folder</li>"
@@ -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();