[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Member Functions
KLFEnumType Class Reference

#include <klfpobj.h>

Inheritance diagram for KLFEnumType:
Inheritance graph
[legend]
Collaboration diagram for KLFEnumType:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 KLFEnumType (int initvalue=0)
 KLFEnumType (const KLFEnumType &copy)
virtual ~KLFEnumType ()
int value () const
void setValue (int v)
QString enumValue () const
QStringList enumValues () const
void setEnumValues (const QStringList &list)
QByteArray specification () const
bool setSpecification (const QByteArray &data)

Detailed Description

Definition at line 159 of file klfpobj.h.


Constructor & Destructor Documentation

KLFEnumType::KLFEnumType ( int  initvalue = 0) [inline]

Definition at line 164 of file klfpobj.h.

KLFEnumType::KLFEnumType ( const KLFEnumType copy) [inline]

Definition at line 167 of file klfpobj.h.

virtual KLFEnumType::~KLFEnumType ( ) [inline, virtual]

Definition at line 170 of file klfpobj.h.


Member Function Documentation

QString KLFEnumType::enumValue ( ) const [inline]

Definition at line 181 of file klfpobj.h.

References klfWarning.

Definition at line 191 of file klfpobj.h.

void KLFEnumType::setEnumValues ( const QStringList list) [inline]

Definition at line 195 of file klfpobj.h.

bool KLFEnumType::setSpecification ( const QByteArray data) [inline, virtual]

Implements KLFSpecifyableType.

Definition at line 205 of file klfpobj.h.

References QString::fromUtf8().

Referenced by klfLoadVariantFromText(), and operator>>().

void KLFEnumType::setValue ( int  v) [inline]

Definition at line 176 of file klfpobj.h.

Referenced by klfLoadVariantFromText(), and operator>>().

QByteArray KLFEnumType::specification ( ) const [inline, virtual]

Implements KLFSpecifyableType.

Definition at line 200 of file klfpobj.h.

Referenced by operator<<().

int KLFEnumType::value ( ) const [inline]

Definition at line 172 of file klfpobj.h.

Referenced by klfSaveVariantToText(), operator<<(), and operator==().


The documentation for this class was generated from the following file:

Generated by doxygen 1.7.6.1. The KLatexFormula website is hosted on sourceforge.net