I don't know if Qt has a way of doing that, but this would be a start:
@
QFileInfoList drives = QDir::drives();
@
but I don't see anything in QFileInfo to detect if a drive is a network mapped drive, only if you have no letter assigned in windows so the path starts with "//"!?