On Thursday 21 August 2014 10:51:45 Ramakanthreddy Kesireddy wrote:
> Is it recommened to fetch the file system paths like below once device is
> connected or any other API to fetch the filesystem path? Here path is
> device mounted path like /org/freedesktop/UDisks/devices/sda1.
> 
> QDBusMessage message =
> QDBusMessage::createMethodCall("org.freedesktop.UDisks", path",
>                                                          
> "org.freedesktop.DBus.Properties", "Get");
> QDBusMessage response = QDBusConnection::systemBus().call(message);

The QtDBus call sequence looks correct. There are other ways to do it, but 
this is the simplest and most efficient way possible.

Whether the call itself is correct, I wouldn't know. Please ask that of the 
UDisks developers and community.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to