18 #ifndef QGSCOMPOSERMULTIFRAMECOMMAND_H 19 #define QGSCOMPOSERMULTIFRAMECOMMAND_H 21 #include <QUndoCommand> 22 #include <QDomDocument> 38 void savePreviousState();
39 void saveAfterState();
45 bool containsChange()
const;
88 int id()
const override {
return static_cast< int >( mContext ); }
94 #endif // QGSCOMPOSERMULTIFRAMECOMMAND_H
const QgsComposerMultiFrame * multiFrame() const
virtual bool mergeWith(const QUndoCommand *command)
QDomDocument afterState() const
Abstract base class for composer items with the ability to distribute the content to several frames (...
QDomDocument previousState() const
A composer command that merges together with other commands having the same context (=id) for multi f...
QDomDocument mPreviousState
QDomNode cloneNode(bool deep) const
QgsComposerMultiFrame * mMultiFrame
QDomDocument toDocument() const