#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* qt_metacast(char const *); /* ... */ }; #endif // QT_NO_PROXYMODEL #endif // QPROXYMODEL_H