Qt 4.8
Public Functions | List of all members
QDirectFBPointer< T > Class Template Reference

#include <qdirectfbconvenience.h>

Inheritance diagram for QDirectFBPointer< T >:
QScopedPointer< T, QDirectFBInterfaceCleanupHandler< T > > QScopedPointer< T, QDirectFBInterfaceCleanupHandler< T > >

Public Functions

T ** outPtr ()
 
 QDirectFBPointer (T *t=0)
 
 QDirectFBPointer (T *t=0)
 
- Public Functions inherited from QScopedPointer< T, QDirectFBInterfaceCleanupHandler< T > >
T * data () const
 Returns the value of the pointer referenced by this object. More...
 
bool isNull () const
 Returns true if this object is holding a pointer that is null. More...
 
 operator bool () const
 Returns true if this object is not null. More...
 
bool operator! () const
 Returns true if the pointer referenced by this object is null, otherwise returns false. More...
 
T & operator* () const
 Provides access to the scoped pointer's object. More...
 
T * operator-> () const
 Provides access to the scoped pointer's object. More...
 
 QScopedPointer (T *p=0)
 Constructs this QScopedPointer instance and sets its pointer to p. More...
 
void reset (T *other=0)
 Deletes the existing object it is pointing to if any, and sets its pointer to other. More...
 
void swap (QScopedPointer< T, QDirectFBInterfaceCleanupHandler< T > > &other)
 Swap this pointer with other. More...
 
T * take ()
 Returns the value of the pointer referenced by this object. More...
 
 ~QScopedPointer ()
 Destroys this QScopedPointer object. More...
 

Additional Inherited Members

- Public Types inherited from QScopedPointer< T, QDirectFBInterfaceCleanupHandler< T > >
typedef T * pointer
 
- Protected Variables inherited from QScopedPointer< T, QDirectFBInterfaceCleanupHandler< T > >
T * d
 

Detailed Description

template<typename T>
class QDirectFBPointer< T >

Definition at line 227 of file qdirectfbpixmap.cpp.

Constructors and Destructors

◆ QDirectFBPointer() [1/2]

template<typename T>
QDirectFBPointer< T >::QDirectFBPointer ( T *  t = 0)
inline

Definition at line 230 of file qdirectfbpixmap.cpp.

232  {}
The QScopedPointer class stores a pointer to a dynamically allocated object, and deletes it upon dest...

◆ QDirectFBPointer() [2/2]

template<typename T>
QDirectFBPointer< T >::QDirectFBPointer ( T *  t = 0)
inline

Definition at line 103 of file qdirectfbconvenience.h.

105  {}
The QScopedPointer class stores a pointer to a dynamically allocated object, and deletes it upon dest...

Functions

◆ outPtr()

template<typename T>
T** QDirectFBPointer< T >::outPtr ( )
inline

The documentation for this class was generated from the following files: