summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-04-13 12:52:49 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-04-13 12:56:27 (GMT)
commit0ee167c7d47c28d747e9ca73aa35fef21171b97f (patch)
tree82f7ba4116327290ea137aa24fcfd8a264db2a8f
parent0c8fa16ef1964c3d102413b44e18964f6b4793ec (diff)
downloadQt-0ee167c7d47c28d747e9ca73aa35fef21171b97f.zip
Qt-0ee167c7d47c28d747e9ca73aa35fef21171b97f.tar.gz
Qt-0ee167c7d47c28d747e9ca73aa35fef21171b97f.tar.bz2
Remove the unused QDBusUnixFileDescriptor::isShared function
-rw-r--r--src/dbus/qdbusunixfiledescriptor.cpp8
-rw-r--r--src/dbus/qdbusunixfiledescriptor.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/src/dbus/qdbusunixfiledescriptor.cpp b/src/dbus/qdbusunixfiledescriptor.cpp
index 9cbaa8f..4817d95 100644
--- a/src/dbus/qdbusunixfiledescriptor.cpp
+++ b/src/dbus/qdbusunixfiledescriptor.cpp
@@ -186,14 +186,6 @@ bool QDBusUnixFileDescriptor::isValid() const
}
/*!
- \internal
-*/
-bool QDBusUnixFileDescriptor::isShared() const
-{
- return d && d->ref == 1;
-}
-
-/*!
Returns the Unix file descriptor contained by this
QDBusUnixFileDescriptor object. An invalid file descriptor is represented
by the value -1.
diff --git a/src/dbus/qdbusunixfiledescriptor.h b/src/dbus/qdbusunixfiledescriptor.h
index 92a770c..d0a2f3c 100644
--- a/src/dbus/qdbusunixfiledescriptor.h
+++ b/src/dbus/qdbusunixfiledescriptor.h
@@ -71,7 +71,6 @@ public:
~QDBusUnixFileDescriptor();
bool isValid() const;
- bool isShared() const;
int fileDescriptor() const;
void setFileDescriptor(int fileDescriptor);