#include <QtGui/qprintengine.h> #ifndef QPRINTENGINE_H #ifndef QT_NO_PRINTER class QPrintEngine{ /* Some contents are skipped to improve readability */ public: virtual class QVariant property(enum QPrintEngine::PrintEnginePropertyKey key) const = 0; /* ... */ }; #endif // QT_NO_PRINTER #endif // QPRINTENGINE_H