}
/*!
- \fn Qt::KeyboardModifiers QApplication::queryKeyboardModifiers()
+ \fn Qt::KeyboardModifiers QGuiApplication::queryKeyboardModifiers()
Queries and returns the state of the modifier keys on the keyboard.
Unlike keyboardModifiers, this method returns the actual keys held
*/
/*!
- \fn QPlatformCursor::QPlatformCursor(QPlatformScreen *screen)
+ \fn QPlatformCursor::QPlatformCursor()
- Constructs a QPlatformCursor for the given \a screen.
+ Constructs a QPlatformCursor.
*/
QPlatformCursor::QPlatformCursor()
{
*/
/*!
- \fn QPoint QPlatformCursorImage::hotspot()
+ \fn QPoint QPlatformCursorImage::hotspot() const
\brief Return the cursor's hotspot
*/
Reimplement in subclass to return the image format which corresponds to the screen format
*/
-
-/*!
- \class QPlatformScreenPageFlipper
- \since 5.0
- \internal
- \preliminary
- \ingroup qpa
-
- \brief The QPlatformScreenPageFlipper class provides an abstract interface for display buffer swapping
-
- Implement the displayBuffer() function to initiate a buffer swap. The
- bufferDisplayed() signal should be emitted once the buffer is actually displayed on
- the screen. The bufferReleased() signal should be emitted when the buffer data is no
- longer owned by the display hardware.
-*/
-
-/*! \fn bool QPlatformScreenPageFlipper::displayBuffer(void *bufferHandle)
-
-Implemented in subclasses to display the buffer referenced by \a bufferHandle directly on
-the screen. Returns \c true if it is possible to display the buffer, and \c false if the
-buffer cannot be displayed.
-
-If this function returns true, the buffer must not be modified or destroyed before the
-bufferReleased() signal is emitted. The signal bufferDisplayed() is emitted when the buffer
-is displayed on the screen. The two signals may be emitted in either order.
-
-This function is allowed to block.
-*/
-
-
/*!
Implemented in subclasses to return a page flipper object for the screen, or 0 if the
hardware does not support page flipping. The default implementation returns 0.
\preliminary
\ingroup qpa
- \brief The QPlatformScreenPageFlipper class provides an abstraction for flipping the screen
- page.
- */
+ \brief The QPlatformScreenPageFlipper class provides an abstract interface for display buffer swapping
+
+ Implement the displayBuffer() function to initiate a buffer swap. The
+ bufferDisplayed() signal should be emitted once the buffer is actually displayed on
+ the screen. The bufferReleased() signal should be emitted when the buffer data is no
+ longer owned by the display hardware.
+*/
QPlatformScreenPageFlipper::QPlatformScreenPageFlipper(QObject *parent)
:QObject(parent)
}
+/*!
+ \fn bool QPlatformScreenPageFlipper::displayBuffer(QPlatformScreenBuffer *buffer)
+
+ Implemented in subclasses to display \a buffer directly on the screen. Returns \c true
+ if it is possible to display the buffer, and \c false if the buffer cannot be displayed.
+
+ If this function returns true, the buffer must not be modified or destroyed before the
+ bufferReleased() signal is emitted. The signal bufferDisplayed() is emitted when the buffer
+ is displayed on the screen. The two signals may be emitted in either order.
+
+ This function is allowed to block.
+*/
+
QT_END_NAMESPACE
/*!
* \brief QPlatformServices::desktopEnvironment returns the active desktop environment.
- * \return On Unix this function returns KDE, GNOME or UNKNOWN.
+ *
+ * On Unix this function returns KDE, GNOME or UNKNOWN.
*/
QByteArray QPlatformServices::desktopEnvironment() const
{
/*!
\fn void QPlatformSystemTrayIcon::showMessage(const QString &msg, const QString &title,
const QIcon &icon, MessageIcon iconType, int secs)
- Shows a balloon message for the entry with the given \a title, message \msg and \a icon for
- the time specified in \secs. \a iconType is used as a hint for the implementing platform.
+ Shows a balloon message for the entry with the given \a title, message \a msg and \a icon for
+ the time specified in \a secs. \a iconType is used as a hint for the implementing platform.
\sa QSystemTrayIcon::showMessage
*/
/*!
- \fn bool QPlatformSystemTrayIcon::isSystemTrayAvailable()
+ \fn bool QPlatformSystemTrayIcon::isSystemTrayAvailable() const
Returns true if the system tray is available on the platform.
*/
/*!
- bool QPlatformSystemTrayIcon::supportsMessages()
+ \fn bool QPlatformSystemTrayIcon::supportsMessages() const
Returns true if the system tray supports messages on the platform.
*/
/*!
- \fn void activated(QPlatformSystemTrayIcon::ActivationReason reason)
+ \fn void QPlatformSystemTrayIcon::activated(QPlatformSystemTrayIcon::ActivationReason reason)
This signal is emitted when the user activates the system tray icon.
\a reason specifies the reason for activation.
- \sa QSystemTrayIcon::ActivationReason.
+ \sa QSystemTrayIcon::ActivationReason
*/
QT_END_NAMESPACE
}
/*!
- \property QScreen::virtualSize
- \brief the pixel size of the virtual desktop corresponding to this screen
+ Returns the pixel size of the virtual desktop corresponding to this screen.
This is the combined size of the virtual siblings' individual geometries.
}
/*!
- \property QScreen::availableVirtualSize
- \brief the available pixel size of the virtual desktop corresponding to this screen
+ Returns the available pixel size of the virtual desktop corresponding to this screen.
This is the combined size of the virtual siblings' individual available geometries.
- \sa availableSize()
- \sa virtualSiblings()
+ \sa availableSize(), virtualSiblings()
*/
QSize QScreen::availableVirtualSize() const
{
}
/*!
- \property QScreen::availableVirtualGeometry
- \brief the available size of the virtual desktop corresponding to this screen
+ Returns the available size of the virtual desktop corresponding to this screen.
This is the union of the virtual siblings' individual available geometries.
- \sa availableGeometry()
- \sa virtualSiblings()
+ \sa availableGeometry(), virtualSiblings()
*/
QRect QScreen::availableVirtualGeometry() const
{