summaryrefslogtreecommitdiffstats
path: root/knode/knfilterdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knfilterdialog.cpp')
-rw-r--r--knode/knfilterdialog.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/knode/knfilterdialog.cpp b/knode/knfilterdialog.cpp
index e363e6ad..e9ebf66e 100644
--- a/knode/knfilterdialog.cpp
+++ b/knode/knfilterdialog.cpp
@@ -14,9 +14,9 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
*/
-#include <qlabel.h>
-#include <qcheckbox.h>
-#include <qlayout.h>
+#include <tqlabel.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
#include <klocale.h>
#include <kmessagebox.h>
@@ -30,25 +30,25 @@
#include "knfilterdialog.h"
-KNFilterDialog::KNFilterDialog(KNArticleFilter *f, QWidget *parent, const char *name)
+KNFilterDialog::KNFilterDialog(KNArticleFilter *f, TQWidget *parent, const char *name)
: KDialogBase(Plain, (f->id()==-1)? i18n("New Filter"):i18n("Properties of %1").arg(f->name()),
Ok|Cancel|Help, Ok, parent, name),
fltr(f)
{
- QFrame* page=plainPage();
+ TQFrame* page=plainPage();
- QGroupBox *gb=new QGroupBox(page);
+ TQGroupBox *gb=new TQGroupBox(page);
fname=new KLineEdit(gb);
- QLabel *l1=new QLabel(fname, i18n("Na&me:"), gb);
- apon=new QComboBox(gb);
+ TQLabel *l1=new TQLabel(fname, i18n("Na&me:"), gb);
+ apon=new TQComboBox(gb);
apon->insertItem(i18n("Single Articles"));
apon->insertItem(i18n("Whole Threads"));
- QLabel *l2=new QLabel(apon, i18n("Apply o&n:"), gb);
- enabled=new QCheckBox(i18n("Sho&w in menu"), gb);
+ TQLabel *l2=new TQLabel(apon, i18n("Apply o&n:"), gb);
+ enabled=new TQCheckBox(i18n("Sho&w in menu"), gb);
fw=new KNFilterConfigWidget(page);
- QGridLayout *gbL=new QGridLayout(gb, 2,4,8,5);
+ TQGridLayout *gbL=new TQGridLayout(gb, 2,4,8,5);
gbL->addWidget(l1, 0,0);
gbL->addMultiCellWidget(fname, 0,0,1,3);
gbL->addWidget(enabled, 1,0);
@@ -56,7 +56,7 @@ KNFilterDialog::KNFilterDialog(KNArticleFilter *f, QWidget *parent, const char *
gbL->addWidget(apon, 1,3);
gbL->setColStretch(1,1);
- QVBoxLayout *topL=new QVBoxLayout(page,0,5);
+ TQVBoxLayout *topL=new TQVBoxLayout(page,0,5);
topL->addWidget(gb);
topL->addWidget(fw,1);
@@ -78,7 +78,7 @@ KNFilterDialog::KNFilterDialog(KNArticleFilter *f, QWidget *parent, const char *
KNHelper::restoreWindowSize("filterDLG", this, sizeHint());
setHelp("anc-using-filters");
- connect( fname, SIGNAL( textChanged ( const QString & )), this, SLOT( slotTextChanged( const QString & )));
+ connect( fname, TQT_SIGNAL( textChanged ( const TQString & )), this, TQT_SLOT( slotTextChanged( const TQString & )));
slotTextChanged( fname->text() );
}
@@ -89,7 +89,7 @@ KNFilterDialog::~KNFilterDialog()
KNHelper::saveWindowSize("filterDLG", size());
}
-void KNFilterDialog::slotTextChanged( const QString &_text )
+void KNFilterDialog::slotTextChanged( const TQString &_text )
{
enableButtonOK( !_text.isEmpty() );
}