Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qohoswindowproperty.h File Reference

(b4629d968c1a9f89eb99633c039fc5d55d30c907)

#include <qohosutils.h>
#include <QtCore/qpointer.h>
#include <QtCore/private/qohoscommon_p.h>
#include <QtCore/qglobal.h>
#include <QtCore/qvariant.h>
#include <QtGui/qwindow.h>
#include <memory>
#include <optional>
#include <utility>
Include dependency graph for qohoswindowproperty.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QOhosPropertyDescriptor< T >
class  QOhosPropertiesStore
class  QOhosPropertiesProvider

Namespaces

namespace  qohoswindowproperty_h_detail

Functions

template<typename T, const QOhosPropertyDescriptor< T > * propertyPtr>
void setQOhosPropertyOnQObject (QObject *qObject, T propertyValue)
template<typename T, const QOhosPropertyDescriptor< T > * propertyPtr>
std::optional< T > tryGetQOhosPropertyFromQObject (QObject *qObject)
template<typename T, const QOhosPropertyDescriptor< T > * propertyPtr>
const char * qohoswindowproperty_h_detail::qObjectOhosPropertyName ()
template<typename T>
std::optional< T > qohoswindowproperty_h_detail::tryMapFromQVariant (QVariant variant)
template<>
std::optional< QWindow * > qohoswindowproperty_h_detail::tryMapFromQVariant< QWindow * > (QVariant variant)

Function Documentation

◆ setQOhosPropertyOnQObject()

template<typename T, const QOhosPropertyDescriptor< T > * propertyPtr>
void setQOhosPropertyOnQObject ( QObject * qObject,
T propertyValue )

Definition at line 120 of file qohoswindowproperty.h.

◆ tryGetQOhosPropertyFromQObject()

template<typename T, const QOhosPropertyDescriptor< T > * propertyPtr>
std::optional< T > tryGetQOhosPropertyFromQObject ( QObject * qObject)

Definition at line 128 of file qohoswindowproperty.h.