summaryrefslogtreecommitdiffstats
path: root/kwin4/kwin4/kwin4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kwin4/kwin4/kwin4.cpp')
-rw-r--r--kwin4/kwin4/kwin4.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kwin4/kwin4/kwin4.cpp b/kwin4/kwin4/kwin4.cpp
index dc4e85c0..fbd34d5f 100644
--- a/kwin4/kwin4/kwin4.cpp
+++ b/kwin4/kwin4/kwin4.cpp
@@ -138,7 +138,7 @@ Kwin4App::Kwin4App(TQWidget *parent, const char *name) : KMainWindow(parent,name
void Kwin4App::checkMenus(CheckFlags menu)
{
bool localgame=(!doc->isNetwork());
- bool isRunning = (doc->gametqStatus()==KGame::Run);
+ bool isRunning = (doc->gameStatus()==KGame::Run);
if (!menu || (menu&CheckFileMenu))
{
changeAction("hint", !(!isRunning && localgame));
@@ -338,11 +338,11 @@ void Kwin4App::slotSaveGame()
void Kwin4App::newGame()
{
// End the intro if it is running
- doc->setGametqStatus(Kwin4Doc::End);
+ doc->setGameStatus(Kwin4Doc::End);
// Init the board and Clear the old game out
- doc->setGametqStatus(Kwin4Doc::Init);
+ doc->setGameStatus(Kwin4Doc::Init);
// Run it
- doc->setGametqStatus(Kwin4Doc::Run);
+ doc->setGameStatus(Kwin4Doc::Run);
}
/**
@@ -360,7 +360,7 @@ void Kwin4App::slotNewGame()
*/
void Kwin4App::endGame()
{
- doc->setGametqStatus(Kwin4Doc::Abort);
+ doc->setGameStatus(Kwin4Doc::Abort);
}
/**
@@ -453,7 +453,7 @@ void Kwin4App::EndGame(TABLE mode)
*/
void Kwin4App::slotStatusNames(){
TQString msg;
- if (!(doc->gametqStatus()==KGame::Run))
+ if (!(doc->gameStatus()==KGame::Run))
msg=i18n("No game ");
else if (doc->QueryCurrentPlayer()==Gelb)
msg=TQString(" ")+doc->QueryName(Gelb)+ i18n(" - Yellow ");
@@ -480,7 +480,7 @@ void Kwin4App::slotNetworkBroken(int /*id*/, int oldstatus ,KGame * /*game */)
doc->getPlayer(doc->QueryCurrentPlayer())->setTurn(true,true);
KMessageBox::information(this,i18n("The network game ended!\n"));
- doc->setGametqStatus(oldstatus);
+ doc->setGameStatus(oldstatus);
}
/**
@@ -527,7 +527,7 @@ void Kwin4App::slotGameOver(int status, KPlayer * p, KGame * /*me*/)
void Kwin4App::slotInitNetwork()
{
- if (doc->gametqStatus()==Kwin4Doc::Intro) doc->setGametqStatus(Kwin4Doc::Pause);
+ if (doc->gameStatus()==Kwin4Doc::Intro) doc->setGameStatus(Kwin4Doc::Pause);
TQString host = Prefs::host();
int port=Prefs::port();