summaryrefslogtreecommitdiffstats
path: root/ksirc/ksopts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/ksopts.cpp')
-rw-r--r--ksirc/ksopts.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksirc/ksopts.cpp b/ksirc/ksopts.cpp
index b62579db..de03ab79 100644
--- a/ksirc/ksopts.cpp
+++ b/ksirc/ksopts.cpp
@@ -142,7 +142,7 @@ void KSOptions::load( int sections )
{
KConfig *conf = kapp->config();
conf->setGroup( "ServerController" );
- tqgeometry = conf->readRectEntry( "Size" );
+ geometry = conf->readRectEntry( "Size" );
// Using the fields itself as default values as they are already
// set to the defaults.
@@ -232,10 +232,10 @@ void KSOptions::load( int sections )
colourTheme = conf->readEntry("ColourTheme", colourTheme );
for ( int i = 0; i < 16; ++i ) {
ircColors[i] =
- conf->readColorEntry(TQString::fromLatin1( "IRC-%1" ).tqarg( i ),
+ conf->readColorEntry(TQString::fromLatin1( "IRC-%1" ).arg( i ),
&ircColors[i] );
nickHighlight[i] =
- conf->readBoolEntry(TQString::fromLatin1( "nickHighlight-%1" ).tqarg( i ),
+ conf->readBoolEntry(TQString::fromLatin1( "nickHighlight-%1" ).arg( i ),
&nickHighlight[i] );
}
}
@@ -422,8 +422,8 @@ void KSOptions::save( int sections )
conf->writeEntry( "nickColourization", nickColourization );
conf->writeEntry( "ColourTheme", colourTheme );
for ( int i = 0; i < 16; ++i ) {
- conf->writeEntry( TQString::fromLatin1( "IRC-%1" ).tqarg( i ), ircColors[i] );
- conf->writeEntry( TQString::fromLatin1( "nickHighlight-%1" ).tqarg( i ), nickHighlight[i] );
+ conf->writeEntry( TQString::fromLatin1( "IRC-%1" ).arg( i ), ircColors[i] );
+ conf->writeEntry( TQString::fromLatin1( "nickHighlight-%1" ).arg( i ), nickHighlight[i] );
}
/* Store the font setting */
conf->setGroup( "GlobalOptions" );