diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /knode/knsearchdialog.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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(); } |