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

kig

GenericTextType Class Reference

#include <text_type.h>

Inheritance diagram for GenericTextType:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 23 of file text_type.h.


Public Member Functions

const ObjectImpType * impRequirement (const ObjectImp *o, const Args &parents) const
bool isDefinedOnOrThrough (const ObjectImp *o, const Args &parents) const
const ObjectImpType * resultId () const
ObjectImp * calc (const Args &parents, const KigDocument &d) const
std::vector< ObjectCalcer * > sortArgs (const std::vector< ObjectCalcer * > &os) const
Args sortArgs (const Args &args) const
bool canMove (const ObjectTypeCalcer &ourobj) const
bool isFreelyTranslatable (const ObjectTypeCalcer &ourobj) const
std::vector< ObjectCalcer * > movableParents (const ObjectTypeCalcer &ourobj) const
const Coordinate moveReferencePoint (const ObjectTypeCalcer &ourobj) const
void move (ObjectTypeCalcer &ourobj, const Coordinate &to, const KigDocument &) const
QStringList specialActions () const
void executeAction (int i, ObjectHolder &o, ObjectTypeCalcer &c, KigPart &d, KigWidget &w, NormalMode &m) const
const ArgsParser & argParser () const

Protected Member Functions

 GenericTextType (const char *fulltypename)
 ~GenericTextType ()

Constructor & Destructor Documentation

GenericTextType::GenericTextType ( const char *  fulltypename  )  [protected]

GenericTextType::~GenericTextType (  )  [protected]

Definition at line 56 of file text_type.cc.


Member Function Documentation

const ObjectImpType * GenericTextType::impRequirement ( const ObjectImp *  o,
const Args &  parents 
) const [virtual]

Supposing that parents would be given as parents to this type's calc function, this function returns the ObjectImp id that o should at least have.

( o should be part of parents )

Implements ObjectType.

Definition at line 65 of file text_type.cc.

bool GenericTextType::isDefinedOnOrThrough ( const ObjectImp *  o,
const Args &  parents 
) const [virtual]

Supposing that parents would be given as parents to this type's calc function, this function returns whether the returned ObjectImp will be, by construction, on o ( if o is a curve ), or through o ( if o is a point ).

Implements ObjectType.

Definition at line 167 of file text_type.cc.

const ObjectImpType * GenericTextType::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 60 of file text_type.cc.

ObjectImp * GenericTextType::calc ( const Args &  parents,
const KigDocument &  d 
) const [virtual]

Implements ObjectType.

Definition at line 75 of file text_type.cc.

std::vector< ObjectCalcer * > GenericTextType::sortArgs ( const std::vector< ObjectCalcer * > &  os  )  const [virtual]

Implements ObjectType.

Definition at line 140 of file text_type.cc.

Args GenericTextType::sortArgs ( const Args &  args  )  const [virtual]

Implements ObjectType.

Definition at line 149 of file text_type.cc.

bool GenericTextType::canMove ( const ObjectTypeCalcer &  ourobj  )  const [virtual]

Reimplemented from ObjectType.

Definition at line 104 of file text_type.cc.

bool GenericTextType::isFreelyTranslatable ( const ObjectTypeCalcer &  ourobj  )  const [virtual]

Reimplemented from ObjectType.

Definition at line 109 of file text_type.cc.

std::vector< ObjectCalcer * > GenericTextType::movableParents ( const ObjectTypeCalcer &  ourobj  )  const [virtual]

Reimplemented from ObjectType.

Definition at line 158 of file text_type.cc.

const Coordinate GenericTextType::moveReferencePoint ( const ObjectTypeCalcer &  ourobj  )  const [virtual]

Reimplemented from ObjectType.

Definition at line 134 of file text_type.cc.

void GenericTextType::move ( ObjectTypeCalcer &  ourobj,
const Coordinate &  to,
const KigDocument &  d 
) const [virtual]

Reimplemented from ObjectType.

Definition at line 114 of file text_type.cc.

QStringList GenericTextType::specialActions (  )  const [virtual]

return i18n'd names for the special actions.

Reimplemented from ObjectType.

Reimplemented in TextType, and NumericTextType.

Definition at line 172 of file text_type.cc.

void GenericTextType::executeAction ( int  i,
ObjectHolder &  o,
ObjectTypeCalcer &  t,
KigPart &  d,
KigWidget &  w,
NormalMode &  m 
) const [virtual]

execute the i 'th action from the specialActions above.

Reimplemented from ObjectType.

Reimplemented in TextType, and NumericTextType.

Definition at line 181 of file text_type.cc.

const ArgsParser & GenericTextType::argParser (  )  const

Definition at line 129 of file text_type.cc.


The documentation for this class was generated from the following files:
  • text_type.h
  • text_type.cc

kig

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

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal