#include <QtGui/qworkspace.h> #ifndef QWORKSPACE_H #ifndef QT_NO_WORKSPACE class QWorkspace: public QWidget{ /* Some contents are skipped to improve readability */ public: class QWidget* addWindow(class QWidget* w, Qt::WindowFlags flags = 0); /* ... */ }; #endif // QT_NO_WORKSPACE #endif // QWORKSPACE_H