CopperSpice API  1.9.2
QPlatformNativeInterface Class Reference

Provides an abstraction for retrieving native resource handles. More...

Inheritance diagram for QPlatformNativeInterface:
QObject

Public Signals

void windowPropertyChanged (QPlatformWindow *window, const QString &propertyName)
 
- Public Signals inherited from QObject
void destroyed (QObject *obj=nullptr)
 
void objectNameChanged (const QString &objectName)
 

Public Methods

virtual void * nativeResourceForBackingStore (const QByteArray &resource, QBackingStore *backingStore)
 
virtual void * nativeResourceForContext (const QByteArray &resource, QOpenGLContext *context)
 
virtual void * nativeResourceForIntegration (const QByteArray &resource)
 
virtual void * nativeResourceForScreen (const QByteArray &resource, QScreen *screen)
 
virtual void * nativeResourceForWindow (const QByteArray &resource, QWindow *window)
 
virtual FP_BackingStore nativeResourceFunctionForBackingStore (const QByteArray &resource)
 
virtual FP_Context nativeResourceFunctionForContext (const QByteArray &resource)
 
virtual FP_Integration nativeResourceFunctionForIntegration (const QByteArray &resource)
 
virtual FP_Screen nativeResourceFunctionForScreen (const QByteArray &resource)
 
virtual FP_Window nativeResourceFunctionForWindow (const QByteArray &resource)
 
virtual FP_Void platformFunction (const QByteArray &function) const
 
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
 
- Public Methods inherited from QObject
 QObject (QObject *parent=nullptr)
 
 ~QObject ()
 
bool blockSignals (bool block)
 
const QList< QObject * > & children () const
 
bool connect (const QObject *sender, const QString &signalMethod, const QString &location, const QString &slotMethod, Qt::ConnectionType type=Qt::AutoConnection)
 
bool connect (const QObject *sender, const QString &signalMethod, const QString &slotMethod, Qt::ConnectionType type=Qt::AutoConnection)
 
bool disconnect (const QObject *receiver, const QString &slotMethod=QString ()) const
 
bool disconnect (const QString &signalMethod, const QString &location, const QObject *receiver=nullptr, const QString &slotMethod=QString ()) const
 
bool disconnect (const QString &signalMethod=QString (), const QObject *receiver=nullptr, const QString &slotMethod=QString ()) const
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QStringdynamicPropertyNames () const
 
virtual bool event (QEvent *event)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
template<typename T >
findChild (const QString &childName=QString ()) const
 
template<class T >
QList< T > findChildren (const QRegularExpression &regExp, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
template<class T >
QList< T > findChildren (const QString &childName=QString (), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
bool inherits (const QString &className) const
 
void installEventFilter (QObject *filterObj)
 
bool isWidgetType () const
 
bool isWindowType () const
 
void killTimer (int id)
 
const QMetaObjectmetaObject () const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const
 
QObject * parent () const
 
template<class T = QVariant>
property (const QString &name) const
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const QString &name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer)
 
QThreadthread () const
 

Additional Inherited Members

- Public Slots inherited from QObject
void deleteLater ()
 
- Static Public Methods inherited from QObject
static bool connect (const QObject *sender, const QMetaMethod &signalMethod, const QObject *receiver, const QMetaMethod &slotMethod, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool connect (const QObject *sender, const QString &signalMethod, const QObject *receiver, const QString &slotMethod, Qt::ConnectionType type=Qt::AutoConnection, const QString &location=QString ())
 
static bool connect (const QObject *sender, const QString &signalMethod, const QString &location, const QObject *receiver, const QString &slotMethod, Qt::ConnectionType type=Qt::AutoConnection)
 
template<class Sender , class SignalClass , class... SignalArgs, class Receiver , class SlotClass , class... SlotArgs, class SlotReturn >
static bool connect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, SlotReturn (SlotClass::*slotMethod)(SlotArgs...), Qt::ConnectionType type=Qt::AutoConnection)
 
template<class Sender , class SignalClass , class... SignalArgs, class Receiver , class T >
static bool connect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, T slotLambda, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool disconnect (const QObject *sender, const QMetaMethod &signalMethod, const QObject *receiver, const QMetaMethod &slotMethod)
 
static bool disconnect (const QObject *sender, const QString &signalMethod, const QObject *receiver, const QString &slotMethod)
 
static bool disconnect (const QObject *sender, const QString &signalMethod, const QString &location, const QObject *receiver, const QString &slotMethod)
 
static bool disconnect (const QObject *sender, std::nullptr_t, const QObject *receiver, std::nullptr_t)
 
template<class Sender , class SignalClass , class... SignalArgs, class Receiver , class SlotClass , class... SlotArgs, class SlotReturn >
static bool disconnect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, SlotReturn (SlotClass::*slotMethod)(SlotArgs...))
 
