#include <QtGui/qtextformat.h> #ifndef QTEXTFORMAT_H class QTextFormat{ /* Some contents are skipped to improve readability */ public: typedef class QFlags < enum QTextFormat::PageBreakFlag > PageBreakFlags; /* ... */ }; #endif // QTEXTFORMAT_H