kig
#include <bogus_imp.h>
Public Types | |
typedef BogusImp | Parent |
Public Member Functions | |
TransformationImp (const Transformation &h) | |
TransformationImp * | copy () const |
const Transformation & | data () const |
bool | equals (const ObjectImp &rhs) const |
void | setData (const Transformation &h) |
const ObjectImpType * | type () const |
void | visit (ObjectImpVisitor *vtor) const |
Public Member Functions inherited from BogusImp | |
Coordinate | attachPoint () const |
bool | contains (const Coordinate &p, int width, const KigWidget &w) const |
void | draw (KigPainter &p) const |
bool | inRect (const Rect &r, int width, const KigWidget &w) const |
Rect | surroundingRect () const |
ObjectImp * | transform (const Transformation &) const |
Public Member Functions inherited from ObjectImp | |
virtual | ~ObjectImp () |
virtual bool | canFillInNextEscape () const |
virtual void | fillInNextEscape (QString &s, const KigDocument &) const |
int | getPropGid (const char *pname) const |
int | getPropLid (int propgid) const |
const char * | getPropName (int propgid) const |
virtual const char * | iconForProperty (int which) const |
virtual const ObjectImpType * | impRequirementForProperty (int which) const |
bool | inherits (const ObjectImpType *t) const |
virtual bool | isCache () const |
virtual bool | isPropertyDefinedOnOrThroughThisImp (int which) const |
virtual int | numberOfProperties () const |
virtual const QByteArrayList | properties () const |
virtual const QByteArrayList | propertiesInternalNames () const |
virtual ObjectImp * | property (int which, const KigDocument &d) const |
bool | valid () const |
Static Public Member Functions | |
static const ObjectImpType * | stype () |
Static Public Member Functions inherited from BogusImp | |
static const ObjectImpType * | stype () |
Static Public Member Functions inherited from ObjectImp | |
static const ObjectImpType * | stype () |
Additional Inherited Members | |
Protected Member Functions inherited from ObjectImp | |
ObjectImp () | |
Detailed Description
Don't mistake this imp for something that draws a transformed object. It does something completely different. It's a pure data Imp, like DoubleImp and friends that serves only to store the data of a transformation ( see the Transformation class in ../misc/kigtransform.h
Definition at line 232 of file bogus_imp.h.
Member Typedef Documentation
typedef BogusImp TransformationImp::Parent |
Definition at line 238 of file bogus_imp.h.
Constructor & Destructor Documentation
TransformationImp::TransformationImp | ( | const Transformation & | h | ) |
Definition at line 143 of file bogus_imp.cc.
Member Function Documentation
|
virtual |
Returns a copy of this ObjectImp.
The copy is an exact copy. Changes to the copy don't affect the original.
Implements ObjectImp.
Definition at line 148 of file bogus_imp.cc.
|
inline |
Definition at line 242 of file bogus_imp.h.
|
virtual |
Returns true if this ObjectImp is equal to rhs.
This function checks whether rhs is of the same ObjectImp type, and whether it contains the same data as this ObjectImp.
It is used e.g. by the KigCommand stuff to see what the user has changed during a move.
Implements ObjectImp.
Definition at line 187 of file bogus_imp.cc.
|
inline |
Definition at line 243 of file bogus_imp.h.
|
static |
Definition at line 233 of file bogus_imp.cc.
|
virtual |
Returns the lowermost ObjectImpType that this object is an instantiation of.
E.g. if you want to get a string containing the internal name of the type of an object, you can do:
Implements ObjectImp.
Definition at line 265 of file bogus_imp.cc.
|
virtual |
Implements ObjectImp.
Definition at line 153 of file bogus_imp.cc.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.