Qt 4.8
Static Public Functions | List of all members
QPainterPathPrivateDeleter Struct Reference

Static Public Functions

static void cleanup (QPainterPathPrivate *d)
 

Detailed Description

Definition at line 76 of file qpainterpath.cpp.

Functions

◆ cleanup()

static void QPainterPathPrivateDeleter::cleanup ( QPainterPathPrivate d)
inlinestatic

Definition at line 78 of file qpainterpath.cpp.

79  {
80  // note - we must up-cast to QPainterPathData since QPainterPathPrivate
81  // has a non-virtual destructor!
82  if (d && !d->ref.deref())
83  delete static_cast<QPainterPathData *>(d);
84  }
bool deref()
Atomically decrements the value of this QAtomicInt.

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