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

List:       atlantik-devel
Subject:    [atlantik-cvs] CVS: kdegames/atlantik/libatlantikui board.cpp,1.88,1.89 token.cpp,1.28,1.29 trade_wi
From:       kde () office ! kde ! org
Date:       2002-07-17 7:42:26
[Download RAW message or body]

Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv6552/libatlantikui

Modified Files:
	board.cpp token.cpp trade_widget.cpp 
Log Message:
kdDebug cannot be used with std::endl

Index: board.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/board.cpp,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- board.cpp	2002/07/10 11:01:55	1.88
+++ board.cpp	2002/07/17 07:42:23	1.89
@@ -235,10 +235,10 @@
 
 void AtlantikBoard::playerChanged()
 {
-	kdDebug() << "Board::playerChanged()" << std::endl;
+	kdDebug() << "Board::playerChanged()" << endl;
 #warning implement decent AtlantikBoard::playerChanged to update tokens
 /*
-	kdDebug() << "new geometry for token: " << m_player->location() << std::endl;
+	kdDebug() << "new geometry for token: " << m_player->location() << endl;
 	this->show();
 //	setGeometry(100, 100, 125, 125);
 
@@ -266,7 +266,7 @@
 	if ( token==0 )
 		return;
 	
-	kdDebug() << "moving piece from " << token->location() << " to " << estateId << std::endl;
+	kdDebug() << "moving piece from " << token->location() << " to " << estateId << endl;
 
 	// Set token destination
 	move_token = token;
@@ -295,7 +295,7 @@
 	int dest = 0; // move_token->location() + 1;
 	if (dest==(m_gridLayout->numRows() - 1)*4)
 		dest = 0;
-	kdDebug() << "going from " << move_token->location() << " to " << dest << std::endl;
+	kdDebug() << "going from " << move_token->location() << " to " << dest << endl;
 
 #warning port
 /*
@@ -319,9 +319,9 @@
 		else
 			yDest = yCurrent;
 
-		kdDebug() << "TOKEN: we are @ " << xCurrent << "," << yCurrent << std::endl;
-		kdDebug() << "TOKEN: final to " << xFinal << "," << yFinal << std::endl;
-		kdDebug() << "TOKEN: going to " << xDest << "," << yDest << std::endl;
+		kdDebug() << "TOKEN: we are @ " << xCurrent << "," << yCurrent << endl;
+		kdDebug() << "TOKEN: final to " << xFinal << "," << yFinal << endl;
+		kdDebug() << "TOKEN: going to " << xDest << "," << yDest << endl;
 
 		if (xCurrent == xDest && yCurrent == yDest)
 		{
@@ -379,7 +379,7 @@
 
 void AtlantikBoard::slotResizeAftermath()
 {
-	kdDebug() << "AtlantikBoard::slotResizeAftermath" << std::endl;
+	kdDebug() << "AtlantikBoard::slotResizeAftermath" << endl;
 	// Move tokens back to their last known location (this has to be done
 	// _after_ resizeEvent has returned to make sure we have the correct
 	// adjusted estate geometries.

Index: token.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/token.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- token.cpp	2002/07/10 11:01:55	1.28
+++ token.cpp	2002/07/17 07:42:24	1.29
@@ -127,7 +127,7 @@
 		y = m_location->geometry().center().y() - (height()/2);
 	}
 
-	kdDebug() << "Token::updateGeometry, x:" << x << " y:" << y << std::endl;
+	kdDebug() << "Token::updateGeometry, x:" << x << " y:" << y << endl;
 	setGeometry(x, y, width(), height());
 	if (isHidden())
 		show();

Index: trade_widget.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/trade_widget.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- trade_widget.cpp	2002/07/10 11:01:55	1.30
+++ trade_widget.cpp	2002/07/17 07:42:24	1.31
@@ -196,7 +196,7 @@
 
 void TradeDisplay::tradeItemChanged(TradeItem *t)
 {
-	kdDebug() << "TradeDisplay::tradeItemChanged" << std::endl;
+	kdDebug() << "TradeDisplay::tradeItemChanged" << endl;
 	KListViewItem *item = m_componentMap[t];
 	if (item)
 	{

_______________________________________________
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