summaryrefslogtreecommitdiffstats
path: root/korganizer/statusdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/statusdialog.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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 'korganizer/statusdialog.cpp')
-rw-r--r--korganizer/statusdialog.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/korganizer/statusdialog.cpp b/korganizer/statusdialog.cpp
index 8422957ba..29eb04ef2 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 );
}