kig
kig_commands.h
Go to the documentation of this file.
virtual void unexecute(KigPart &doc)=0
virtual void execute(KigPart &doc)=0
a CoordinateSystem is what the user sees: it is kept by KigPart to show the user a grid...
Definition: coordinate_system.h:60
Definition: kig_commands.h:210
~ChangeObjectDrawerTask()
Definition: kig_commands.cpp:363
KigCommand(KigPart &inDoc, const QString &name)
Definition: kig_commands.cpp:48
a KigCommand represents almost every action performed in Kig.
Definition: kig_commands.h:44
This is an ObjectCalcer that keeps an ObjectImp, and never calculates a new one.
Definition: object_calcer.h:232
Definition: kig_commands.h:115
RemoveObjectsTask(const std::vector< ObjectHolder * > &os)
Definition: kig_commands.cpp:159
static KigCommand * removeCommand(KigPart &doc, const std::vector< ObjectHolder * > &os)
make sure that when you delete something, you are also deleting its parents.
Definition: kig_commands.cpp:93
Definition: kig_commands.h:124
This represents a single task to be executed in a KigCommand.
Definition: kig_commands.h:91
This is an ObjectCalcer that uses one of the various ObjectType's to calculate its ObjectImp...
Definition: object_calcer.h:183
~ChangeCoordSystemTask()
Definition: kig_commands.cpp:268
void monitor(const std::vector< ObjectCalcer * > &objs)
add objs to the list of objs to be watched, and save their current imp's.
Definition: kig_commands.cpp:217
~ChangeObjectConstCalcerTask()
Definition: kig_commands.cpp:394
Definition: kig_commands.h:223
MonitorDataObjects(const std::vector< ObjectCalcer * > &objs)
all the DataObjects in objs will be watched.
Definition: kig_commands.cpp:211
An ObjectHolder represents an object as it is known to the document.
Definition: object_holder.h:40
An ObjectCalcer is an object that represents an algorithm for calculating an ObjectImp from other Obj...
Definition: object_calcer.h:66
this class monitors a set of DataObjects for changes and returns an appropriate ChangeObjectImpsComma...
Definition: kig_commands.h:153
~ChangeParentsAndTypeTask()
Definition: kig_commands.cpp:281
static KigCommand * changeCoordSystemCommand(KigPart &doc, CoordinateSystem *s)
This creates directly a command to change the coordinate system to s .
Definition: kig_commands.cpp:118
void finish(KigCommand *comm)
add the generated KigCommandTasks to the command comm .
Definition: kig_commands.cpp:227
The ObjectType class is a thing that represents the "behaviour" for a certain type.
Definition: object_type.h:32
A class holding some information about how a certain object is drawn on the window.
Definition: object_drawer.h:47
ChangeObjectConstCalcerTask(ObjectConstCalcer *calcer, ObjectImp *newimp)
Definition: kig_commands.cpp:175
AddObjectsTask(const std::vector< ObjectHolder * > &os)
Definition: kig_commands.cpp:134
static KigCommand * addCommand(KigPart &doc, const std::vector< ObjectHolder * > &os)
To avoid confusion, this doesn't add a command to anything, this creates an AddCommand ;) ...
Definition: kig_commands.cpp:106
~KigViewShownRectChangeTask()
Definition: kig_commands.cpp:344
KigViewShownRectChangeTask(KigWidget &v, const Rect &newrect)
Definition: kig_commands.cpp:337
ChangeParentsAndTypeTask(ObjectTypeCalcer *o, const std::vector< ObjectCalcer * > &newparents, const ObjectType *newtype)
Definition: kig_commands.cpp:286
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
Definition: kig_commands.h:101
ChangeObjectDrawerTask(ObjectHolder *holder, ObjectDrawer *newdrawer)
Definition: kig_commands.cpp:368
Definition: kig_commands.h:196
ChangeCoordSystemTask(CoordinateSystem *s)
a command that changes the coordinate-system to s .
Definition: kig_commands.cpp:249
ObjectConstCalcer::shared_ptr mcalcer
Definition: kig_commands.h:134
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.