summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tdehardwaredevices.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2019-05-16 00:00:57 +0900
committerMichele Calgaro <[email protected]>2019-05-16 00:00:57 +0900
commit536cfddc84c7e3ff417938d77db32db41b7202dd (patch)
tree00a17611786c4db2b8df41c4610a2a2b1d6b6117 /tdecore/tdehw/tdehardwaredevices.cpp
parent86fea6f5c542ba7113dbc598d8b4c18be69901f2 (diff)
downloadtdelibs-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.cpp14
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;