42 #ifndef QDESKTOPWIDGET_H 43 #define QDESKTOPWIDGET_H 45 #include <QtGui/qwidget.h> 66 bool isVirtualDesktop()
const;
68 int numScreens()
const;
69 int screenCount()
const;
70 int primaryScreen()
const;
73 int screenNumber(
const QPoint &)
const;
75 QWidget *screen(
int screen = -1);
77 const QRect screenGeometry(
int screen = -1)
const;
80 {
return screenGeometry(screenNumber(point)); }
82 const QRect availableGeometry(
int screen = -1)
const;
85 {
return availableGeometry(screenNumber(point)); }
89 void workAreaResized(
int);
90 void screenCountChanged(
int);
104 {
return numScreens(); }
110 #endif // QDESKTOPWIDGET_H The QApplication class manages the GUI application's control flow and main settings.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QResizeEvent class contains event parameters for resize events.
The QPoint class defines a point in the plane using integer precision.
The QRect class defines a rectangle in the plane using integer precision.
#define Q_DECLARE_PRIVATE(Class)