Changeset View
Changeset View
Standalone View
Standalone View
misc/special_constructors.h
Show First 20 Lines • Show All 403 Lines • ▼ Show 20 Line(s) | 401 | public: | |||
---|---|---|---|---|---|
404 | void drawprelim( const ObjectDrawer& drawer, KigPainter& p, const std::vector<ObjectCalcer*>& parents, | 404 | void drawprelim( const ObjectDrawer& drawer, KigPainter& p, const std::vector<ObjectCalcer*>& parents, | ||
405 | const KigDocument& ) const Q_DECL_OVERRIDE; | 405 | const KigDocument& ) const Q_DECL_OVERRIDE; | ||
406 | std::vector<ObjectHolder*> build( const std::vector<ObjectCalcer*>& os, KigDocument& d, | 406 | std::vector<ObjectHolder*> build( const std::vector<ObjectCalcer*>& os, KigDocument& d, | ||
407 | KigWidget& w ) const Q_DECL_OVERRIDE; | 407 | KigWidget& w ) const Q_DECL_OVERRIDE; | ||
408 | void plug( KigPart* doc, KigGUIAction* kact ) Q_DECL_OVERRIDE; | 408 | void plug( KigPart* doc, KigGUIAction* kact ) Q_DECL_OVERRIDE; | ||
409 | bool isTransform() const Q_DECL_OVERRIDE; | 409 | bool isTransform() const Q_DECL_OVERRIDE; | ||
410 | }; | 410 | }; | ||
411 | 411 | | |||
412 | class GoldenPointOfTwoPointsConstructor | ||||
413 | : public StandardConstructorBase | ||||
414 | { | ||||
415 | ArgsParser mparser; | ||||
416 | public: | ||||
417 | GoldenPointOfTwoPointsConstructor(); | ||||
418 | ~GoldenPointOfTwoPointsConstructor(); | ||||
419 | void drawprelim( const ObjectDrawer& drawer, KigPainter& p, const std::vector<ObjectCalcer*>& parents, | ||||
420 | const KigDocument& ) const Q_DECL_OVERRIDE; | ||||
421 | std::vector<ObjectHolder*> build( const std::vector<ObjectCalcer*>& os, KigDocument& d, | ||||
422 | KigWidget& w ) const Q_DECL_OVERRIDE; | ||||
423 | void plug( KigPart* doc, KigGUIAction* kact ) Q_DECL_OVERRIDE; | ||||
424 | bool isTransform() const Q_DECL_OVERRIDE; | ||||
425 | }; | ||||
426 | | ||||
412 | class TestConstructor | 427 | class TestConstructor | ||
413 | : public StandardConstructorBase | 428 | : public StandardConstructorBase | ||
414 | { | 429 | { | ||
415 | const ArgsParserObjectType* mtype; | 430 | const ArgsParserObjectType* mtype; | ||
416 | public: | 431 | public: | ||
417 | TestConstructor( const ArgsParserObjectType* type, const char* descname, | 432 | TestConstructor( const ArgsParserObjectType* type, const char* descname, | ||
418 | const char* desc, const char* iconfile ); | 433 | const char* desc, const char* iconfile ); | ||
419 | ~TestConstructor(); | 434 | ~TestConstructor(); | ||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |