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

kig

Public Types | Public Member Functions | Static Public Member Functions | List of all members
NumericTextImp Class Reference

#include <text_imp.h>

Inheritance diagram for NumericTextImp:
Inheritance graph
[legend]

Public Types

typedef TextImp Parent
 
- Public Types inherited from TextImp
typedef ObjectImp Parent
 

Public Member Functions

 NumericTextImp (const QString &text, const Coordinate &loc, bool frame, double value)
 
NumericTextImp * copy () const
 
double getValue () const
 
const char * iconForProperty (int which) const
 
const ObjectImpType * impRequirementForProperty (int which) const
 
bool isPropertyDefinedOnOrThroughThisImp (int which) const
 
int numberOfProperties () const
 
const QByteArrayList properties () const
 
const QByteArrayList propertiesInternalNames () const
 
ObjectImp * property (int which, const KigDocument &w) const
 
const ObjectImpType * type () const
 
- Public Member Functions inherited from TextImp
 TextImp (const QString &text, const Coordinate &loc, bool frame=false)
 
 ~TextImp ()
 
Coordinate attachPoint () const
 
bool contains (const Coordinate &p, int width, const KigWidget &) const
 
const Coordinate coordinate () const
 
void draw (KigPainter &p) const
 
bool equals (const ObjectImp &rhs) const
 
bool hasFrame () const
 
bool inRect (const Rect &r, int width, const KigWidget &) const
 
Rect surroundingRect () const
 
QString text () const
 
ObjectImp * transform (const Transformation &) const
 
bool valid () const
 
void visit (ObjectImpVisitor *vtor) const
 
- Public Member Functions inherited from ObjectImp
virtual ~ObjectImp ()
 
virtual bool canFillInNextEscape () const
 
virtual void fillInNextEscape (QString &s, const KigDocument &) const
 
int getPropGid (const char *pname) const
 
int getPropLid (int propgid) const
 
const char * getPropName (int propgid) const
 
bool inherits (const ObjectImpType *t) const
 
virtual bool isCache () const
 
bool valid () const
 

Static Public Member Functions

static const ObjectImpType * stype ()
 
- Static Public Member Functions inherited from TextImp
static const ObjectImpType * stype ()
 
- Static Public Member Functions inherited from ObjectImp
static const ObjectImpType * stype ()
 

Additional Inherited Members

- Protected Member Functions inherited from ObjectImp
 ObjectImp ()
 

Detailed Description

Definition at line 70 of file text_imp.h.

Member Typedef Documentation

typedef TextImp NumericTextImp::Parent

Definition at line 75 of file text_imp.h.

Constructor & Destructor Documentation

NumericTextImp::NumericTextImp ( const QString &  text,
const Coordinate &  loc,
bool  frame,
double  value 
)

Definition at line 179 of file text_imp.cc.

Member Function Documentation

NumericTextImp * NumericTextImp::copy ( ) const
virtual

Returns a copy of this ObjectImp.

The copy is an exact copy. Changes to the copy don't affect the original.

Reimplemented from TextImp.

Definition at line 184 of file text_imp.cc.

double NumericTextImp::getValue ( void  ) const

Definition at line 211 of file text_imp.cc.

const char * NumericTextImp::iconForProperty ( int  which) const
virtual

Reimplemented from TextImp.

Definition at line 242 of file text_imp.cc.

const ObjectImpType * NumericTextImp::impRequirementForProperty ( int  which) const
virtual

Reimplemented from TextImp.

Definition at line 235 of file text_imp.cc.

bool NumericTextImp::isPropertyDefinedOnOrThroughThisImp ( int  which) const
virtual

Reimplemented from TextImp.

Definition at line 262 of file text_imp.cc.

int NumericTextImp::numberOfProperties ( ) const
virtual

Reimplemented from TextImp.

Definition at line 216 of file text_imp.cc.

const QByteArrayList NumericTextImp::properties ( ) const
virtual

Reimplemented from TextImp.

Definition at line 228 of file text_imp.cc.

const QByteArrayList NumericTextImp::propertiesInternalNames ( ) const
virtual

Reimplemented from TextImp.

Definition at line 221 of file text_imp.cc.

ObjectImp * NumericTextImp::property ( int  which,
const KigDocument &  w 
) const
virtual

Reimplemented from TextImp.

Definition at line 252 of file text_imp.cc.

const ObjectImpType * NumericTextImp::stype ( )
static

Definition at line 189 of file text_imp.cc.

const ObjectImpType * NumericTextImp::type ( ) const
virtual

Returns the lowermost ObjectImpType that this object is an instantiation of.

E.g. if you want to get a string containing the internal name of the type of an object, you can do:

std::string typename = object.type()->internalName();

Reimplemented from TextImp.

Definition at line 206 of file text_imp.cc.


The documentation for this class was generated from the following files:
  • text_imp.h
  • text_imp.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