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