#include <QtGui/qimagewriter.h> #ifndef QIMAGEWRITER_H class QImageWriter{ /* Some contents are skipped to improve readability */ public: class QString fileName() const /* ... */ }; #endif // QIMAGEWRITER_H