[prev in list] [next in list] [prev in thread] [next in thread]
List: atlantik-devel
Subject: [atlantik-devel] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.33,1.34 atlantik_ne
From: kde () office ! kde ! org
Date: 2002-06-27 23:10:22
[Download RAW message or body]
Update of /home/kde/kdegames/atlantik/libatlantikclient
In directory office:/tmp/cvs-serv9261/libatlantikclient
Modified Files:
atlantik_network.cpp atlantik_network.h
Log Message:
generalised BoardDisplay::displayCard into displayText so it can be used for other \
notifications
Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- atlantik_network.cpp 2002/06/27 21:18:51 1.33
+++ atlantik_network.cpp 2002/06/27 23:10:20 1.34
@@ -259,7 +259,7 @@
{
QString type = e.attributeNode(QString("type")).value();
if (1 || type == "foo")
- emit displayCard(e.attributeNode(QString("name")).value(), \
e.attributeNode(QString("description")).value()); + emit \
displayText(e.attributeNode(QString("name")).value(), \
e.attributeNode(QString("description")).value()); }
else if (e.tagName() == "updategamelist")
{
@@ -398,7 +398,10 @@
// Update whether player is jailed
a = e.attributeNode(QString("jailed"));
if (player && !a.isNull())
+ {
player->setInJail(a.value().toInt());
+ // TODO: emit signal with player ptr so board can setText and display \
something + }
// Update player location
a = e.attributeNode(QString("location"));
Index: atlantik_network.h
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- atlantik_network.h 2002/06/27 21:18:51 1.17
+++ atlantik_network.h 2002/06/27 23:10:20 1.18
@@ -112,7 +112,7 @@
void msgError(QString);
void msgChat(QString, QString);
- void displayCard(QString, QString);
+ void displayText(QString, QString);
void gameListClear();
void gamelistEndUpdate(QString);
_______________________________________________
atlantik-devel mailing list
atlantik-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/atlantik-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic