kig
angle_type.cc
Go to the documentation of this file.
45 I18N_NOOP( "Select a point that the first half-line of the angle should go through..." ), true },
49 I18N_NOOP( "Select a point that the second half-line of the angle should go through..." ), true }
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: angle_type.cc:184
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: angle_type.cc:219
Manage an angle and convert it from/to other goniometric systems.
Definition: goniometry.h:28
This is a convenience subclass of ObjectType that a type should inherit from if its parents can be sp...
Definition: object_type.h:113
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: angle_type.cc:69
a KigCommand represents almost every action performed in Kig.
Definition: kig_commands.h:44
Definition: angle_type.h:24
Definition: goniometry.h:31
#define KIG_INSTANTIATE_OBJECT_TYPE_INSTANCE(type)
Definition: objects/common.h:105
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
std::vector< ObjectCalcer * > getAllParents(const std::vector< ObjectCalcer * > &objs)
This function returns all objects above the given in the dependency graph.
Definition: calcpaths.cc:229
An ObjectHolder represents an object as it is known to the document.
Definition: object_holder.h:40
const ObjectImp * imp() const
Returns the ObjectImp of this ObjectCalcer.
Definition: object_calcer.cc:100
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: angle_type.cc:101
void executeAction(int i, ObjectHolder &o, ObjectTypeCalcer &c, KigPart &d, KigWidget &w, NormalMode &m) const
execute the i 'th action from the specialActions above.
Definition: angle_type.cc:116
this class monitors a set of DataObjects for changes and returns an appropriate ChangeObjectImpsComma...
Definition: kig_commands.h:153
bool checkArgs(const std::vector< ObjectCalcer * > &os) const
Definition: argsparser.cpp:222
Definition: argsparser.h:113
void finish(KigCommand *comm)
add the generated KigCommandTasks to the command comm .
Definition: kig_commands.cpp:227
static Goniometry getAngle(QWidget *parent, bool *ok, const Goniometry &g)
Static convenience function to get an angle incapsulated in a Goniometry class.
Definition: kiginputdialog.cc:286
Definition: goniometry.h:31
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AngleImp type.
Definition: other_imp.cc:597
static const char * constructanglethroughpoint
Definition: angle_type.cc:39
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
std::vector< ObjectCalcer * > parents() const
Returns the parent ObjectCalcer's of this ObjectCalcer.
Definition: object_calcer.cc:105
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
QStringList specialActions() const
return i18n'd names for the special actions.
Definition: angle_type.cc:106
Definition: normal.h:26
void convertTo(Goniometry::System system)
Set the system of the current angle to system and convert the value to the new system using convert()...
Definition: goniometry.cc:64
Definition: angle_type.h:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.