void AdapterSettings::validateAdapterSettings()
{

    // validating for P2P use only in anticipation of INTEGRATION MODE being moved to a different adapter

    if (accountName().length() > 0 && providerName().length() > 0 && p2pModeApproverName().length() > 0 && p2pModeApproverEmail().length() > 0 && p2pClientUserId().length() > 0) {
        qDebug() << "EEEE adapter has values for all required settings";
        setConfigured(true);
    } else {
        qDebug() << "EEEE adapter does not have values for all required settings";
        setConfigured(false);
    }

}
Ejemplo n.º 2
0
void
TCPSocket::onResolved()
{
    SocketBase::onResolved();
    create();
    setNonBlocking();
    setConfigured();
    doConnect();
    setNoDelay();
}
CameraStatus::CameraStatus(QString id) {
    setId(id);
    setStatus(0);
    setConfigured(false);
}
CameraStatus::CameraStatus()
{
     setStatus(0);
     setConfigured(false);
}