[atlantik-cvs] CVS: kdegames/atlantik/client atlantik.cpp,1.155,1.156 atlantik.h,1.60,1.61

[email protected]
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv17170/client

Modified Files:
	atlantik.cpp atlantik.h 
Log Message:
fix 61270: notification when is my turn

Index: atlantik.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -d -r1.155 -r1.156
--- atlantik.cpp	14 Jul 2003 02:52:44 -0000	1.155
+++ atlantik.cpp	16 Jul 2003 21:53:16 -0000	1.156
@@ -186,6 +186,7 @@
 	playerChanged(player);
 
 	connect(player, SIGNAL(changed(Player *)), this, SLOT(playerChanged(Player *)));
+	connect(player, SIGNAL(gainedTurn()), this, SLOT(gainedTurn()));
 	connect(player, SIGNAL(changed(Player *)), m_board, SLOT(playerChanged(Player *)));
 
 	KNotifyClient::event("newplayer");
@@ -596,6 +597,11 @@
 		else if (player->gameId() == -1)
 			portfolioView->hide();
 	}
+}
+
+void Atlantik::gainedTurn()
+{
+	KNotifyClient::event("gainedturn");
 }
 
 void Atlantik::initNetworkObject()

Index: atlantik.h
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.h,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- atlantik.h	14 Jul 2003 01:29:50 -0000	1.60
+++ atlantik.h	16 Jul 2003 21:53:16 -0000	1.61
@@ -182,6 +182,7 @@
 	void removeGUI(Trade *trade);
 
 	void playerChanged(Player *player);
+	void gainedTurn();
 
 signals:
 	void rollDice();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.