#include <QtGui/qmime.h> #ifndef QMIME_H class QMimeSource{ /* Some contents are skipped to improve readability */ public: virtual class QByteArray encodedData(char const *) const = 0; /* ... */ }; #endif // QMIME_H