void QBtSingleDeviceSelectorUIPrivate::devSelected(QListWidgetItem* devName)
{
    for(int i=0; i<_devicesFound.size(); i++)
    {
        if(_devicesFound[i].getName() == devName->text())
        {
            _selectedDevice = &(_devicesFound[i]);
            break;
        }
    }

    if(_selectedDevice)
        emit _publicClass->discoveryCompleted(*_selectedDevice);
    else
        emit _publicClass->discoveryCompleted(QBtDevice());


    this->hide();
    _parent->setFocusProxy(0);

    _discoverer->stopDiscovery();

    _devicesFound.clear();
    _devList->clear();
}
QBtDevice GetServerDevice()
{
    return QBtDevice();
}