00001
00002
00003
00004
00005
00006
00007 #include "CmdUndoForTest.h"
00008 #include "DataKey.h"
00009 #include "Document.h"
00010 #include "DocumentSerialize.h"
00011 #include "Logger.h"
00012 #include "MainWindow.h"
00013 #include <QXmlStreamReader>
00014 #include "Xml.h"
00015
00016 const QString CMD_DESCRIPTION ("UndoForTest");
00017
00018 CmdUndoForTest::CmdUndoForTest(MainWindow &mainWindow,
00019 Document &document) :
00020 CmdAbstract (mainWindow,
00021 document,
00022 CMD_DESCRIPTION)
00023 {
00024 LOG4CPP_INFO_S ((*mainCat)) << "CmdUndoForTest::CmdUndoForTest";
00025 }
00026
00027 CmdUndoForTest::CmdUndoForTest (MainWindow &mainWindow,
00028 Document &document,
00029 const QString &cmdDescription,
00030 QXmlStreamReader & ) :
00031 CmdAbstract (mainWindow,
00032 document,
00033 cmdDescription)
00034 {
00035 LOG4CPP_INFO_S ((*mainCat)) << "CmdUndoForTest::CmdUndoForTest";
00036 }
00037
00038 CmdUndoForTest::~CmdUndoForTest ()
00039 {
00040 }
00041
00042 void CmdUndoForTest::cmdRedo ()
00043 {
00044 LOG4CPP_INFO_S ((*mainCat)) << "CmdUndoForTest::cmdRedo";
00045
00046
00047 }
00048
00049 void CmdUndoForTest::cmdUndo ()
00050 {
00051 LOG4CPP_INFO_S ((*mainCat)) << "CmdUndoForTest::cmdUndo";
00052
00053
00054 }
00055
00056 void CmdUndoForTest::saveXml (QXmlStreamWriter & ) const
00057 {
00058
00059 }