• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kig

Public Member Functions | Static Public Member Functions | List of all members
SegmentABType Class Reference

#include <line_type.h>

Inheritance diagram for SegmentABType:
Inheritance graph
[legend]

Public Member Functions

ObjectImp * calcx (const Coordinate &a, const Coordinate &b) const
 
void executeAction (int i, ObjectHolder &o, ObjectTypeCalcer &c, KigPart &d, KigWidget &w, NormalMode &m) const
 
const ObjectImpType * resultId () const
 
QStringList specialActions () const
 
- Public Member Functions inherited from ObjectABType
ObjectImp * calc (const Args &args, const KigDocument &) const
 
bool canMove (const ObjectTypeCalcer &o) const
 
bool isFreelyTranslatable (const ObjectTypeCalcer &o) const
 
std::vector< ObjectCalcer * > movableParents (const ObjectTypeCalcer &ourobj) const
 
void move (ObjectTypeCalcer &o, const Coordinate &to, const KigDocument &d) const
 
const Coordinate moveReferencePoint (const ObjectTypeCalcer &o) const
 
- Public Member Functions inherited from ArgsParserObjectType
const ArgsParser & argsParser () const
 
const ObjectImpType * impRequirement (const ObjectImp *o, const Args &parents) const
 
bool isDefinedOnOrThrough (const ObjectImp *o, const Args &parents) const
 
std::vector< ObjectCalcer * > sortArgs (const std::vector< ObjectCalcer * > &args) const
 
Args sortArgs (const Args &args) const
 
- Public Member Functions inherited from ObjectType
virtual ~ObjectType ()
 
const char * fullName () const
 
virtual bool inherits (int type) const
 
virtual bool isTransform () const
 

Static Public Member Functions

static const SegmentABType * instance ()
 

Additional Inherited Members

- Public Types inherited from ObjectType
enum  { ID_ConstrainedPointType, ID_LocusType, ID_FixedPointType }
 
- Protected Member Functions inherited from ObjectABType
 ObjectABType (const char *fulltypename, const ArgsParser::spec *argsspec, int n)
 
 ~ObjectABType ()
 
- Protected Member Functions inherited from ArgsParserObjectType
 ArgsParserObjectType (const char fulltypename[], const struct ArgsParser::spec argsspec[], int n)
 
- Protected Member Functions inherited from ObjectType
 ObjectType (const char fulltypename[])
 
- Protected Attributes inherited from ArgsParserObjectType
const ArgsParser margsparser
 

Detailed Description

Definition at line 25 of file line_type.h.

Member Function Documentation

ObjectImp * SegmentABType::calcx ( const Coordinate &  a,
const Coordinate &  b 
) const
virtual

Implements ObjectABType.

Definition at line 61 of file line_type.cc.

void SegmentABType::executeAction ( int  i,
ObjectHolder &  o,
ObjectTypeCalcer &  c,
KigPart &  d,
KigWidget &  w,
NormalMode &  m 
) const
virtual

execute the i 'th action from the specialActions above.

Reimplemented from ObjectType.

Definition at line 228 of file line_type.cc.

const SegmentABType * SegmentABType::instance ( )
static

Definition at line 55 of file line_type.cc.

const ObjectImpType * SegmentABType::resultId ( ) const
virtual

returns the ObjectImp id of the ObjectImp's produced by this ObjectType.

if the ObjectType can return different sorts of ObjectImp's, it should return the biggest common id, or ID_AnyImp.

Implements ObjectType.

Definition at line 196 of file line_type.cc.

QStringList SegmentABType::specialActions ( ) const
virtual

return i18n'd names for the special actions.

Reimplemented from ObjectType.

Definition at line 221 of file line_type.cc.


The documentation for this class was generated from the following files:
  • line_type.h
  • line_type.cc
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal