diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-04-05 14:49:02 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-09 02:39:08 +0200 |
commit | b58b777cb3df1df3725c601b655128ce875a8687 (patch) | |
tree | d80ce9ca9738d3fe42b277f7e59b984798091874 /src/dbus/qdbusunixfiledescriptor.cpp | |
parent | 7fbc80f0eb2325b6abc33286f02b065605eb4490 (diff) |
QtDBus: add member-swap to shared classes
Implemented as in other shared classes (e.g. QPen).
Change-Id: Ic827540b535fc5506165b5395b796a53a00bb096
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/qdbusunixfiledescriptor.cpp')
-rw-r--r-- | src/dbus/qdbusunixfiledescriptor.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dbus/qdbusunixfiledescriptor.cpp b/src/dbus/qdbusunixfiledescriptor.cpp index bcf5f64a90..b5e8817ddc 100644 --- a/src/dbus/qdbusunixfiledescriptor.cpp +++ b/src/dbus/qdbusunixfiledescriptor.cpp @@ -187,6 +187,14 @@ QDBusUnixFileDescriptor::~QDBusUnixFileDescriptor() } /*! + \fn void QDBusUnixFileDescriptor::swap(QDBusUnixFileDescriptor &other) + \since 5.0 + + Swaps this file descriptor instance with \a other. This function + is very fast and never fails. +*/ + +/*! Returns true if this Unix file descriptor is valid. A valid Unix file descriptor is not -1. |