24 #ifndef TQDBUSUNIXFD_H 25 #define TQDBUSUNIXFD_H 27 #include "dbus/dbus.h" 29 #include "ntqshared.h" 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" 93 int fileDescriptor()
const;
100 void setFileDescriptor(
int fileDescriptor);
107 void giveFileDescriptor(
int fileDescriptor);
126 return (&other ==
this) || (other.
d == d);
139 return (&other !=
this) && (other.
d != d);
Class for representing D-Bus unix file handles.
TQT_DBusUnixFd::TQT_DBusUnixFdPrivate * d
bool operator!=(const TQT_DBusUnixFd &other) const
Checks if the given other variant is not equal to this one.
bool operator==(const TQT_DBusUnixFd &other) const
Checks if the given other variant is equal to this one.