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