#include <QtGui/qtextformat.h> #ifndef QTEXTFORMAT_H class QTextLength{ /* Some contents are skipped to improve readability */ private: qreal fixedValueOrPercentage; /* ... */ }; #endif // QTEXTFORMAT_H