Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Private Attributes | List of all members
OliveAction Class Referenceabstract

#include <undo.h>

Inheritance diagram for OliveAction:
AddClipCommand AddEffectCommand AddMarkerAction AddMediaCommand AddTransitionCommand ChangeSequenceAction CheckboxCommand CloseAllClipsCommand DeleteClipAction DeleteMarkerAction DeleteMediaCommand DeleteTransitionCommand EditSequenceCommand EffectDeleteCommand KeyframeAdd KeyframeDataChange KeyframeDelete LinkCommand MediaMove MediaRename ModifyTransitionCommand MoveClipAction MoveEffectCommand MoveMarkerAction RefreshClips ReloadEffectsCommand RemoveClipsFromClipboard RenameClipCommand ReplaceClipMediaCommand ReplaceMediaCommand RippleAction SetBool SetClipProperty SetDouble SetEffectData SetInt SetIsKeyframing SetLong SetPointer SetQVariant SetSelectionsCommand SetSpeedAction SetString SetTimelineInOutCommand UpdateFootageTooltip UpdateViewer

Public Member Functions

 OliveAction (bool iset_window_modified=true)
 
virtual ~OliveAction () override
 
virtual void undo () override
 
virtual void redo () override
 
virtual void doUndo ()=0
 
virtual void doRedo ()=0
 

Private Attributes

bool set_window_modified
 Setting whether to change the windowModified state of MainWindow. More...
 
bool old_window_modified
 Cache previous window modified value to return to if the user undoes this action. More...
 

Constructor & Destructor Documentation

OliveAction::OliveAction ( bool  iset_window_modified = true)
OliveAction::~OliveAction ( )
overridevirtual

Member Function Documentation

virtual void OliveAction::doRedo ( )
pure virtual
virtual void OliveAction::doUndo ( )
pure virtual
void OliveAction::redo ( )
overridevirtual
void OliveAction::undo ( )
overridevirtual

Member Data Documentation

bool OliveAction::old_window_modified
private

Cache previous window modified value to return to if the user undoes this action.

bool OliveAction::set_window_modified
private

Setting whether to change the windowModified state of MainWindow.


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