#include <QtGui/qitemeditorfactory.h> #ifndef QITEMEDITORFACTORY_H #ifndef QT_NO_ITEMVIEWS class QItemEditorFactory{ /* Some contents are skipped to improve readability */ public: virtual ~QItemEditorFactory(); /* ... */ }; #endif // QT_NO_ITEMVIEWS #endif // QITEMEDITORFACTORY_H