#include <QtGui/qstandarditemmodel.h> #ifndef QSTANDARDITEMMODEL_H #ifndef QT_NO_STANDARDITEMMODEL class QStandardItem{ /* Some contents are skipped to improve readability */ public: inline Qt::Alignment textAlignment() const /* ... */ }; #endif // QT_NO_STANDARDITEMMODEL #endif //QSTANDARDITEMMODEL_H