#include <QtGui/qproxymodel.h> #ifndef QPROXYMODEL_H #ifndef QT_NO_PROXYMODEL class QProxyModel: public QAbstractItemModel{ /* Some contents are skipped to improve readability */ public: virtual void sort(int column, enum Qt::SortOrder order); /* ... */ }; #endif // QT_NO_PROXYMODEL #endif // QPROXYMODEL_H