#include <QtGui/qprinter.h>
#ifndef QPRINTER_H
#ifndef QT_NO_PRINTER
class QPrinter: public QPaintDevice{
   /* Some contents are skipped to improve readability */
#if !defined(Q_WS_WIN) || defined(qdoc)
   public: class QString printerSelectionOption() const
#endif
   /* ... */
};
#endif // QT_NO_PRINTER
#endif // QPRINTER_H