#include <QtGui/qtextobject.h> #ifndef QTEXTOBJECT_H class QTextObject: public QObject{ /* Some contents are skipped to improve readability */ protected: void setFormat(class QTextFormat const & format); /* ... */ }; #endif // QTEXTOBJECT_H