[prev in list] [next in list] [prev in thread] [next in thread] 

List:       atlantik-devel
Subject:    [atlantik-cvs] CVS: kdegames/atlantik/client atlantik.cpp,1.139,1.140 selectgame_widget.cpp,1.26,1.2
From:       kde () office ! kde ! org
Date:       2003-02-25 2:49:51
[Download RAW message or body]

Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv22547

Modified Files:
	atlantik.cpp selectgame_widget.cpp 
Log Message:
fix #54499, thanks for the patch erik

Index: atlantik.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -d -r1.139 -r1.140
--- atlantik.cpp	8 Feb 2003 15:36:02 -0000	1.139
+++ atlantik.cpp	25 Feb 2003 02:49:48 -0000	1.140
@@ -24,6 +24,7 @@
 #include <kcmdlineargs.h>
 #include <kconfig.h>
 #include <klocale.h>
+#include <knotifyclient.h>
 #include <kstdgameaction.h>
 #include <kstdaction.h>
 #include <ktoolbar.h>
@@ -181,6 +182,8 @@
 
 	connect(player, SIGNAL(changed(Player *)), this, SLOT(playerChanged(Player *)));
 	connect(player, SIGNAL(changed(Player *)), m_board, SLOT(playerChanged(Player *)));
+
+	KNotifyClient::event("newplayer");
 }
 
 void Atlantik::newEstate(Estate *estate)
@@ -505,6 +508,7 @@
 void Atlantik::slotMsgChat(QString player, QString msg)
 {
 	serverMsgsAppend(player + ": " + msg);
+	KNotifyClient::event("chat");
 }
 
 void Atlantik::serverMsgsAppend(QString msg)

Index: selectgame_widget.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/selectgame_widget.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- selectgame_widget.cpp	24 Feb 2003 21:16:46 -0000	1.26
+++ selectgame_widget.cpp	25 Feb 2003 02:49:48 -0000	1.27
@@ -21,6 +21,7 @@
 #include <kdialog.h>
 #include <klocale.h>
 #include <kiconloader.h>
+#include <knotifyclient.h>
 
 #include "selectgame_widget.moc"
 
@@ -93,6 +94,7 @@
 		QListViewItem *item = new QListViewItem(m_gameList, i18n("Join %1 Game \
#%2").arg(name).arg(gameId), description, gameId, players, gameType);  \
item->setPixmap(0, QPixmap(SmallIcon("atlantik")));  item->setEnabled(canBeJoined);
+		KNotifyClient::event("newgame");
 	}
 
 	validateConnectButton();

_______________________________________________
atlantik-cvs mailing list
atlantik-cvs@mail.kde.org
http://mail.kde.org/mailman/listinfo/atlantik-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic