diff options
author | Michele Calgaro <[email protected]> | 2019-05-16 00:00:57 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2019-05-16 00:00:57 +0900 |
commit | 536cfddc84c7e3ff417938d77db32db41b7202dd (patch) | |
tree | 00a17611786c4db2b8df41c4610a2a2b1d6b6117 /tdecore/tdehw/tdehardwaredevices.cpp | |
parent | 86fea6f5c542ba7113dbc598d8b4c18be69901f2 (diff) | |
download | tdelibs-536cfddc84c7e3ff417938d77db32db41b7202dd.tar.gz tdelibs-536cfddc84c7e3ff417938d77db32db41b7202dd.zip |
Use new function TQT_DBusData::getAsVariantData() instead of local
version of it.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdecore/tdehw/tdehardwaredevices.cpp')
-rw-r--r-- | tdecore/tdehw/tdehardwaredevices.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index 08cb1c80b..6267ad07d 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -119,20 +119,6 @@ unsigned int reverse_bits(register unsigned int x) // Helper function implemented in tdestoragedevice.cpp TQString decodeHexEncoding(TQString str); -#if defined(WITH_TDEHWLIB_DAEMONS) || defined(WITH_UDISKS) || defined(WITH_UDISKS2) || defined(WITH_NETWORK_MANAGER_BACKEND) -#include <tqdbusvariant.h> -#include <tqdbusdata.h> -// Convenience method for tdehwlib DBUS calls -// FIXME -// Should probably be part of dbus-1-tqt -TQT_DBusData convertDBUSDataToVariantData(TQT_DBusData object) { - TQT_DBusVariant variant; - variant.value = object; - variant.signature = variant.value.buildDBusSignature(); - return TQT_DBusData::fromVariant(variant); -} -#endif // defined(WITH_UDISKS) || defined(WITH_UDISKS2) || defined(WITH_NETWORK_MANAGER_BACKEND) - TDEHardwareDevices::TDEHardwareDevices() { // Initialize members pci_id_map = 0; |