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

List:       kde-commits
Subject:    playground/games/magazynier (silent)
From:       Tadeusz Andrzej Kadłubowski <yess () hell ! org ! pl>
Date:       2009-12-12 20:01:04
Message-ID: 1260648064.012059.27309.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1061718 by tkadlubo:

SVN_SILENT formatting cleanup


 M  +2 -0      commands.cpp  
 M  +14 -3     commands.h  


--- trunk/playground/games/magazynier/commands.cpp #1061717:1061718
@@ -18,6 +18,8 @@
 #include "commands.h"
 #include "levelModel.h"
 
+#include <KDebug>
+
 void MagazynierCommand::redo()
 {
 	QUndoCommand::redo();
--- trunk/playground/games/magazynier/commands.h #1061717:1061718
@@ -28,9 +28,20 @@
 class MagazynierCommand : public QUndoCommand
 {
 	public:
-		MagazynierCommand(LevelModel *levelModel, QUndoCommand *parent = 0) : \
                QUndoCommand(parent), m_levelModel(levelModel), m_isShift(false) {}
-		MagazynierCommand(LevelModel *levelModel, QPoint pos, QPoint delta, QUndoCommand \
                *parent = 0) : QUndoCommand(parent), m_pos(pos),
-			m_delta(delta), m_levelModel(levelModel), m_isShift(false) {}
+		MagazynierCommand(LevelModel *levelModel, QUndoCommand *parent = 0) :
+			QUndoCommand(parent),
+			m_levelModel(levelModel),
+			m_isShift(false)
+			{}
+
+		MagazynierCommand(LevelModel *levelModel, QPoint pos, QPoint delta, QUndoCommand \
*parent = 0) : +			QUndoCommand(parent),
+			m_pos(pos),
+			m_delta(delta),
+			m_levelModel(levelModel),
+			m_isShift(false)
+			{}
+
 		virtual void undo();
 		virtual void redo();
 


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

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