summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/networkbackends
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-12-26 23:08:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-12-26 23:08:00 -0600
commit6d8bcb6202e3ce8d69799b371fde1d3aeb22bae8 (patch)
treeb25dc34bbef5cc04cdeadd03d40ef39c98f99edf /tdecore/tdehw/networkbackends
parent39aba03a49eb0f048b5b05cb6a8d149082edb299 (diff)
downloadtdelibs-6d8bcb6202e3ce8d69799b371fde1d3aeb22bae8.tar.gz
tdelibs-6d8bcb6202e3ce8d69799b371fde1d3aeb22bae8.zip
Use direct DBUS calls for udisks2
Diffstat (limited to 'tdecore/tdehw/networkbackends')
-rw-r--r--tdecore/tdehw/networkbackends/network-manager/network-manager.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/tdecore/tdehw/networkbackends/network-manager/network-manager.cpp b/tdecore/tdehw/networkbackends/network-manager/network-manager.cpp
index af056de4b..2a0354105 100644
--- a/tdecore/tdehw/networkbackends/network-manager/network-manager.cpp
+++ b/tdecore/tdehw/networkbackends/network-manager/network-manager.cpp
@@ -47,6 +47,9 @@
// #define WAIT_FOR_OPERATION_BEFORE_RETURNING 1
#define USE_ASYNC_DBUS_CONNECTION_COMMAND_CALLS 1
+// Defined in tdehardwaredevices.cpp
+TQT_DBusData convertDBUSDataToVariantData(TQT_DBusData);
+
TQ_UINT32 reverseIPV4ByteOrder(TQ_UINT32 address) {
TQ_UINT32 ret;
unsigned char valuearray[4];
@@ -62,13 +65,6 @@ TQ_UINT32 reverseIPV4ByteOrder(TQ_UINT32 address) {
return ret;
}
-TQT_DBusData convertDBUSDataToVariantData(TQT_DBusData object) {
- TQT_DBusVariant variant;
- variant.value = object;
- variant.signature = variant.value.buildDBusSignature();
- return TQT_DBusData::fromVariant(variant);
-}
-
void printDBUSObjectStructure(TQT_DBusData object, int level=0, TQString mapKey=TQString::null) {
int i;
TQString levelIndent = "";