summaryrefslogtreecommitdiffstats
path: root/noatun/modules/splitplaylist/find.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/splitplaylist/find.cpp')
-rw-r--r--noatun/modules/splitplaylist/find.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/noatun/modules/splitplaylist/find.cpp b/noatun/modules/splitplaylist/find.cpp
index b6e196d9..5d378a79 100644
--- a/noatun/modules/splitplaylist/find.cpp
+++ b/noatun/modules/splitplaylist/find.cpp
@@ -1,17 +1,17 @@
#include "find.h"
-#include <qlayout.h>
+#include <tqlayout.h>
#include <kcombobox.h>
-#include <qpushbutton.h>
-#include <qcheckbox.h>
+#include <tqpushbutton.h>
+#include <tqcheckbox.h>
#include <klocale.h>
-Finder::Finder(QWidget *parent) : KDialogBase(parent, 0, false, i18n("Find"), Close | User1, User1, false, KGuiItem(i18n("&Find"),"find"))
+Finder::Finder(TQWidget *parent) : KDialogBase(parent, 0, false, i18n("Find"), Close | User1, User1, false, KGuiItem(i18n("&Find"),"find"))
{
- QWidget *mainWidget = new QWidget(this);
+ TQWidget *mainWidget = new TQWidget(this);
mainWidget->setMinimumWidth(320);
setMainWidget(mainWidget);
- QGridLayout *layout=new QGridLayout(mainWidget);
+ TQGridLayout *layout=new TQGridLayout(mainWidget);
layout->setSpacing(KDialog::spacingHint());
mText=new KHistoryCombo(mainWidget);
@@ -19,22 +19,22 @@ Finder::Finder(QWidget *parent) : KDialogBase(parent, 0, false, i18n("Find"), Cl
mText->setFocus();
- mRegexp=new QCheckBox(i18n("&Regular expression"), mainWidget);
- mBackwards=new QCheckBox(i18n("Find &backwards"), mainWidget);
+ mRegexp=new TQCheckBox(i18n("&Regular expression"), mainWidget);
+ mBackwards=new TQCheckBox(i18n("Find &backwards"), mainWidget);
layout->addMultiCellWidget(mText, 0, 0, 0, 1);
layout->addWidget(mRegexp, 1, 0);
layout->addWidget(mBackwards, 1, 1);
- connect(this, SIGNAL(user1Clicked()), SLOT(clicked()));
+ connect(this, TQT_SIGNAL(user1Clicked()), TQT_SLOT(clicked()));
- connect(mText, SIGNAL(activated(int)), SLOT(clicked()));
- connect(mText, SIGNAL(textChanged(const QString &)), SLOT(textChanged(const QString &)));
+ connect(mText, TQT_SIGNAL(activated(int)), TQT_SLOT(clicked()));
+ connect(mText, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(textChanged(const TQString &)));
enableButton(User1, false);
}
-void Finder::textChanged(const QString &text) {
+void Finder::textChanged(const TQString &text) {
enableButton(User1, !text.isEmpty());
}
@@ -54,7 +54,7 @@ void Finder::clicked()
emit search(this);
}
-QString Finder::string() const
+TQString Finder::string() const
{
return mText->currentText();
}