kig
object_imp.h
Go to the documentation of this file.
LocusImp is an imp that consists of a copy of the curveimp that the moving point moves over...
Definition: locus_imp.h:57
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
bool inherits(const ObjectImpType *t) const
Returns true if this ObjectImp inherits the ObjectImp type represented by t.
Definition: object_imp.cc:279
virtual const ObjectImpType * impRequirementForProperty(int which) const
Definition: object_imp.cc:76
virtual void visit(ObjectImpVisitor *vtor) const =0
Definition: text_imp.h:26
virtual ObjectImp * property(int which, const KigDocument &d) const
Definition: object_imp.cc:70
const char * internalName() const
Returns an internal name for this ObjectImp type.
Definition: object_imp.cc:235
int getPropLid(int propgid) const
mp: The following three methods (getPropLid, getPropGid, getPropName) deal with the properties of Obj...
Definition: object_imp.cc:347
bool inherits(const ObjectImpType *t) const
Does the ObjectImp type represented by this instance inherit the ObjectImp type represented by t ...
Definition: object_imp.cc:224
virtual const QByteArrayList propertiesInternalNames() const
Definition: object_imp.cc:63
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
virtual bool canFillInNextEscape() const
Definition: object_imp.cc:192
virtual const ObjectImpType * type() const =0
Returns the lowermost ObjectImpType that this object is an instantiation of.
virtual const char * iconForProperty(int which) const
Definition: object_imp.cc:187
QString translatedName() const
The name of this type, translated to the currently used language.
Definition: object_imp.cc:240
const char * selectStatement() const
Returns a translatable string of the form "Select this %1".
Definition: object_imp.cc:245
const char * selectNameStatement() const
Returns a translatable string of the form "Select point %1".
Definition: object_imp.cc:250
QString moveAStatement() const
Returns a translated string of the form "Move a xxx".
Definition: object_imp.cc:265
QString hideAStatement() const
Returns a translated string of the form "Hide a xxx".
Definition: object_imp.cc:321
Definition: bogus_imp.h:232
Definition: bogus_imp.h:203
virtual bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: object_imp.cc:326
virtual Coordinate attachPoint() const =0
Returns a reference point where to attach labels; when this returns an invalidCoord then the attachme...
virtual bool inRect(const Rect &r, int width, const KigWidget &si) const =0
static const ObjectImpType * typeFromInternalName(const char *n)
Returns the type with name n.
Definition: object_imp.cc:270
QString removeAStatement() const
Returns a translated string of the form "Remove a xxx".
Definition: object_imp.cc:255
virtual Rect surroundingRect() const =0
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
virtual void draw(KigPainter &p) const =0
virtual bool contains(const Coordinate &p, int width, const KigWidget &si) const =0
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
QString attachToThisStatement() const
Returns a translated string of the form "Attach to this xxx".
Definition: object_imp.cc:311
ObjectImpType(const ObjectImpType *parent, const char *internalname, const char *translatedname, const char *selectstatement, const char *selectnamestatement, const char *removeastatement, const char *addastatement, const char *moveastatement, const char *attachtothisstatement, const char *showastatement, const char *hideastatement)
Definition: object_imp.cc:197
QString addAStatement() const
Returns a translated string of the form "Add a xxx".
Definition: object_imp.cc:260
virtual void fillInNextEscape(QString &s, const KigDocument &) const
Definition: object_imp.cc:46
virtual bool equals(const ObjectImp &rhs) const =0
Returns true if this ObjectImp is equal to rhs.
QString showAStatement() const
Returns a translated string of the form "Show a xxx".
Definition: object_imp.cc:316
virtual ObjectImp * transform(const Transformation &t) const =0
Return this ObjectImp, transformed by the transformation t.
Definition: bogus_imp.h:253
Definition: object_imp.h:56
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.