diff options
Diffstat (limited to 'knode/knsearchdialog.cpp')
-rw-r--r-- | knode/knsearchdialog.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/knode/knsearchdialog.cpp b/knode/knsearchdialog.cpp index 113bfe733..f72afe472 100644 --- a/knode/knsearchdialog.cpp +++ b/knode/knsearchdialog.cpp @@ -14,8 +14,8 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US */ -#include <qlayout.h> -#include <qcheckbox.h> +#include <tqlayout.h> +#include <tqcheckbox.h> #include <klocale.h> #include <kapplication.h> @@ -29,25 +29,25 @@ #include "knsearchdialog.h" -KNSearchDialog::KNSearchDialog(searchType /*t*/, QWidget *parent) - : QDialog(parent) +KNSearchDialog::KNSearchDialog(searchType /*t*/, TQWidget *parent) + : TQDialog(parent) { setCaption(kapp->makeStdCaption( i18n("Search for Articles") )); setIcon(SmallIcon("knode")); - QGroupBox *bg=new QGroupBox(this); + TQGroupBox *bg=new TQGroupBox(this); - startBtn=new QPushButton(SmallIcon("mail_find"),i18n("Sea&rch"), bg); + startBtn=new TQPushButton(SmallIcon("mail_find"),i18n("Sea&rch"), bg); startBtn->setDefault(true); - newBtn=new QPushButton(SmallIcon("editclear"),i18n("C&lear"), bg); + newBtn=new TQPushButton(SmallIcon("editclear"),i18n("C&lear"), bg); closeBtn=new KPushButton(KStdGuiItem::close(), bg); - completeThreads=new QCheckBox(i18n("Sho&w complete threads"),this); + completeThreads=new TQCheckBox(i18n("Sho&w complete threads"),this); fcw=new KNFilterConfigWidget(this); fcw->reset(); - QHBoxLayout *topL=new QHBoxLayout(this, 5); - QVBoxLayout *filterL=new QVBoxLayout(this, 0, 5); - QVBoxLayout *btnL=new QVBoxLayout(bg, 8, 5); + TQHBoxLayout *topL=new TQHBoxLayout(this, 5); + TQVBoxLayout *filterL=new TQVBoxLayout(this, 0, 5); + TQVBoxLayout *btnL=new TQVBoxLayout(bg, 8, 5); filterL->addWidget(completeThreads); filterL->addWidget(fcw,1); @@ -60,9 +60,9 @@ KNSearchDialog::KNSearchDialog(searchType /*t*/, QWidget *parent) topL->addLayout(filterL, 1); topL->addWidget(bg); - connect(startBtn, SIGNAL(clicked()), this, SLOT(slotStartClicked())); - connect(newBtn, SIGNAL(clicked()), this, SLOT(slotNewClicked())); - connect(closeBtn, SIGNAL(clicked()), this, SLOT(slotCloseClicked())); + connect(startBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotStartClicked())); + connect(newBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewClicked())); + connect(closeBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCloseClicked())); f_ilter=new KNArticleFilter(); f_ilter->setLoaded(true); @@ -111,7 +111,7 @@ void KNSearchDialog::slotCloseClicked() } -void KNSearchDialog::closeEvent( QCloseEvent * ) +void KNSearchDialog::closeEvent( TQCloseEvent * ) { emit dialogDone(); } |