Logo Search packages:      
Sourcecode: qlandkarte version File versions  Download package

bool CCentralResources::getHttpProxy ( QString &  url,
quint16 &  port 
)

get HTTP proxy settings

Parameters:
url a string to store the proxy's URL
port a 16bit unsigned integer to store the proxy's port
Returns:
The method will return true if the proxy is enabled.

Definition at line 336 of file CCentralResources.cpp.

References m_httpProxy, m_httpProxyPort, and m_useHttpProxy.

{
    url  = m_httpProxy;
    port = m_httpProxyPort;
    return m_useHttpProxy;
}


Generated by  Doxygen 1.6.0   Back to index