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