18 #ifndef QGSCOMPOSERMULTIFRAMECOMMAND_H
19 #define QGSCOMPOSERMULTIFRAMECOMMAND_H
21 #include <QUndoCommand>
22 #include <QDomDocument>
35 void savePreviousState();
36 void saveAfterState();
38 QDomDocument
previousState()
const {
return mPreviousState.cloneNode().toDocument(); }
39 QDomDocument
afterState()
const {
return mAfterState.cloneNode().toDocument(); }
42 bool containsChange()
const;
55 void saveState( QDomDocument& stateDoc );
56 void restoreState( QDomDocument& stateDoc );
82 bool mergeWith(
const QUndoCommand * command );
83 int id()
const {
return (
int )mContext; }
89 #endif // QGSCOMPOSERMULTIFRAMECOMMAND_H