43 #ifndef QDBUSUNIXFILEDESCRIPTOR_H 44 #define QDBUSUNIXFILEDESCRIPTOR_H 46 #include <QtCore/QSharedDataPointer> 47 #include <QtDBus/qdbusmacros.h> 51 #ifdef Q_COMPILER_RVALUE_REFS 75 int fileDescriptor()
const;
76 void setFileDescriptor(
int fileDescriptor);
78 void giveFileDescriptor(
int fileDescriptor);
79 int takeFileDescriptor();
81 static bool isSupported();
83 #if defined(Q_COMPILER_RVALUE_REFS) 87 {
d.swap(other.
d);
return *
this; }
103 #endif // QDBUSUNIXFILEDESCRIPTOR_H
#define QT_END_NAMESPACE
This macro expands to.
The QDBusUnixFileDescriptor class holds one Unix file descriptor.
#define QT_BEGIN_NAMESPACE
This macro expands to.
~QExplicitlySharedDataPointer()
Decrements the reference count of the shared data object.
The QList class is a template class that provides lists.
QExplicitlySharedDataPointer< QDBusUnixFileDescriptorPrivate > Data