#include <QtGui/qtextformat.h> #ifndef QTEXTFORMAT_H class QTextLength{ /* Some contents are skipped to improve readability */ public: explicit inline QTextLength(enum QTextLength::Type atype, qreal avalue); /* ... */ }; #endif // QTEXTFORMAT_H