From 576eb4299a00bc053db35414406f46372a0f70f2 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:42:31 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libksirtet/lib/miscui.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'libksirtet/lib/miscui.cpp') diff --git a/libksirtet/lib/miscui.cpp b/libksirtet/lib/miscui.cpp index 28f00914..dde70adb 100644 --- a/libksirtet/lib/miscui.cpp +++ b/libksirtet/lib/miscui.cpp @@ -1,27 +1,27 @@ #include "miscui.h" #include "miscui.moc" -#include +#include #include //----------------------------------------------------------------------------- MeetingCheckBox::MeetingCheckBox(Type type, bool owner, bool server, - QWidget *parent) - : QWidget(parent, "meeting_check_box") + TQWidget *parent) + : TQWidget(parent, "meeting_check_box") { - QVBoxLayout *vbox = new QVBoxLayout(this); + TQVBoxLayout *vbox = new TQVBoxLayout(this); - _ready = new QCheckBox(i18n("Ready"), this); + _ready = new TQCheckBox(i18n("Ready"), this); vbox->addWidget(_ready); _ready->setEnabled(owner); - connect(_ready, SIGNAL(clicked()), SLOT(changedSlot())); + connect(_ready, TQT_SIGNAL(clicked()), TQT_SLOT(changedSlot())); - _excluded = new QCheckBox(i18n("Excluded"), this); + _excluded = new TQCheckBox(i18n("Excluded"), this); vbox->addWidget(_excluded); _excluded->setEnabled(server); - connect(_excluded, SIGNAL(clicked()), SLOT(changedSlot())); + connect(_excluded, TQT_SIGNAL(clicked()), TQT_SLOT(changedSlot())); setType(type); } @@ -46,13 +46,13 @@ void MeetingCheckBox::changedSlot() //----------------------------------------------------------------------------- PlayerComboBox::PlayerComboBox(Type type, bool canBeEmpty, bool acceptAI, - QWidget *parent) - : QComboBox(parent, "player_combo_box") + TQWidget *parent) + : TQComboBox(parent, "player_combo_box") { insertItem(i18n("Human")); if (acceptAI) insertItem(i18n("AI")); if (canBeEmpty) insertItem(i18n("None")); setCurrentItem(type); - connect(this, SIGNAL(activated(int)), SIGNAL(changed(int))); + connect(this, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed(int))); } -- cgit v1.2.1