Rename PageLocalGame -> PageSimpleGame due to future changes
authorunc0rr
Thu, 06 Sep 2007 15:31:52 +0000
changeset 585 7531ae5b146e
parent 584 f381705f1aeb
child 586 ecb6347dfeca
Rename PageLocalGame -> PageSimpleGame due to future changes
QTfrontend/hwform.cpp
QTfrontend/pages.cpp
QTfrontend/pages.h
QTfrontend/ui_hwform.cpp
QTfrontend/ui_hwform.h
--- a/QTfrontend/hwform.cpp	Fri Aug 24 20:24:29 2007 +0000
+++ b/QTfrontend/hwform.cpp	Thu Sep 06 15:31:52 2007 +0000
@@ -64,8 +64,8 @@
 	connect(ui.pageMain->BtnExit, SIGNAL(pressed()), this, SLOT(btnExitPressed()));
 	connect(ui.pageMain->BtnExit, SIGNAL(clicked()), this, SLOT(btnExitClicked()));
 
-	connect(ui.pageLocalGame->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
-	connect(ui.pageLocalGame->BtnSimpleGame,	SIGNAL(clicked()),	this, SLOT(SimpleGame()));
+	connect(ui.pageSimpleGame->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
+	connect(ui.pageSimpleGame->BtnSimpleGame,	SIGNAL(clicked()),	this, SLOT(SimpleGame()));
 
 	connect(ui.pageEditTeam->BtnTeamSave,	SIGNAL(clicked()),	this, SLOT(TeamSave()));
 	connect(ui.pageEditTeam->BtnTeamDiscard,	SIGNAL(clicked()),	this, SLOT(TeamDiscard()));
@@ -286,7 +286,7 @@
 
 void HWForm::SimpleGame()
 {
-	CreateGame(ui.pageLocalGame->gameCFG, 0);
+	CreateGame(ui.pageSimpleGame->gameCFG, 0);
 	game->StartQuick();
 }
 
--- a/QTfrontend/pages.cpp	Fri Aug 24 20:24:29 2007 +0000
+++ b/QTfrontend/pages.cpp	Thu Sep 06 15:31:52 2007 +0000
@@ -102,7 +102,7 @@
 	pageLayout->addWidget(BtnExit, 7, 1);
 }
 
-PageLocalGame::PageLocalGame(QWidget* parent) : QWidget(parent)
+PageSimpleGame::PageSimpleGame(QWidget* parent) : QWidget(parent)
 {
 	QFont * font14 = new QFont("MS Shell Dlg", 14);
 	QVBoxLayout * pageLayout = new QVBoxLayout(this);
--- a/QTfrontend/pages.h	Fri Aug 24 20:24:29 2007 +0000
+++ b/QTfrontend/pages.h	Thu Sep 06 15:31:52 2007 +0000
@@ -60,12 +60,12 @@
 	QPushButton *BtnExit;
 };
 
-class PageLocalGame : public QWidget
+class PageSimpleGame : public QWidget
 {
 	Q_OBJECT
 
 public:
-	PageLocalGame(QWidget* parent = 0);
+	PageSimpleGame(QWidget* parent = 0);
 
 	QPushButton *BtnSimpleGame;
 	QPushButton *BtnBack;
--- a/QTfrontend/ui_hwform.cpp	Fri Aug 24 20:24:29 2007 +0000
+++ b/QTfrontend/ui_hwform.cpp	Thu Sep 06 15:31:52 2007 +0000
@@ -54,8 +54,8 @@
 {
 	Pages =	new QStackedLayout(Parent);
 
-	pageLocalGame = new PageLocalGame();
-	Pages->addWidget(pageLocalGame);
+	pageSimpleGame = new PageSimpleGame();
+	Pages->addWidget(pageSimpleGame);
 
 	pageEditTeam = new PageEditTeam();
 	Pages->addWidget(pageEditTeam);
--- a/QTfrontend/ui_hwform.h	Fri Aug 24 20:24:29 2007 +0000
+++ b/QTfrontend/ui_hwform.h	Thu Sep 06 15:31:52 2007 +0000
@@ -20,7 +20,7 @@
 #define UI_HWFORM_H
 
 class PageMain;
-class PageLocalGame;
+class PageSimpleGame;
 class PageEditTeam;
 class PageMultiplayer;
 class PagePlayDemo;
@@ -41,7 +41,7 @@
 	QWidget *centralWidget;
 
 	PageMain *pageMain;
-	PageLocalGame *pageLocalGame;
+	PageSimpleGame *pageSimpleGame;
 	PageEditTeam *pageEditTeam;
 	PageMultiplayer *pageMultiplayer;
 	PagePlayDemo *pagePlayDemo;