QGIS API Documentation  2.99.0-Master (cd0ba91)
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=0)
 ~QgsAddRemoveMultiFrameCommand ()
void redo () override
void undo () override

Detailed Description

Definition at line 33 of file qgsaddremovemultiframecommand.h.

Member Enumeration Documentation

◆ State


Definition at line 37 of file qgsaddremovemultiframecommand.h.

Constructor & Destructor Documentation

◆ QgsAddRemoveMultiFrameCommand()

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

Definition at line 24 of file qgsaddremovemultiframecommand.cpp.

◆ ~QgsAddRemoveMultiFrameCommand()

QgsAddRemoveMultiFrameCommand::~QgsAddRemoveMultiFrameCommand ( )

Definition at line 32 of file qgsaddremovemultiframecommand.cpp.

Member Function Documentation

◆ redo()

void QgsAddRemoveMultiFrameCommand::redo ( )

Definition at line 40 of file qgsaddremovemultiframecommand.cpp.

◆ undo()

void QgsAddRemoveMultiFrameCommand::undo ( )

Definition at line 49 of file qgsaddremovemultiframecommand.cpp.

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