template<class Sender , class SignalClass , class... SignalArgs, class Receiver >
static bool disconnect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, std::nullptr_t slotMethod=nullptr)
 
template<class Sender , class SignalClass , class... SignalArgs, class Receiver , class T >
static bool disconnect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, T slotMethod)
 
static QMetaObjectstaticMetaObject ()
 
static QString tr (const char *text, const char *comment=nullptr, std::optional< int > numArg=std::optional< int >())
 
- Protected Methods inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signalMethod) const
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signalMethod) const
 
bool isSignalConnected (const QMetaMethod &signalMethod) const
 
int receivers (const QString &signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Properties inherited from QObject
 objectName
 

Detailed Description

The QPlatformNativeInterface class provides an abstraction for retrieving native resource handles.

Method Documentation

void * QPlatformNativeInterface::nativeResourceForBackingStore ( const QByteArray resource,
QBackingStore backingStore 
)
virtual

Additional documentation pending.

void * QPlatformNativeInterface::nativeResourceForContext ( const QByteArray resource,
QOpenGLContext context 
)
virtual

Additional documentation pending.

void * QPlatformNativeInterface::nativeResourceForIntegration ( const QByteArray resource)
virtual

Additional documentation pending.

void * QPlatformNativeInterface::nativeResourceForScreen ( const QByteArray resource,
QScreen screen 
)
virtual

Additional documentation pending.

void * QPlatformNativeInterface::nativeResourceForWindow ( const QByteArray resource,
QWindow window 
)
virtual

Additional documentation pending.

QPlatformNativeInterface::FP_BackingStore QPlatformNativeInterface::nativeResourceFunctionForBackingStore ( const QByteArray resource)
virtual

Additional documentation pending.

QPlatformNativeInterface::FP_Context QPlatformNativeInterface::nativeResourceFunctionForContext ( const QByteArray resource)
virtual

Additional documentation pending.

QPlatformNativeInterface::FP_Integration QPlatformNativeInterface::nativeResourceFunctionForIntegration ( const QByteArray resource)
virtual

Additional documentation pending.

QPlatformNativeInterface::FP_Screen QPlatformNativeInterface::nativeResourceFunctionForScreen ( const QByteArray resource)
virtual

Additional documentation pending.

QPlatformNativeInterface::FP_Window QPlatformNativeInterface::nativeResourceFunctionForWindow ( const QByteArray resource)
virtual

Additional documentation pending.

QPlatformNativeInterface::FP_Void QPlatformNativeInterface::platformFunction ( const QByteArray function) const
virtual

Additional documentation pending.

void QPlatformNativeInterface::setWindowProperty ( QPlatformWindow window,
const QString name,
const QVariant value 
)
virtual

Sets a window property with name to value.

QVariantMap QPlatformNativeInterface::windowProperties ( QPlatformWindow window) const
virtual

Contains generic window properties that the platform may utilize.

QVariant QPlatformNativeInterface::windowProperty ( QPlatformWindow window,
const QString name 
) const
virtual

Returns a window property with name. If the property does not exist, returns a default-constructed value.

QVariant QPlatformNativeInterface::windowProperty ( QPlatformWindow window,
const QString name,
const QVariant defaultValue 
) const
virtual

Returns a window property with name. If the value does not exist, defaultValue is returned.

void QPlatformNativeInterface::windowPropertyChanged ( QPlatformWindow window,
const QString propertyName 
)
signal

Additional documentation pending.