![]() |
Qt 6.x
The Qt SDK
|
#include <qdirectfbconvenience.h>
Public Member Functions | |
Q_NODISCARD_CTOR | QDirectFBPointer (T *t=nullptr) |
T ** | outPtr () |
![]() | |
Q_NODISCARD_CTOR | QScopedPointer (T *p=nullptr) noexcept |
Constructs this QScopedPointer instance and sets its pointer to p. | |
~QScopedPointer () | |
Destroys this QScopedPointer object. | |
T & | operator* () const |
Provides access to the scoped pointer's object. | |
T * | operator-> () const noexcept |
Provides access to the scoped pointer's object. | |
bool | operator! () const noexcept |
Returns true if this object refers to \nullptr. | |
operator bool () const | |
Returns true if the contained pointer is not \nullptr. | |
T * | data () const noexcept |
Returns the value of the pointer referenced by this object. | |
T * | get () const noexcept |
bool | isNull () const noexcept |
Returns true if this object refers to \nullptr. | |
void | reset (T *other=nullptr) noexcept(noexcept(Cleanup::cleanup(std::declval< T * >()))) |
Deletes the existing object it is pointing to (if any), and sets its pointer to other. | |
Additional Inherited Members | |
![]() | |
typedef T * | pointer |
![]() | |
T * | d |
Definition at line 62 of file qdirectfbconvenience.h.
|
inline |
Definition at line 65 of file qdirectfbconvenience.h.
|
inline |
Definition at line 69 of file qdirectfbconvenience.h.
References QScopedPointer< T, QDirectFBInterfaceCleanupHandler< T > >::d.
Referenced by QDirectFbBackingStore::QDirectFbBackingStore(), QDirectFbBlitter::QDirectFbBlitter(), QDirectFbInput::QDirectFbInput(), QDirectFbWindowEGL::createDirectFBWindow(), QDirectFbWindow::createDirectFBWindow(), QDirectFbWindow::dfbSurface(), QDirectFbWindow::setVisible(), and QDirectFbTextureGlyphCache::sourceSurface().