QGIS API Documentation  2.14.0-Essen
Public Types | Public Member Functions | List of all members
QgsAddRemoveMultiFrameCommand Class Reference

#include <qgsaddremovemultiframecommand.h>

Inheritance diagram for QgsAddRemoveMultiFrameCommand:
Inheritance graph

Public Types

enum  State { Added = 0, Removed }

Public Member Functions

 QgsAddRemoveMultiFrameCommand (State s, QgsComposerMultiFrame *multiFrame, QgsComposition *c, const QString &text, QUndoCommand *parent=nullptr)
 ~QgsAddRemoveMultiFrameCommand ()
void redo () override
void undo () override
- Public Member Functions inherited from QUndoCommand
 QUndoCommand (QUndoCommand *parent)
 QUndoCommand (const QString &text, QUndoCommand *parent)
virtual  ~QUndoCommand ()
QString actionText () const
const QUndoCommandchild (int index) const
int childCount () const
virtual int id () const
virtual bool mergeWith (const QUndoCommand *command)
void setText (const QString &text)
QString text () const

Detailed Description

Definition at line 26 of file qgsaddremovemultiframecommand.h.

Member Enumeration Documentation


Definition at line 30 of file qgsaddremovemultiframecommand.h.

Constructor & Destructor Documentation

QgsAddRemoveMultiFrameCommand::QgsAddRemoveMultiFrameCommand ( State  s,
QgsComposerMultiFrame multiFrame,
QgsComposition c,
const QString text,
QUndoCommand parent = nullptr 

Definition at line 24 of file qgsaddremovemultiframecommand.cpp.

QgsAddRemoveMultiFrameCommand::~QgsAddRemoveMultiFrameCommand ( )

Definition at line 41 of file qgsaddremovemultiframecommand.cpp.

Member Function Documentation

void QgsAddRemoveMultiFrameCommand::redo ( )

Reimplemented from QUndoCommand.

Definition at line 49 of file qgsaddremovemultiframecommand.cpp.

void QgsAddRemoveMultiFrameCommand::undo ( )

Reimplemented from QUndoCommand.

Definition at line 58 of file qgsaddremovemultiframecommand.cpp.

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