#include <QtGui/qtextcursor.h> #ifndef QTEXTCURSOR_H class QTextCursor{ /* Some contents are skipped to improve readability */ public: void selectedTableCells(int* firstRow, int* numRows, int* firstColumn, int* numColumns) const /* ... */ }; #endif // QTEXTCURSOR_H