summaryrefslogtreecommitdiffstats
path: root/kbabel/catalogmanager/markpatterndialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/catalogmanager/markpatterndialog.cpp')
-rw-r--r--kbabel/catalogmanager/markpatterndialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kbabel/catalogmanager/markpatterndialog.cpp b/kbabel/catalogmanager/markpatterndialog.cpp
index efe893a2..f56a735b 100644
--- a/kbabel/catalogmanager/markpatterndialog.cpp
+++ b/kbabel/catalogmanager/markpatterndialog.cpp
@@ -31,10 +31,10 @@
**************************************************************************** */
-#include <qcheckbox.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
+#include <tqradiobutton.h>
#include <kcombobox.h>
#include <kcompletion.h>
@@ -47,21 +47,21 @@
#include "markpatterndialog.h"
#include "markpatternwidget.h"
-MarkPatternDialog::MarkPatternDialog(QWidget * parent, const char * name)
+MarkPatternDialog::MarkPatternDialog(TQWidget * parent, const char * name)
: KDialogBase(parent, name, true, 0, Ok|Cancel, Ok)
{
actionButton(Ok)->setEnabled(false);
mainWidget = new MarkPatternWidget(this);
- connect (mainWidget->combo, SIGNAL(textChanged(const QString&)),
- this, SLOT(slotComboTextChanged(const QString&)));
+ connect (mainWidget->combo, TQT_SIGNAL(textChanged(const TQString&)),
+ this, TQT_SLOT(slotComboTextChanged(const TQString&)));
comboCompletion = mainWidget->combo->completionObject( );
regexpEditDialog = 0;
if (!KTrader::self( )->query("KRegExpEditor/KRegExpEditor").isEmpty( )) {
- connect(mainWidget->regexpButton, SIGNAL(clicked( )), this, SLOT(slotRegexpButtonClicked( )));
+ connect(mainWidget->regexpButton, TQT_SIGNAL(clicked( )), this, TQT_SLOT(slotRegexpButtonClicked( )));
} else {
disconnect(mainWidget->useRegExp, 0, mainWidget->regexpButton, 0);
delete mainWidget->regexpButton;
@@ -87,7 +87,7 @@ void MarkPatternDialog::accept( )
KDialogBase::accept( );
}
-QString MarkPatternDialog::pattern( )
+TQString MarkPatternDialog::pattern( )
{
return mainWidget->combo->currentText( );
}
@@ -118,7 +118,7 @@ void MarkPatternDialog::setMode(bool markMode)
}
}
-void MarkPatternDialog::slotComboTextChanged(const QString& text)
+void MarkPatternDialog::slotComboTextChanged(const TQString& text)
{
actionButton(Ok)->setEnabled(!text.isEmpty( ));
}
@@ -126,14 +126,14 @@ void MarkPatternDialog::slotComboTextChanged(const QString& text)
void MarkPatternDialog::slotRegexpButtonClicked( )
{
if (!regexpEditDialog)
- regexpEditDialog = KParts::ComponentFactory::createInstanceFromQuery<QDialog>(
- "KRegExpEditor/KRegExpEditor", QString::null, this);
+ regexpEditDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>(
+ "KRegExpEditor/KRegExpEditor", TQString::null, this);
KRegExpEditorInterface * iface = dynamic_cast<KRegExpEditorInterface *>(regexpEditDialog);
if (iface) {
iface->setRegExp(mainWidget->combo->currentText( ));
- if (regexpEditDialog->exec( ) == QDialog::Accepted)
+ if (regexpEditDialog->exec( ) == TQDialog::Accepted)
mainWidget->combo->setCurrentText(iface->regExp( ));
}
}