From atlantik-devel Tue Feb 25 02:49:51 2003 From: kde () office ! kde ! org Date: Tue, 25 Feb 2003 02:49:51 +0000 To: atlantik-devel Subject: [atlantik-cvs] CVS: kdegames/atlantik/client atlantik.cpp,1.139,1.140 selectgame_widget.cpp,1.26,1.2 X-MARC-Message: https://marc.info/?l=atlantik-devel&m=104614156414215 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 #include #include +#include #include #include #include @@ -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 #include #include +#include #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