[atlantik-cvs] CVS: kdegames/atlantik/client atlantik.cpp, 1.175, 1.176 selectgame_widget.cpp,1.31,1.32
[email protected] Mon, 25 Oct 2004 20:11:51 +0200
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv4092
Modified Files:
atlantik.cpp selectgame_widget.cpp
Log Message:
remove unessesary "this->" calls
Index: atlantik.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -d -r1.175 -r1.176
--- atlantik.cpp 10 Oct 2004 17:43:41 -0000 1.175
+++ atlantik.cpp 25 Oct 2004 18:11:48 -0000 1.176
@@ -257,7 +257,7 @@
connect(player, SIGNAL(gainedTurn()), this, SLOT(gainedTurn()));
connect(player, SIGNAL(changed(Player *)), m_board, SLOT(playerChanged(Player *)));
- KNotifyClient::event(this->winId(), "newplayer");
+ KNotifyClient::event(winId(), "newplayer");
}
void Atlantik::newEstate(Estate *estate)
@@ -640,7 +640,7 @@
}
else
serverMsgsAppend(player + ": " + msg);
- KNotifyClient::event(this->winId(), "chat");
+ KNotifyClient::event(winId(), "chat");
}
void Atlantik::serverMsgsAppend(QString msg)
@@ -711,7 +711,7 @@
void Atlantik::gainedTurn()
{
- KNotifyClient::event(this->winId(), "gainedturn", i18n("It is your turn now.") );
+ KNotifyClient::event(winId(), "gainedturn", i18n("It is your turn now.") );
}
void Atlantik::initEventLog()
Index: selectgame_widget.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/selectgame_widget.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- selectgame_widget.cpp 10 Feb 2004 19:46:34 -0000 1.31
+++ selectgame_widget.cpp 25 Oct 2004 18:11:48 -0000 1.32
@@ -90,7 +90,7 @@
item->setPixmap( 0, QPixmap(SmallIcon("atlantik")) );
item->setEnabled(game->canBeJoined());
- KNotifyClient::event(this->winId(), "newgame");
+ KNotifyClient::event(winId(), "newgame");
connect(master, SIGNAL(changed(Player *)), this, SLOT(playerChanged(Player *)));
}