summaryrefslogtreecommitdiffstats
path: root/libksirtet/common/main.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/common/main.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/common/main.cpp')
-rw-r--r--libksirtet/common/main.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libksirtet/common/main.cpp b/libksirtet/common/main.cpp
index 004b86ca..e7674846 100644
--- a/libksirtet/common/main.cpp
+++ b/libksirtet/common/main.cpp
@@ -12,7 +12,7 @@
void MainWindow::addConfig(KConfigDialog *dialog)
{
- QWidget *w = cfactory->createAIConfig();
+ TQWidget *w = cfactory->createAIConfig();
if (w) dialog->addPage(w, i18n("A.I."), "personal");
}
@@ -24,23 +24,23 @@ void MainWindow::init()
// Modes
bool ama = ( bfactory->bbi.nbArcadeStages!=0 );
- QString s = (ama ? i18n("&Single Human (Normal)") : i18n("&Single Human"));
- (void)new KAction(s, 0, inter, SLOT(normalGame()),
+ TQString s = (ama ? i18n("&Single Human (Normal)") : i18n("&Single Human"));
+ (void)new KAction(s, 0, inter, TQT_SLOT(normalGame()),
actionCollection(), "mp_single_human");
if (ama) (void)new KAction(i18n("&Single Human (Arcade)"), 0,
- inter, SLOT(arcadeGame()),
+ inter, TQT_SLOT(arcadeGame()),
actionCollection(), "mp_arcade");
- (void)new KAction(i18n("Human vs &Human"), 0, inter, SLOT(humanVsHuman()),
+ (void)new KAction(i18n("Human vs &Human"), 0, inter, TQT_SLOT(humanVsHuman()),
actionCollection(), "mp_human_vs_human");
(void)new KAction(i18n("Human vs &Computer"), 0,
- inter, SLOT(humanVsComputer()),
+ inter, TQT_SLOT(humanVsComputer()),
actionCollection(), "mp_human_vs_computer");
- (void)new KAction(i18n("&More..."), 0, inter, SLOT(dialog()),
+ (void)new KAction(i18n("&More..."), 0, inter, TQT_SLOT(dialog()),
actionCollection(), "mp_more");
buildGUI(inter);
- connect(this, SIGNAL(settingsChanged()),
- inter, SLOT(settingsChangedSlot()));
+ connect(this, TQT_SIGNAL(settingsChanged()),
+ inter, TQT_SLOT(settingsChangedSlot()));
}
void MainWindow::addKeys(KKeyDialog &d)
@@ -53,7 +53,7 @@ void MainWindow::saveKeys()
static_cast<Interface *>(_inter)->saveKeys();
}
-void MainWindow::focusInEvent(QFocusEvent *e)
+void MainWindow::focusInEvent(TQFocusEvent *e)
{
static_cast<Interface *>(_inter)->setFocus();
BaseMainWindow::focusInEvent(e);