QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
QgsAddRemoveMultiFrameCommand Class Reference

#include <qgsaddremovemultiframecommand.h>

Public Types

enum  State { Added = 0, Removed }

Public Member Functions

 QgsAddRemoveMultiFrameCommand (State s, QgsComposerMultiFrame *multiFrame, QgsComposition *c, const QString &text, QUndoCommand *parent=0)
 ~QgsAddRemoveMultiFrameCommand ()
void redo () override
void undo () override

Detailed Description

Definition at line 26 of file qgsaddremovemultiframecommand.h.

Member Enumeration Documentation

Enumerator:
Added 
Removed 

Definition at line 30 of file qgsaddremovemultiframecommand.h.

Constructor & Destructor Documentation

QgsAddRemoveMultiFrameCommand::QgsAddRemoveMultiFrameCommand ( State  s,
QgsComposerMultiFrame multiFrame,
QgsComposition c,
const QString &  text,
QUndoCommand *  parent = 0 
)

Definition at line 24 of file qgsaddremovemultiframecommand.cpp.

QgsAddRemoveMultiFrameCommand::~QgsAddRemoveMultiFrameCommand ( )

Definition at line 41 of file qgsaddremovemultiframecommand.cpp.

Member Function Documentation

void QgsAddRemoveMultiFrameCommand::redo ( )
override

Definition at line 49 of file qgsaddremovemultiframecommand.cpp.

void QgsAddRemoveMultiFrameCommand::undo ( )
override

Definition at line 58 of file qgsaddremovemultiframecommand.cpp.


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