Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_command_utils.h File Reference
#include "kundo2command.h"
#include "kis_undo_stores.h"
#include "kritacommand_export.h"
#include <functional>

Go to the source code of this file.

Classes

struct  KisCommandUtils::AggregateCommand
 The AggregateCommand struct is a command with delayed initialization. On first redo() populateChildCommands() is called and the descendants add the desired commands to the internal list. After that, the added commands are executed on every undo()/redo(). More...
 
struct  KisCommandUtils::CompositeCommand
 
struct  KisCommandUtils::FlipFlopCommand
 
struct  KisCommandUtils::LambdaCommand
 The LambdaCommand struct is a shorthand for creation of AggregateCommand commands using C++ lambda feature. Just pass a lambda object into a command and it will be called from within the context of the strokes thread to populate the command content. More...
 
struct  KisCommandUtils::SkipFirstRedoBase
 
struct  KisCommandUtils::SkipFirstRedoWrapper
 

Namespaces

namespace  KisCommandUtils
 

Functions

void KisCommandUtils::redoAndMergeIntoAccumulatingCommand (KUndo2Command *cmd, QScopedPointer< KUndo2Command > &accumulatingCommand)