#include <QtGui/qtextformat.h> #ifndef QTEXTFORMAT_H class QTextBlockFormat: public QTextFormat{ /* Some contents are skipped to improve readability */ public: inline class QFlags < enum QTextFormat::PageBreakFlag > pageBreakPolicy() const /* ... */ }; #endif // QTEXTFORMAT_H