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