#include <QtGui/qtextformat.h> #ifndef QTEXTFORMAT_H class QTextFormat{ /* Some contents are skipped to improve readability */ public: explicit QTextFormat(int type); /* ... */ }; #endif // QTEXTFORMAT_H