#include <QtGui/qstandarditemmodel.h> #ifndef QSTANDARDITEMMODEL_H #ifndef QT_NO_STANDARDITEMMODEL class QStandardItem{ /* Some contents are skipped to improve readability */ public: void setDropEnabled(bool dropEnabled); /* ... */ }; #endif // QT_NO_STANDARDITEMMODEL #endif //QSTANDARDITEMMODEL_H