code style changes
This commit is contained in:
parent
9e575960da
commit
ead6092b56
1 changed files with 31 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
||||||
/******************************************************************************\
|
/******************************************************************************\
|
||||||
* Copyright (c) 2004-2007
|
* Copyright (c) 2004-2013
|
||||||
*
|
*
|
||||||
* Author(s):
|
* Author(s):
|
||||||
* Volker Fischer
|
* Volker Fischer
|
||||||
|
@ -54,21 +54,38 @@ protected:
|
||||||
void SetFileName ( const QString& sNFiName );
|
void SetFileName ( const QString& sNFiName );
|
||||||
|
|
||||||
// init file access function for read/write
|
// init file access function for read/write
|
||||||
void SetNumericIniSet ( QDomDocument& xmlFile, const QString& strSection,
|
void SetNumericIniSet ( QDomDocument& xmlFile,
|
||||||
const QString& strKey, const int iValue = 0 );
|
const QString& strSection,
|
||||||
bool GetNumericIniSet ( const QDomDocument& xmlFile, const QString& strSection,
|
const QString& strKey,
|
||||||
const QString& strKey, const int iRangeStart,
|
const int iValue = 0 );
|
||||||
const int iRangeStop, int& iValue );
|
|
||||||
void SetFlagIniSet ( QDomDocument& xmlFile, const QString& strSection,
|
bool GetNumericIniSet ( const QDomDocument& xmlFile,
|
||||||
const QString& strKey, const bool bValue = false );
|
const QString& strSection,
|
||||||
bool GetFlagIniSet ( const QDomDocument& xmlFile, const QString& strSection,
|
const QString& strKey,
|
||||||
const QString& strKey, bool& bValue );
|
const int iRangeStart,
|
||||||
|
const int iRangeStop,
|
||||||
|
int& iValue );
|
||||||
|
|
||||||
|
void SetFlagIniSet ( QDomDocument& xmlFile,
|
||||||
|
const QString& strSection,
|
||||||
|
const QString& strKey,
|
||||||
|
const bool bValue = false );
|
||||||
|
|
||||||
|
bool GetFlagIniSet ( const QDomDocument& xmlFile,
|
||||||
|
const QString& strSection,
|
||||||
|
const QString& strKey,
|
||||||
|
bool& bValue );
|
||||||
|
|
||||||
// actual working function for init-file access
|
// actual working function for init-file access
|
||||||
QString GetIniSetting( const QDomDocument& xmlFile, const QString& sSection,
|
QString GetIniSetting( const QDomDocument& xmlFile,
|
||||||
const QString& sKey, const QString& sDefaultVal = "" );
|
const QString& sSection,
|
||||||
void PutIniSetting ( QDomDocument& xmlFile, const QString& sSection,
|
const QString& sKey,
|
||||||
const QString& sKey, const QString& sValue = "" );
|
const QString& sDefaultVal = "" );
|
||||||
|
|
||||||
|
void PutIniSetting ( QDomDocument& xmlFile,
|
||||||
|
const QString& sSection,
|
||||||
|
const QString& sKey,
|
||||||
|
const QString& sValue = "" );
|
||||||
|
|
||||||
// pointer to the client/server object which stores the various settings
|
// pointer to the client/server object which stores the various settings
|
||||||
CClient* pClient; // for client
|
CClient* pClient; // for client
|
||||||
|
|
Loading…
Reference in a new issue