kig
kgeo-filter.cc
Go to the documentation of this file.
95 static std::vector<KGeoHierarchyElement> sortElems( const std::vector<KGeoHierarchyElement> elems )
130 QStringList parents = grp.readEntry( "Parents", QVariant( QVariant::StringList ) ).toStringList();
132 for ( QStringList::ConstIterator parent = parents.constBegin(); parent != parents.constEnd(); ++parent )
This is an import filter for files generated by the program KGeo, which was an interactive geometry p...
Definition: kgeo-filter.h:35
static const PointReflectionType * instance()
Definition: transform_types.cc:87
void push_back(const T &value)
This is an ObjectCalcer that keeps an ObjectImp, and never calculates a new one.
Definition: object_calcer.h:232
bool supportMime(const QString &mime)
This file is part of Kig, a KDE program for Interactive Geometry...
Definition: kgeo-filter.cc:51
void addObjects(const std::vector< ObjectHolder * > &os)
Add the objects os to the document.
Definition: kig_document.cc:143
double toDouble(bool *ok) const
This is an ObjectCalcer that uses one of the various ObjectType's to calculate its ObjectImp...
Definition: object_calcer.h:183
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
static void visitElem(std::vector< KGeoHierarchyElement > &ret, const std::vector< KGeoHierarchyElement > &elems, std::vector< bool > &seen, int i)
Definition: kgeo-filter.cc:81
static const LineLineIntersectionType * instance()
Definition: intersection_types.cc:374
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
ObjectTypeCalcer * filtersConstructTextObject(const Coordinate &c, ObjectCalcer *o, const QByteArray &arg, const KigDocument &doc, bool needframe)
constructs a text object with text "%1", location c, and variable parts given by the argument arg of ...
Definition: filters-common.cc:28
static std::vector< KGeoHierarchyElement > sortElems(const std::vector< KGeoHierarchyElement > elems)
Definition: kgeo-filter.cc:95
A class holding some information about how a certain object is drawn on the window.
Definition: object_drawer.h:47
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
typedef ConstIterator
void reserve(int size)
KigDocument * loadObjects(const QString &file, KConfig *)
Definition: kgeo-filter.cc:104
void calc(const KigDocument &doc)
Makes the ObjectCalcer recalculate its ObjectImp from its parents.
Definition: object_calcer.cc:32
const_iterator constEnd() const
const_iterator constBegin() const
virtual std::vector< ObjectCalcer * > parents() const =0
Returns the parent ObjectCalcer's of this ObjectCalcer.
Definition: object_factory.h:23
KigDocument * load(const QString &from)
load file fromfile and build a KigDocument from it.
Definition: kgeo-filter.cc:56
bool isValid() const
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.