Beispiel #1
0
AttrList USBAddr::getAttrList() const
{
    AttrList attrs;
    if ( !bus->text().isEmpty() )
        attrs.insert("bus", bus->text());
    if ( !port->text().isEmpty() )
        attrs.insert("port", port->text());
    return attrs;
}
Beispiel #2
0
AttrList CCIDAddr::getAttrList() const
{
    AttrList attrs;
    if ( !bus->text().isEmpty() )
        attrs.insert("bus", bus->text());
    if ( !slot->text().isEmpty() )
        attrs.insert("slot", slot->text());
    return attrs;
}
Beispiel #3
0
AttrList CCWAddr::getAttrList() const
{
    AttrList attrs;
    if ( !machine->text().isEmpty() )
        attrs.insert("machine", machine->text());
    if ( !cssid->text().isEmpty() )
        attrs.insert("cssid", cssid->text());
    attrs.insert("ssid", ssid->text());
    if ( !devno->text().isEmpty() )
        attrs.insert("devno", devno->text());
    return attrs;
}