#include <QtGui/qwidget.h>
#ifndef QWIDGET_H
class QWidget: public QObject, public QPaintDevice{
   /* Some contents are skipped to improve readability */
   protected: void create(WId = 0, bool initializeWindow = 1, bool destroyOldWindow = 1);
   /* ... */
};
#endif // QWIDGET_H