34#ifndef DBUS_TYPE_UNIX_FD
35#define DBUS_TYPE_UNIX_FD ((int) 'h')
38#ifndef DBUS_TYPE_UNIX_FD_AS_STRING
39#define DBUS_TYPE_UNIX_FD_AS_STRING "h"
126 return (&other ==
this) || (other.
d ==
d);
139 return (&other !=
this) && (other.
d !=
d);
TQT_DBusUnixFd()
Creates an empty and invalid unix file handle.
TQT_DBusUnixFd & operator=(const TQT_DBusUnixFd &other)
Copy unix file handle from TQT_DBusUnixFd.
TQT_DBusUnixFd::TQT_DBusUnixFdPrivate * d
bool operator==(const TQT_DBusUnixFd &other) const
Checks if the given other variant is equal to this one.
void setFileDescriptor(int fileDescriptor)
Set new unix file handle.
void giveFileDescriptor(int fileDescriptor)
Give unix file handle.
bool operator!=(const TQT_DBusUnixFd &other) const
Checks if the given other variant is not equal to this one.
int fileDescriptor() const
Get unix file handle.
bool isValid() const
Returns whether the current content is considered a valid unix file handle.