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 --- korganizer/statusdialog.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'korganizer/statusdialog.cpp') diff --git a/korganizer/statusdialog.cpp b/korganizer/statusdialog.cpp index 8422957b..29eb04ef 100644 --- a/korganizer/statusdialog.cpp +++ b/korganizer/statusdialog.cpp @@ -22,10 +22,10 @@ without including the source code for Qt in the source distribution. */ -#include -#include -#include -#include +#include +#include +#include +#include #include #include @@ -35,32 +35,32 @@ #include "statusdialog.h" #include "statusdialog.moc" -StatusDialog::StatusDialog(QWidget* parent, const char* name) : +StatusDialog::StatusDialog(TQWidget* parent, const char* name) : KDialog(parent,name,true) { setCaption(i18n("Set Your Status")); - QBoxLayout *topLayout = new QVBoxLayout( this ); + TQBoxLayout *topLayout = new TQVBoxLayout( this ); topLayout->setSpacing( spacingHint() ); topLayout->setMargin( marginHint() ); - QBoxLayout *statusLayout = new QHBoxLayout( topLayout ); + TQBoxLayout *statusLayout = new TQHBoxLayout( topLayout ); - QLabel *text = new QLabel(i18n("Set your status"),this); + TQLabel *text = new TQLabel(i18n("Set your status"),this); statusLayout->addWidget( text ); - mStatus = new QComboBox(false,this); + mStatus = new TQComboBox(false,this); mStatus->insertStringList(Attendee::statusList()); statusLayout->addWidget( mStatus ); - QBoxLayout *buttonLayout = new QHBoxLayout( topLayout ); + TQBoxLayout *buttonLayout = new TQHBoxLayout( topLayout ); - QPushButton *ok = new KPushButton(KStdGuiItem::ok(), this); - connect ( ok,SIGNAL(clicked()), this,SLOT(accept()) ); + TQPushButton *ok = new KPushButton(KStdGuiItem::ok(), this); + connect ( ok,TQT_SIGNAL(clicked()), this,TQT_SLOT(accept()) ); buttonLayout->addWidget( ok ); - QPushButton *cancel = new KPushButton(KStdGuiItem::cancel(), this); - connect ( cancel,SIGNAL(clicked()), this,SLOT(reject()) ); + TQPushButton *cancel = new KPushButton(KStdGuiItem::cancel(), this); + connect ( cancel,TQT_SIGNAL(clicked()), this,TQT_SLOT(reject()) ); buttonLayout->addWidget( cancel ); } -- cgit v1.2.3