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