Home · All Classes · All Functions · Overviews

Q3Shared Class Reference
[
Qt3Support module]

The Q3Shared class is used internally for implementing shared classes. More...

 #include <Q3Shared>

This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.


Public Functions

Q3Shared ()
bool deref ()
void ref ()

Detailed Description

The Q3Shared class is used internally for implementing shared classes.

Use QSharedData and QSharedDataPointer instead.


Member Function Documentation

Q3Shared::Q3Shared ()

Constructs a Q3Shared object with a reference count of 1.

bool Q3Shared::deref ()

Decrements the reference count and returns true if any references remain.

void Q3Shared::ref ()

Increments the reference count.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.6.0