#include <QtGui/qtextformat.h> #ifndef QTEXTFORMAT_H class QTextBlockFormat: public QTextFormat{ /* Some contents are skipped to improve readability */ public: inline void setLeftMargin(qreal margin); /* ... */ }; #endif // QTEXTFORMAT_H