#include <QtGui/qtextformat.h>
#ifndef QTEXTFORMAT_H
class QTextLength{
public: enum Type{
VariableLength = 0,
FixedLength = 1,
PercentageLength = 2,
};
public: inline QTextLength();
public: inline enum QTextLength::Type type() const
public: inline qreal value(qreal maximumLength) const
public: inline qreal rawValue() const
public: inline bool operator ==(class QTextLength const & other) const
public: inline bool operator !=(class QTextLength const & other) const
public: operator class QVariant () const
private: enum QTextLength::Type lengthType;
private: qreal fixedValueOrPercentage;
public: explicit inline QTextLength(enum QTextLength::Type atype, qreal avalue);
friend class QDataStream& operator <<(class QDataStream&, class QTextLength const &);
friend class QDataStream& operator >>(class QDataStream&, class QTextLength&);
};
#endif // QTEXTFORMAT_H