kig
object_type.cc
Go to the documentation of this file.
76 const ObjectImpType* ArgsParserObjectType::impRequirement( const ObjectImp* o, const Args& parents ) const
108 std::vector<ObjectCalcer*> ArgsParserObjectType::sortArgs( const std::vector<ObjectCalcer*>& args ) const
123 bool ArgsParserObjectType::isDefinedOnOrThrough( const ObjectImp* o, const Args& parents ) const
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
virtual QStringList specialActions() const
return i18n'd names for the special actions.
Definition: object_type.cc:91
This is an ObjectCalcer that uses one of the various ObjectType's to calculate its ObjectImp...
Definition: object_calcer.h:183
virtual std::vector< ObjectCalcer * > movableParents(const ObjectTypeCalcer &ourobj) const
Definition: object_type.cc:118
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
ArgsParserObjectType(const char fulltypename[], const struct ArgsParser::spec argsspec[], int n)
Definition: object_type.cc:69
virtual bool isTransform() const
is this object type a transformation type.
Definition: object_type.cc:86
An ObjectHolder represents an object as it is known to the document.
Definition: object_holder.h:40
virtual void executeAction(int i, ObjectHolder &o, ObjectTypeCalcer &t, KigPart &d, KigWidget &w, NormalMode &m) const
execute the i 'th action from the specialActions above.
Definition: object_type.cc:96
static ObjectTypeFactory * instance()
Definition: object_type_factory.cc:51
Definition: argsparser.h:113
This class is meant to take care of checking the types of the parents to ObjectCalcer's, and to put them in the correct order.
Definition: argsparser.h:106
virtual bool canMove(const ObjectTypeCalcer &ourobj) const
Definition: object_type.cc:46
The ObjectType class is a thing that represents the "behaviour" for a certain type.
Definition: object_type.h:32
bool isDefinedOnOrThrough(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents, this function returns whether the returned ObjectIm...
Definition: argsparser.cpp:236
virtual const Coordinate moveReferencePoint(const ObjectTypeCalcer &ourobj) const
Definition: object_type.cc:102
bool isDefinedOnOrThrough(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents to this type's calc function, this function returns ...
Definition: object_type.cc:123
const ObjectImpType * impRequirement(const ObjectImp *o, const Args &parents) const
returns the minimal ObjectImp ID that o needs to inherit in order to be useful.
Definition: argsparser.cpp:185
virtual void move(ObjectTypeCalcer &ourobj, const Coordinate &to, const KigDocument &d) const
Definition: object_type.cc:56
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
std::vector< ObjectCalcer * > sortArgs(const std::vector< ObjectCalcer * > &args) const
Definition: object_type.cc:108
const ObjectImpType * impRequirement(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents to this type's calc function, this function returns ...
Definition: object_type.cc:76
Definition: normal.h:26
virtual bool isFreelyTranslatable(const ObjectTypeCalcer &ourobj) const
Definition: object_type.cc:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.