#include <klfpobj.h>
Public Member Functions | |
KLFEnumType (int initvalue=0) | |
KLFEnumType (const KLFEnumType ©) | |
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) |
KLFEnumType::KLFEnumType | ( | int | initvalue = 0 | ) | [inline] |
KLFEnumType::KLFEnumType | ( | const KLFEnumType & | copy | ) | [inline] |
virtual KLFEnumType::~KLFEnumType | ( | ) | [inline, virtual] |
QString KLFEnumType::enumValue | ( | ) | const [inline] |
Definition at line 181 of file klfpobj.h.
References klfWarning.
QStringList KLFEnumType::enumValues | ( | ) | const [inline] |
void KLFEnumType::setEnumValues | ( | const QStringList & | list | ) | [inline] |
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==().