gp_abilities_list_free(al);
gp_port_info_list_free(il);
- count = gp_list_count (list);
+ count = gp_list_count(list);
for (i = 0 ; i<count ; i++) {
const char *model, *value;
- gp_list_get_name (list, i, &model);
- gp_list_get_value (list, i, &value);
+ gp_list_get_name(list, i, &model);
+ gp_list_get_value(list, i, &value);
ports[value] = model;
// NOTE: We might get different ports than usb: later!
}
QMap<QString,QString>::iterator portsit;
-
for (portsit = ports.begin(); portsit != ports.end(); portsit++) {
entry.clear();
entry.insert(KIO::UDSEntry::UDS_FILE_TYPE,S_IFDIR);