I want to create a file dialog which can list the only external devices connected to the system,like USB.
I am using QDBusAbstractInterface class. I am calling the function
FindDeviceByCapability("storage"); but this function list me all the storage devices. But i am only interested in external USB devices. Is there some other parameter to pass.
Also what i am getting as output is something like

/org/freedesktop/Hal/devices/storage_serial_Kingston_DataTraveler_102_001372982 955A9C0E6C50103_0_0

But i want the path of the mounted devices,so that when it is displayed in the file dialog user can browse it.