diff options
Diffstat (limited to 'korganizer/statusdialog.cpp')
-rw-r--r-- | korganizer/statusdialog.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
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 <qlabel.h> -#include <qstringlist.h> -#include <qlayout.h> -#include <qcombobox.h> +#include <tqlabel.h> +#include <tqstringlist.h> +#include <tqlayout.h> +#include <tqcombobox.h> #include <kdebug.h> #include <klocale.h> @@ -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 ); } |