19 #include <dtkCoreSupport/dtkGlobal.h>
25 class axlIntegerPrivate
54 this->setParent(other.parent());
55 d->value = other.
value();
74 d->value= other.
value();
124 QString result =
"axlInteger";
125 result.append(
"\n value : "+QString::number(d->value) );
136 QVariant
id = QVariant::fromValue(
identifier());
138 QVariant
value = QVariant::fromValue(d->value);
146 d->value = data.last().toInt();
virtual QString description(void) const
QDebug operator<<(QDebug dbg, axlInteger value)
axlInteger(QObject *parent=0)
axlInteger & operator=(const axlInteger &other)
Assigns other to this integer and returns a reference to this integer.
int convertQVariantToData(const QVariantList &data)
Class axlInteger defines an integer.
QVariantList convertDataToQVariant(void) const
virtual QString identifier(void) const
void setValue(int newValue)
Assigns a new value to the axlInteger.
int value(void) const
Return the value of the axlInteger.
~axlInteger(void)
Destroys the axel integer.
dtkAbstractData * createaxlInteger(void)
Class axlAbstractData defines an API for all type of axel data.