Qt 4.8
Static Public Functions | List of all members
QDirectFBInterfaceCleanupHandler< T > Struct Template Reference

#include <qdirectfbconvenience.h>

Static Public Functions

static void cleanup (T *t)
 
static void cleanup (T *t)
 

Detailed Description

template<typename T>
struct QDirectFBInterfaceCleanupHandler< T >

Definition at line 221 of file qdirectfbpixmap.cpp.

Functions

◆ cleanup() [1/2]

template<typename T >
static void QDirectFBInterfaceCleanupHandler< T >::cleanup ( T *  t)
inlinestatic

Definition at line 91 of file qdirectfbconvenience.h.

92  {
93  if (!t)
94  return;
95  t->Release(t);
96  }

◆ cleanup() [2/2]

template<typename T >
static void QDirectFBInterfaceCleanupHandler< T >::cleanup ( T *  t)
inlinestatic

Definition at line 223 of file qdirectfbpixmap.cpp.

223 { if (t) t->Release(t); }

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