18 #ifndef QGSCOMPOSERMULTIFRAMECOMMAND_H 19 #define QGSCOMPOSERMULTIFRAMECOMMAND_H 21 #include <QUndoCommand> 22 #include <QDomDocument> 35 void savePreviousState();
36 void saveAfterState();
42 bool containsChange()
const;
84 int id()
const override {
return static_cast< int >( mContext ); }
90 #endif // QGSCOMPOSERMULTIFRAMECOMMAND_H
QDomDocument previousState() 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 (...
const QgsComposerMultiFrame * multiFrame() 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