#include <QtCore/qabstractitemmodel.h> #ifndef QABSTRACTITEMMODEL_H class QAbstractItemModel: public QObject{ /* Some contents are skipped to improve readability */ public: virtual Qt::DropActions supportedDropActions() const /* ... */ }; #endif // QABSTRACTITEMMODEL_H