#include <QtGui/qprinter.h>
#ifndef QPRINTER_H
#ifndef QT_NO_PRINTER
class QPrinter: public QPaintDevice{
   /* Some contents are skipped to improve readability */
   public: enum PrinterState{
      Idle = 0,
      Active = 1,
      Aborted = 2,
      Error = 3,
   };
   /* ... */
};
#endif // QT_NO_PRINTER
#endif // QPRINTER_H