#include <QtGui/qdesktopwidget.h> #ifndef QDESKTOPWIDGET_H class QDesktopWidget: public QWidget{ /* Some contents are skipped to improve readability */ public: class QWidget* screen(int screen = -1); /* ... */ }; #endif // QDESKTOPWIDGET_H