QGIS API Documentation  2.99.0-Master (37c43df)
Public Types | Public Member Functions | List of all members
QgsAddRemoveMultiFrameCommand Class Reference

#include <qgsaddremovemultiframecommand.h>

Inheritance diagram for QgsAddRemoveMultiFrameCommand:
Inheritance graph
[legend]

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
 

Detailed Description

Definition at line 29 of file qgsaddremovemultiframecommand.h.

Member Enumeration Documentation

§ State

Enumerator
Added 
Removed 

Definition at line 33 of file qgsaddremovemultiframecommand.h.

Constructor & Destructor Documentation

§ QgsAddRemoveMultiFrameCommand()

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

Definition at line 24 of file qgsaddremovemultiframecommand.cpp.

§ ~QgsAddRemoveMultiFrameCommand()

QgsAddRemoveMultiFrameCommand::~QgsAddRemoveMultiFrameCommand ( )

Definition at line 41 of file qgsaddremovemultiframecommand.cpp.

Member Function Documentation

§ redo()

void QgsAddRemoveMultiFrameCommand::redo ( )
override

Definition at line 49 of file qgsaddremovemultiframecommand.cpp.

§ undo()

void QgsAddRemoveMultiFrameCommand::undo ( )
override

Definition at line 58 of file qgsaddremovemultiframecommand.cpp.


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