get rid of "Llcon"

This commit is contained in:
Volker Fischer 2013-03-24 11:38:00 +00:00
parent 0841ec12a4
commit 28defb82cb
6 changed files with 15 additions and 15 deletions

View file

@ -250,14 +250,14 @@ void CNetBufWithStats::UpdateAutoSetting()
}
// apply non-linear IIR filter
LlconMath().UpDownIIR1 ( dCurIIRFilterResult,
MathUtils().UpDownIIR1 ( dCurIIRFilterResult,
static_cast<double> ( iCurDecision ),
dWeightUp,
dWeightDown );
// apply a hysteresis
iCurAutoBufferSizeSetting =
LlconMath().DecideWithHysteresis ( dCurIIRFilterResult,
MathUtils().DecideWithHysteresis ( dCurIIRFilterResult,
iCurDecidedResult,
dHysteresisValue );

View file

@ -319,7 +319,7 @@ void CClient::SetDoAutoSockBufSize ( const bool bValue )
bool CClient::SetServerAddr ( QString strNAddr )
{
CHostAddress HostAddress;
if ( LlconNetwUtil().ParseNetworkAddress ( strNAddr,
if ( NetworkUtil().ParseNetworkAddress ( strNAddr,
HostAddress ) )
{
// apply address to the channel
@ -1231,5 +1231,5 @@ int CClient::EstimatedOverallDelay ( const int iPingTimeMs )
dTotalSoundCardDelayMs +
dAdditionalAudioCodecDelayMs;
return LlconMath::round ( dTotalBufferDelayMs + iPingTimeMs );
return MathUtils::round ( dTotalBufferDelayMs + iPingTimeMs );
}

View file

@ -159,7 +159,7 @@ void CConnectDlg::showEvent ( QShowEvent* )
// get the IP address of the central server (using the ParseNetworAddress
// function) when the connect dialog is opened, this seems to be the correct
// time to do it
if ( LlconNetwUtil().ParseNetworkAddress ( strCentralServerAddress,
if ( NetworkUtil().ParseNetworkAddress ( strCentralServerAddress,
CentralServerAddress ) )
{
// send the request for the server list
@ -371,7 +371,7 @@ void CConnectDlg::OnTimerPing()
// try to parse host address string which is stored as user data
// in the server list item GUI control element
if ( LlconNetwUtil().ParseNetworkAddress (
if ( NetworkUtil().ParseNetworkAddress (
lvwServers->topLevelItem ( iIdx )->
data ( 0, Qt::UserRole ).toString(),
CurServerAddress ) )

View file

@ -118,7 +118,7 @@ CServerListManager::CServerListManager ( const quint16 iNPortNum,
true );
// [server n address]
LlconNetwUtil().ParseNetworkAddress (
NetworkUtil().ParseNetworkAddress (
slServInfoSeparateParams[iCurUsedServInfoSplitItems],
NewServerListEntry.HostAddr );
@ -469,7 +469,7 @@ void CServerListManager::SlaveServerRegisterServer ( const bool bIsRegister )
// Note that we always have to parse the server address again since if
// it is an URL of a dynamic IP address, the IP address might have
// changed in the meanwhile.
if ( LlconNetwUtil().ParseNetworkAddress ( strCurCentrServAddr,
if ( NetworkUtil().ParseNetworkAddress ( strCurCentrServAddr,
SlaveCurCentServerHostAddress ) )
{
if ( bIsRegister )

View file

@ -421,7 +421,7 @@ CLlconHelpMenu::CLlconHelpMenu ( QWidget* parent ) : QMenu ( "&?", parent )
* Other Classes *
\******************************************************************************/
// Network utility functions ---------------------------------------------------
bool LlconNetwUtil::ParseNetworkAddress ( QString strAddress,
bool NetworkUtil::ParseNetworkAddress ( QString strAddress,
CHostAddress& HostAddress )
{
QHostAddress InetAddr;

View file

@ -851,7 +851,7 @@ public:
// Network utility functions ---------------------------------------------------
class LlconNetwUtil
class NetworkUtil
{
public:
static bool ParseNetworkAddress ( QString strAddress,
@ -900,7 +900,7 @@ protected:
// Mathematics utilities -------------------------------------------------------
class LlconMath
class MathUtils
{
public:
static int round ( double x )