QPlatformNativeInterface Class
The QPlatformNativeInterface class provides an abstraction for retrieving native resource handles. More...
Header: | #include <QPlatformNativeInterface> |
Inherits: | QObject |
Public Functions
virtual void | setWindowProperty(QPlatformWindow *window, const QString &name, const QVariant &value) |
virtual QVariantMap | windowProperties(QPlatformWindow *window) const |
virtual QVariant | windowProperty(QPlatformWindow *window, const QString &name) const |
virtual QVariant | windowProperty(QPlatformWindow *window, const QString &name, const QVariant &defaultValue) const |
Detailed Description
\since
5.0 \internal
\preliminary
\ingroup
qpa
Member Function Documentation
[virtual]
void QPlatformNativeInterface::setWindowProperty(QPlatformWindow *window, const QString &name, const QVariant &value)
Sets a window property with name to value.
See also windowProperty().
[virtual]
QVariantMap QPlatformNativeInterface::windowProperties(QPlatformWindow *window) const
Contains generic window properties that the platform may utilize.
[virtual]
QVariant QPlatformNativeInterface::windowProperty(QPlatformWindow *window, const QString &name) const
Returns a window property with name.
If the property does not exist, returns a default-constructed value.
See also setWindowProperty().
[virtual]
QVariant QPlatformNativeInterface::windowProperty(QPlatformWindow *window, const QString &name, const QVariant &defaultValue) const
Returns a window property with name. If the value does not exist, defaultValue is returned.