From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knode/knfilterdialog.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'knode/knfilterdialog.cpp') diff --git a/knode/knfilterdialog.cpp b/knode/knfilterdialog.cpp index e363e6ad0..e9ebf66e1 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 -#include -#include +#include +#include +#include #include #include @@ -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() ); } -- cgit v1.2.1