kig
#include <special_constructors.h>
Public Member Functions | |
TestConstructor (const ArgsParserObjectType *type, const char *descname, const char *desc, const char *iconfile) | |
~TestConstructor () | |
std::vector< ObjectHolder * > | build (const std::vector< ObjectCalcer * > &os, KigDocument &d, KigWidget &w) const |
BaseConstructMode * | constructMode (KigPart &doc) |
void | drawprelim (const ObjectDrawer &drawer, KigPainter &p, const std::vector< ObjectCalcer * > &parents, const KigDocument &) const |
bool | isTest () const |
bool | isTransform () const |
void | plug (KigPart *doc, KigGUIAction *kact) |
int | wantArgs (const std::vector< ObjectCalcer * > &os, const KigDocument &d, const KigWidget &v) const |
Public Member Functions inherited from StandardConstructorBase | |
StandardConstructorBase (const char *descname, const char *desc, const char *iconfile, const ArgsParser &parser) | |
virtual | ~StandardConstructorBase () |
const QString | description () const |
const QString | descriptiveName () const |
void | handleArgs (const std::vector< ObjectCalcer * > &os, KigPart &d, KigWidget &v) const |
void | handlePrelim (KigPainter &p, const std::vector< ObjectCalcer * > &sel, const KigDocument &d, const KigWidget &v) const |
const QByteArray | iconFileName (const bool canBeNull=false) const |
bool | isAlreadySelectedOK (const std::vector< ObjectCalcer * > &os, const uint &) const |
QString | selectStatement (const std::vector< ObjectCalcer * > &sel, const KigDocument &d, const KigWidget &w) const |
QString | useText (const ObjectCalcer &o, const std::vector< ObjectCalcer * > &sel, const KigDocument &d, const KigWidget &v) const |
Public Member Functions inherited from ObjectConstructor | |
virtual | ~ObjectConstructor () |
virtual bool | isIntersection () const |
Detailed Description
Definition at line 414 of file special_constructors.h.
Constructor & Destructor Documentation
TestConstructor::TestConstructor | ( | const ArgsParserObjectType * | type, |
const char * | descname, | ||
const char * | desc, | ||
const char * | iconfile | ||
) |
Definition at line 2118 of file special_constructors.cc.
TestConstructor::~TestConstructor | ( | ) |
Definition at line 2125 of file special_constructors.cc.
Member Function Documentation
|
virtual |
Implements StandardConstructorBase.
Definition at line 2136 of file special_constructors.cc.
|
virtual |
Which construct mode should be used for this ObjectConstructor.
In fact, this is not a pretty design. The Kig GUIAction-ObjectConstructor stuff should be reworked into a general GUIAction, which just models something which can be executed given a certain number of arguments. The code for drawPrelim and such should all be in the ConstructMode, and the new GUIAction should just start the correct KigMode with the correct arguments.
This function is only overridden in TestConstructor.
Reimplemented from ObjectConstructor.
Definition at line 2159 of file special_constructors.cc.
|
virtual |
Implements StandardConstructorBase.
Definition at line 2129 of file special_constructors.cc.
|
virtual |
Reimplemented from ObjectConstructor.
Definition at line 2154 of file special_constructors.cc.
|
virtual |
Implements ObjectConstructor.
Definition at line 2149 of file special_constructors.cc.
|
virtual |
Implements ObjectConstructor.
Definition at line 2145 of file special_constructors.cc.
|
virtual |
can this constructor do something useful with os
? return ArgsParser::Complete, Valid or NotGood
Reimplemented from StandardConstructorBase.
Definition at line 2164 of file special_constructors.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.