summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/miscui.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /libksirtet/lib/miscui.cpp
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libksirtet/lib/miscui.cpp')
-rw-r--r--libksirtet/lib/miscui.cpp22
1 files changed, 11 insertions, 11 deletions
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 <qlayout.h>
+#include <tqlayout.h>
#include <klocale.h>
//-----------------------------------------------------------------------------
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)));
}