#include <QtGui/qitemeditorfactory.h> #ifndef QITEMEDITORFACTORY_H #ifndef QT_NO_ITEMVIEWS class QItemEditorCreatorBase{ /* Some contents are skipped to improve readability */ public: virtual class QByteArray valuePropertyName() const = 0; /* ... */ }; #endif // QT_NO_ITEMVIEWS #endif // QITEMEDITORFACTORY_H