QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
QgsComposerMultiFrameCommand Class Reference

#include <qgscomposermultiframecommand.h>

Inheritance diagram for QgsComposerMultiFrameCommand:
Inheritance graph
[legend]

Public Member Functions

 QgsComposerMultiFrameCommand (QgsComposerMultiFrame *multiFrame, const QString &text, QUndoCommand *parent=0)
 
 ~QgsComposerMultiFrameCommand ()
 
void undo ()
 
void redo ()
 
void savePreviousState ()
 
void saveAfterState ()
 
QDomDocument previousState () const
 
QDomDocument afterState () const
 
bool containsChange () const
 Returns true if previous state and after state are valid and different. More...
 
const QgsComposerMultiFramemultiFrame () const
 

Protected Member Functions

 QgsComposerMultiFrameCommand ()
 
void saveState (QDomDocument &stateDoc)
 
void restoreState (QDomDocument &stateDoc)
 
bool checkFirstRun ()
 

Protected Attributes

QgsComposerMultiFramemMultiFrame
 
QDomDocument mPreviousState
 
QDomDocument mAfterState
 
bool mFirstRun
 

Constructor & Destructor Documentation

QgsComposerMultiFrameCommand::QgsComposerMultiFrameCommand ( QgsComposerMultiFrame multiFrame,
const QString &  text,
QUndoCommand *  parent = 0 
)
QgsComposerMultiFrameCommand::~QgsComposerMultiFrameCommand ( )
QgsComposerMultiFrameCommand::QgsComposerMultiFrameCommand ( )
protected

Member Function Documentation

QDomDocument QgsComposerMultiFrameCommand::afterState ( ) const
inline
bool QgsComposerMultiFrameCommand::checkFirstRun ( )
protected
bool QgsComposerMultiFrameCommand::containsChange ( ) const

Returns true if previous state and after state are valid and different.

const QgsComposerMultiFrame* QgsComposerMultiFrameCommand::multiFrame ( ) const
inline
QDomDocument QgsComposerMultiFrameCommand::previousState ( ) const
inline
void QgsComposerMultiFrameCommand::redo ( )
void QgsComposerMultiFrameCommand::restoreState ( QDomDocument &  stateDoc)
protected
void QgsComposerMultiFrameCommand::saveAfterState ( )
void QgsComposerMultiFrameCommand::savePreviousState ( )
void QgsComposerMultiFrameCommand::saveState ( QDomDocument &  stateDoc)
protected
void QgsComposerMultiFrameCommand::undo ( )

Member Data Documentation

QDomDocument QgsComposerMultiFrameCommand::mAfterState
protected
bool QgsComposerMultiFrameCommand::mFirstRun
protected
QgsComposerMultiFrame* QgsComposerMultiFrameCommand::mMultiFrame
protected
QDomDocument QgsComposerMultiFrameCommand::mPreviousState
protected

The documentation for this class was generated from the following files: