Qt 4.8
Public Functions | Properties | List of all members
QSvgRefCounted Class Reference

#include <qsvgstyle_p.h>

Inheritance diagram for QSvgRefCounted:
QSvgFont QSvgStyleProperty QSvgAnimateColor QSvgAnimateTransform QSvgCompOpStyle QSvgFillStyle QSvgFillStyleProperty QSvgFontStyle QSvgOpacityStyle QSvgQualityStyle QSvgStrokeStyle QSvgTransformStyle QSvgViewportFillStyle

Public Functions

void deref ()
 
 QSvgRefCounted ()
 
void ref ()
 
virtual ~QSvgRefCounted ()
 

Properties

int _ref
 

Detailed Description

Definition at line 121 of file qsvgstyle_p.h.

Constructors and Destructors

◆ QSvgRefCounted()

QSvgRefCounted::QSvgRefCounted ( )
inline

Definition at line 124 of file qsvgstyle_p.h.

124 { _ref = 0; }

◆ ~QSvgRefCounted()

virtual QSvgRefCounted::~QSvgRefCounted ( )
inlinevirtual

Definition at line 125 of file qsvgstyle_p.h.

125 {}

Functions

◆ deref()

void QSvgRefCounted::deref ( )
inline

Definition at line 130 of file qsvgstyle_p.h.

130  {
131 // qDebug() << this << ": removing ref, now " << _ref;
132  if(!--_ref) {
133 // qDebug(" deleting");
134  delete this;
135  }
136  }

◆ ref()

void QSvgRefCounted::ref ( )
inline

Definition at line 126 of file qsvgstyle_p.h.

126  {
127  ++_ref;
128 // qDebug() << this << ": adding ref, now " << _ref;
129  }

Properties

◆ _ref

int QSvgRefCounted::_ref
private

Definition at line 138 of file qsvgstyle_p.h.


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