• 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
TestResultImp Class Reference

#include <bogus_imp.h>

Inheritance diagram for TestResultImp:
Inheritance graph
[legend]

Public Types

typedef StringImp Parent
 
- Public Types inherited from StringImp
typedef BogusImp Parent
 

Public Member Functions

 TestResultImp (bool truth, const QString &s)
 
TestResultImp * copy () const
 
bool equals (const ObjectImp &rhs) 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 &d) const
 
bool truth () const
 
const ObjectImpType * type () const
 
void visit (ObjectImpVisitor *vtor) const
 
- Public Member Functions inherited from StringImp
 StringImp (const QString &d)
 
bool canFillInNextEscape () const
 
const QString & data () const
 
void fillInNextEscape (QString &s, const KigDocument &) const
 
void setData (const QString &s)
 
- Public Member Functions inherited from BogusImp
Coordinate attachPoint () const
 
bool contains (const Coordinate &p, int width, const KigWidget &w) const
 
void draw (KigPainter &p) const
 
bool inRect (const Rect &r, int width, const KigWidget &w) const
 
Rect surroundingRect () const
 
ObjectImp * transform (const Transformation &) const
 
- Public Member Functions inherited from ObjectImp
virtual ~ObjectImp ()
 
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 StringImp
static const ObjectImpType * stype ()
 
- Static Public Member Functions inherited from BogusImp
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 253 of file bogus_imp.h.

Member Typedef Documentation

typedef StringImp TestResultImp::Parent

Definition at line 259 of file bogus_imp.h.

Constructor & Destructor Documentation

TestResultImp::TestResultImp ( bool  truth,
const QString &  s 
)

Definition at line 302 of file bogus_imp.cc.

Member Function Documentation

TestResultImp * TestResultImp::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 StringImp.

Definition at line 307 of file bogus_imp.cc.

bool TestResultImp::equals ( const ObjectImp &  rhs) const
virtual

Returns true if this ObjectImp is equal to rhs.

This function checks whether rhs is of the same ObjectImp type, and whether it contains the same data as this ObjectImp.

It is used e.g. by the KigCommand stuff to see what the user has changed during a move.

Reimplemented from StringImp.

Definition at line 322 of file bogus_imp.cc.

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

Reimplemented from ObjectImp.

Definition at line 361 of file bogus_imp.cc.

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

Reimplemented from ObjectImp.

Definition at line 371 of file bogus_imp.cc.

bool TestResultImp::isPropertyDefinedOnOrThroughThisImp ( int  which) const
virtual

Reimplemented from ObjectImp.

Definition at line 378 of file bogus_imp.cc.

int TestResultImp::numberOfProperties ( ) const
virtual

Reimplemented from ObjectImp.

Definition at line 330 of file bogus_imp.cc.

const QByteArrayList TestResultImp::properties ( ) const
virtual

Reimplemented from ObjectImp.

Definition at line 335 of file bogus_imp.cc.

const QByteArrayList TestResultImp::propertiesInternalNames ( ) const
virtual

Reimplemented from ObjectImp.

Definition at line 343 of file bogus_imp.cc.

ObjectImp * TestResultImp::property ( int  which,
const KigDocument &  d 
) const
virtual

Reimplemented from ObjectImp.

Definition at line 351 of file bogus_imp.cc.

const ObjectImpType * TestResultImp::stype ( )
static

Definition at line 294 of file bogus_imp.cc.

bool TestResultImp::truth ( ) const
inline

Definition at line 266 of file bogus_imp.h.

const ObjectImpType * TestResultImp::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 StringImp.

Definition at line 312 of file bogus_imp.cc.

void TestResultImp::visit ( ObjectImpVisitor *  vtor) const
virtual

Reimplemented from StringImp.

Definition at line 317 of file bogus_imp.cc.


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