#include <QtCore/qbuffer.h>
#ifndef QBUFFER_H
class QBuffer: public QIODevice{
   /* Some contents are skipped to improve readability */
#ifndef QT_NO_QOBJECT
   public: virtual struct QMetaObject const * metaObject() const
#endif
   /* ... */
};
#endif // QBUFFER_H