mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
remove unused QDBusUnixFileDescriptor::isSupported() method
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
67b8251559
commit
301796dafb
2 changed files with 0 additions and 23 deletions
|
@ -96,10 +96,6 @@ QT_BEGIN_NAMESPACE
|
|||
continue to operate, so code need not have compile-time checks for the
|
||||
availability of this feature.
|
||||
|
||||
On non-Unix systems, QDBusUnixFileDescriptor will always report an
|
||||
invalid state and QDBusUnixFileDescriptor::isSupported() will return
|
||||
false.
|
||||
|
||||
\sa QDBusConnection::ConnectionCapabilities, QDBusConnection::connectionCapabilities()
|
||||
*/
|
||||
|
||||
|
@ -216,23 +212,6 @@ int QDBusUnixFileDescriptor::fileDescriptor() const
|
|||
return d ? d->fd.operator int() : -1;
|
||||
}
|
||||
|
||||
// qdoc documentation is generated on Unix
|
||||
|
||||
/*!
|
||||
Returns true if Unix file descriptors are supported on this platform. In
|
||||
other words, this function returns true if this is a Unix platform.
|
||||
|
||||
Note that QDBusUnixFileDescriptor continues to operate even if this
|
||||
function returns false. The only difference is that the
|
||||
QDBusUnixFileDescriptor objects will always be in the isValid() == false
|
||||
state and fileDescriptor() will always return -1. The class will not
|
||||
consume any operating system resources.
|
||||
*/
|
||||
bool QDBusUnixFileDescriptor::isSupported()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/*!
|
||||
Sets the file descriptor that this QDBusUnixFileDescriptor object holds
|
||||
to a copy of \a fileDescriptor. The original file descriptor is not
|
||||
|
|
|
@ -68,8 +68,6 @@ public:
|
|||
void giveFileDescriptor(int fileDescriptor);
|
||||
int takeFileDescriptor();
|
||||
|
||||
static bool isSupported();
|
||||
|
||||
#if defined(Q_COMPILER_RVALUE_REFS)
|
||||
QDBusUnixFileDescriptor(QDBusUnixFileDescriptor &&other) : d(static_cast<Data &&>(other.d))
|
||||
{ }
|
||||
|
|
Loading…
Add table
Reference in a new issue