Qt 4.8
Public Functions | Public Variables | List of all members
QDBusUnixFileDescriptorPrivate Class Reference
Inheritance diagram for QDBusUnixFileDescriptorPrivate:
QSharedData

Public Functions

 QDBusUnixFileDescriptorPrivate ()
 
 QDBusUnixFileDescriptorPrivate (const QDBusUnixFileDescriptorPrivate &other)
 
 ~QDBusUnixFileDescriptorPrivate ()
 
- Public Functions inherited from QSharedData
 QSharedData ()
 Constructs a QSharedData object with a reference count of 0. More...
 
 QSharedData (const QSharedData &)
 Constructs a QSharedData object with reference count 0. More...
 

Public Variables

QAtomicInt fd
 
- Public Variables inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 118 of file qdbusunixfiledescriptor.cpp.

Constructors and Destructors

◆ QDBusUnixFileDescriptorPrivate() [1/2]

QDBusUnixFileDescriptorPrivate::QDBusUnixFileDescriptorPrivate ( )
inline

Definition at line 120 of file qdbusunixfiledescriptor.cpp.

◆ QDBusUnixFileDescriptorPrivate() [2/2]

QDBusUnixFileDescriptorPrivate::QDBusUnixFileDescriptorPrivate ( const QDBusUnixFileDescriptorPrivate other)
inline

Definition at line 121 of file qdbusunixfiledescriptor.cpp.

122  : QSharedData(other), fd(-1)
123  { }
QSharedData()
Constructs a QSharedData object with a reference count of 0.
Definition: qshareddata.h:61

◆ ~QDBusUnixFileDescriptorPrivate()

QDBusUnixFileDescriptorPrivate::~QDBusUnixFileDescriptorPrivate ( )

Definition at line 304 of file qdbusunixfiledescriptor.cpp.

Referenced by QDBusUnixFileDescriptorPrivate().

305 {
306  if (fd != -1)
307  qt_safe_close(fd);
308 }
static int qt_safe_close(int fd)
Definition: qcore_unix_p.h:297

Properties

◆ fd

QAtomicInt QDBusUnixFileDescriptorPrivate::fd

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