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