@ -55,7 +55,7 @@ static bool isComment(TQCString line)
static void tokenize ( list < TQCString > & res , const TQCString & text , char tr , bool strict = false )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " tokenize: called. " < < endl ;
int eins = 0 , zwei = 0 ;
@ -99,7 +99,7 @@ static void tokenize(list<TQCString>& res, const TQCString& text, char tr, bool
static TQCString ReadLineFromStream ( TQTextStream & stream )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " ReadLineFromStream:: reading line. " < < endl ;
TQCString line ;
@ -174,7 +174,7 @@ KeyValueMap::size() const
void
KeyValueMap : : clear ( )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < <
" KeyValueMap::clear: erasing map contents ... " < < endl ;
@ -191,7 +191,7 @@ KeyValueMap::clear()
bool
KeyValueMap : : fill ( const TQString & filename , bool force , bool relax )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
TQFile file ( filename ) ;
TQCString line ;
@ -231,7 +231,7 @@ KeyValueMap::fill(const TQString& filename, bool force, bool relax)
bool
KeyValueMap : : save ( const TQString & filename , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < <
" KeyValueMap::save: saving data to --> " < <
@ -271,7 +271,7 @@ KeyValueMap::save(const TQString& filename, bool force)
bool
KeyValueMap : : save ( TQTextStream & file , int count )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < <
" KeyValueMap::save: saving data to given output stream. " < < endl ;
@ -318,7 +318,7 @@ KeyValueMap::parseComplexString
int & noOfChars ) // no of chars that represented the
const // complex string in the original
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
int first ;
TQCString temp ( 2 * orig . length ( ) ) ;
@ -415,7 +415,7 @@ KeyValueMap::parseComplexString
TQCString
KeyValueMap : : makeComplexString ( const TQCString & orig )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < <
" KeyValueMap::makeComplexString: coding the string \n --> "
@ -468,7 +468,7 @@ KeyValueMap::makeComplexString(const TQCString& orig)
bool
KeyValueMap : : getRaw ( const TQCString & key , TQCString & value ) const
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < <
" KeyValueMap::getRaw: trying to get raw value for key \" " < < key < < " \" ... \n " ;
@ -490,7 +490,7 @@ KeyValueMap::getRaw(const TQCString& key, TQCString& value) const
bool
KeyValueMap : : insertRaw ( const TQCString & key , const TQCString & value , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < <
" KeyValueMap::insertRaw: inserting uncoded value "
@ -535,7 +535,7 @@ KeyValueMap::insertRaw(const TQCString& key, const TQCString& value, bool force)
bool
KeyValueMap : : insert ( const TQCString & key , const TQCString & value , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < <
" KeyValueMap::insert: inserting value \n --> "
@ -556,7 +556,7 @@ KeyValueMap::insert(const TQCString& key, const TQCString& value, bool force)
bool
KeyValueMap : : insertLine ( TQCString line , bool force , bool relax , bool encode )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < <
" KeyValueMap::insertLine: inserting line --> " < < line < < " <--. \n " ;
@ -611,7 +611,7 @@ KeyValueMap::insertLine(TQCString line, bool force, bool relax, bool encode)
bool
KeyValueMap : : get ( const TQCString & key , TQCString & value ) const
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::get[string]: "
" trying to get value for key \" " < < key < < " \" ... " < < endl ;
@ -651,7 +651,7 @@ KeyValueMap::get(const TQCString& key, TQCString& value) const
bool
KeyValueMap : : insert ( const TQCString & key , const TQString & value , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
TQCString v ;
// -----
@ -668,7 +668,7 @@ KeyValueMap::insert(const TQCString& key, const TQString& value, bool force)
bool
KeyValueMap : : get ( const TQCString & key , TQString & value ) const
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::get[QString]: trying to get "
" a TQString value for key " < < key < < endl ;
@ -694,7 +694,7 @@ KeyValueMap::get(const TQCString& key, TQString& value) const
bool
KeyValueMap : : insert ( const TQCString & key , const bool & value , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::insert[bool]: trying to "
" insert \" "
@ -709,7 +709,7 @@ KeyValueMap::insert(const TQCString& key, const bool& value, bool force)
bool
KeyValueMap : : get ( const TQCString & key , bool & value ) const
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::get[bool]: trying to get "
" BOOL value for key " < < key < < endl ;
@ -750,7 +750,7 @@ KeyValueMap::get(const TQCString& key, bool& value) const
bool
KeyValueMap : : insert ( const TQCString & key , const long & value , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::insert[int]: trying to "
" insert value \" " < < value < < " \" for key \n --> " < < key < < " <--. \n " ;
@ -764,7 +764,7 @@ KeyValueMap::insert(const TQCString& key, const long& value, bool force)
bool
KeyValueMap : : get ( const TQCString & key , long & value ) const
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::get[int]: trying to get "
" INTEGER value for key " < < key < < endl ;
@ -796,7 +796,7 @@ KeyValueMap::get(const TQCString& key, long& value) const
bool
KeyValueMap : : insert ( const TQCString & key , const list < long > & values , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::insert[long int list]: "
" trying to insert long int list into map. " < < endl ;
@ -823,7 +823,7 @@ KeyValueMap::insert(const TQCString& key, const list<long>& values, bool force)
bool
KeyValueMap : : get ( const TQCString & key , list < long > & values ) const
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::get[long int list]: trying "
" to decode int list for key " < < key < < endl ;
@ -871,7 +871,7 @@ KeyValueMap::get(const TQCString& key, list<long>& values) const
bool
KeyValueMap : : insert ( const TQCString & key , const list < int > & values , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::insert[int list]: trying to "
" insert int list into map. " < < endl ;
@ -898,7 +898,7 @@ KeyValueMap::insert(const TQCString& key, const list<int>& values, bool force)
bool
KeyValueMap : : get ( const TQCString & key , list < int > & values ) const
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::get[int list]: trying to "
" decode int list for key " < < key < < endl ;
@ -946,7 +946,7 @@ KeyValueMap::get(const TQCString& key, list<int>& values) const
bool
KeyValueMap : : insert ( const TQCString & key , const double & value , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) . form ( " KeyValueMap::insert[double]: trying to "
" insert value \" %f \" for key \n --> " , value ) < < key < < " <--. \n " ;
@ -960,7 +960,7 @@ KeyValueMap::insert(const TQCString& key, const double& value, bool force)
bool
KeyValueMap : : get ( const TQCString & key , double & value ) const
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::get[double]: trying to get "
" FLOAT value for key " < < key < < endl ;
@ -993,7 +993,7 @@ KeyValueMap::get(const TQCString& key, double& value) const
bool
KeyValueMap : : get ( const TQCString & key , list < TQCString > & values ) const
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
kdDebug ( ! values . empty ( ) , KAB_KDEBUG_AREA ) < < " KeyValueMap::get[string list]: "
" attention! \n \" values \" list reference is not "
" empty! " < < endl ;
@ -1070,7 +1070,7 @@ KeyValueMap::get(const TQCString& key, list<TQCString>& values) const
bool
KeyValueMap : : insert ( const TQCString & key , const list < TQCString > & values , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::insert[string list]: "
" coding string list. " < < endl ;
@ -1102,7 +1102,7 @@ KeyValueMap::insert(const TQCString& key, const list<TQCString>& values, bool fo
bool
KeyValueMap : : get ( const TQCString & key , TQStrList & values ) const
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
kdDebug ( ! values . isEmpty ( ) , KAB_KDEBUG_AREA ) < < " KeyValueMap::get[QStrList]: "
" attention! \n \" values \" list reference is not "
" empty! " < < endl ;
@ -1178,7 +1178,7 @@ KeyValueMap::get(const TQCString& key, TQStrList& values) const
bool
KeyValueMap : : insert ( const TQCString & key , const TQStrList & values , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < <
" KeyValueMap::insert[QStrList]: coding string list. " < < endl ;
@ -1209,7 +1209,7 @@ KeyValueMap::insert(const TQCString& key, const TQStrList& values, bool force)
bool
KeyValueMap : : get ( const TQCString & key , TQStringList & values ) const
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
kdDebug ( ! values . isEmpty ( ) , KAB_KDEBUG_AREA ) < < " KeyValueMap::get "
" [QStringList]: attention! \n \" values \" list reference "
" is not empty! " < < endl ;
@ -1242,7 +1242,7 @@ KeyValueMap::get(const TQCString& key, TQStringList& values) const
bool
KeyValueMap : : insert ( const TQCString & key , const TQStringList & values , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < <
" KeyValueMap::insert[QStringList]: coding TQStringList. " < < endl ;
@ -1265,7 +1265,7 @@ KeyValueMap::insert(const TQCString& key, const TQStringList& values, bool force
bool
KeyValueMap : : insert ( const TQCString & key , const list < double > & values , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::insert[double list]: trying "
" to insert double list into map. " < < endl ;
@ -1293,7 +1293,7 @@ KeyValueMap::insert(const TQCString& key, const list<double>& values, bool force
bool
KeyValueMap : : get ( const TQCString & key , list < double > & values ) const
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::get[double list]: trying to "
" decode double list for key " < < key < < endl ;
@ -1336,7 +1336,7 @@ KeyValueMap::get(const TQCString& key, list<double>& values) const
bool
KeyValueMap : : insert ( const TQCString & key , const TQDate & value , bool force )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::insert[QDate]: trying to "
" insert TQDate into map. " < < endl ;
@ -1360,7 +1360,7 @@ KeyValueMap::insert(const TQCString& key, const TQDate& value, bool force)
bool
KeyValueMap : : get ( const TQCString & key , TQDate & date ) const
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " KeyValueMap::get[QDate]: trying to decode "
" TQDate for key " < < key < < endl ;
@ -1420,7 +1420,7 @@ Section::Section(const KeyValueMap& contents)
bool
Section : : add ( const TQCString & name )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " Section::add: adding section \" "
< < name < < " \" to "
@ -1455,7 +1455,7 @@ Section::add(const TQCString& name)
bool
Section : : add ( const TQCString & name , Section * section )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
if ( sections . insert ( StringSectionMap : : value_type ( name , section ) ) . second )
{
@ -1473,7 +1473,7 @@ Section::add(const TQCString& name, Section* section)
bool
Section : : find ( const TQCString & name , StringSectionMap : : iterator & result )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " Section::find: trying to get section "
" \" " < < name < < " \" ... \n " ;
@ -1549,7 +1549,7 @@ Section::insertIndentSpace(TQTextStream& file, int level)
bool
Section : : save ( TQTextStream & stream , int level )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
StringSectionMap : : iterator pos ;
// -----
@ -1592,7 +1592,7 @@ Section::save(TQTextStream& stream, int level)
bool
Section : : readSection ( TQTextStream & file , bool finish )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " Section::readSection: reading section. " < < endl ;
TQCString line ;
@ -1661,7 +1661,7 @@ Section::readSection(TQTextStream& file, bool finish)
bool
Section : : isBeginOfSection ( TQCString line )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
line = line . simplifyWhiteSpace ( ) ;
if ( line . isEmpty ( ) | | line . length ( ) < 2 )
@ -1687,7 +1687,7 @@ Section::isBeginOfSection(TQCString line)
bool
Section : : isEndOfSection ( TQCString line )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " Section::isEndOfSection: is "
< < line < < " the end of "
@ -1728,7 +1728,7 @@ Section::isEndOfSection(TQCString line)
TQCString
Section : : nameOfSection ( const TQCString & line )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ###########################################################################
int first = 1 , second ;
TQCString temp ;
@ -1849,7 +1849,7 @@ bool QConfigDB::invariant()
bool
QConfigDB : : get ( const list < TQCString > & key , KeyValueMap * & map )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " QConfigDB::get: trying to get keys ... " < < endl ;
Section * section = & top ;
@ -1960,7 +1960,7 @@ QConfigDB::get(const TQCString& key, KeyValueMap*& map)
list < TQCString >
QConfigDB : : stringToKeylist ( const TQCString & desc )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " QConfigDB::stringToKeylist: parsing path " < < desc < < endl ;
// ############################################################################
list < TQCString > key ;
@ -2012,7 +2012,7 @@ QConfigDB::get(const TQCString& key, Section*& section)
bool
QConfigDB : : get ( const list < TQCString > & key , Section * & section )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " QConfigDB::get: searching section ... " < < endl ;
Section * temp = & top ;
@ -2044,7 +2044,7 @@ QConfigDB::isRO()
int
QConfigDB : : IsLocked ( const TQString & file )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
TQString lockfile = file + " .lock " ;
int pid = - 1 ;
@ -2087,7 +2087,7 @@ QConfigDB::IsLocked(const TQString& file)
bool
QConfigDB : : lock ( )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
if ( locked )
{
@ -2108,7 +2108,7 @@ QConfigDB::lock()
bool
QConfigDB : : lock ( const TQString & file )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " QConfigDB::lock: locking the file "
< < file < < endl ;
@ -2143,7 +2143,7 @@ QConfigDB::lock(const TQString& file)
bool
QConfigDB : : unlock ( )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " QConfigDB::unlock: unlocking the file "
< < filename < < endl ;
@ -2190,7 +2190,7 @@ QConfigDB::unlock()
void
QConfigDB : : CleanLockFiles ( int )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
list < TQString > : : iterator pos ;
// -----
@ -2236,7 +2236,7 @@ QConfigDB::watch(bool state)
bool
QConfigDB : : CheckLockFile ( const TQString & file )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " QConfigDB::CheckLockFile: called. " < < endl ;
int pid ;
@ -2270,7 +2270,7 @@ QConfigDB::CheckLockFile(const TQString& file)
bool
QConfigDB : : checkFileChanged ( )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
// kdDebug(GUARD, KAB_KDEBUG_AREA) << "QConfigDB::checkFileChanged: called." << endl;
if ( filename . isEmpty ( ) )
@ -2308,7 +2308,7 @@ QConfigDB::checkFileChanged()
bool
QConfigDB : : storeFileAge ( )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " QConfigDB::storeFileAge: called. " < < endl ;
TQFileInfo file ( filename ) ;
@ -2329,7 +2329,7 @@ QConfigDB::storeFileAge()
bool
QConfigDB : : setFileName ( const TQString & filename_ , bool mustexist , bool readonly_ )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < < " QConfigDB::setFileName: setting filename "
" to \" "
@ -2443,7 +2443,7 @@ QConfigDB::fileName()
bool
QConfigDB : : save ( const char * header , bool force )
{
register bool GUARD ; GUARD = true ;
bool GUARD ; GUARD = true ;
// ############################################################################
kdDebug ( GUARD , KAB_KDEBUG_AREA ) < <
" QConfigDB::save: saving database --> " < < filename < < " <--. \n " ;
@ -2522,7 +2522,7 @@ QConfigDB::save(const char* header, bool force)
bool
QConfigDB : : load ( )
{
register bool GUARD ; GUARD = false ;
bool GUARD ; GUARD = false ;
// ############################################################################
TQFile file ( filename ) ;
// -----