36 QXmlStreamReader &reader)
38 LOG4CPP_INFO_S ((*mainCat)) <<
"CmdStackShadow::loadCommands";
41 m_mainWindow = &mainWindow;
45 while (!reader.atEnd() && !reader.hasError()) {
47 if ((loadNextFromReader (reader) == QXmlStreamReader::StartElement) &&
48 (reader.name() == DOCUMENT_SERIALIZE_CMD)) {
51 m_cmdList.push_back (factory.
createCmd (mainWindow,
CmdAbstract * createCmd(MainWindow &mainWindow, Document &document, QXmlStreamReader &reader)
Factory method. Input is the xml node from an error report file.
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
CmdMediator * cmdMediator()
Accessor for commands to process the Document.