From ba2a3ce341c0c71bbbcf350fcbcd60c552220b31 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:23:13 -0600 Subject: Rename obsolete tq methods to standard names --- korn/korncfgimpl.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'korn/korncfgimpl.cpp') diff --git a/korn/korncfgimpl.cpp b/korn/korncfgimpl.cpp index b61cf32c7..33af34065 100644 --- a/korn/korncfgimpl.cpp +++ b/korn/korncfgimpl.cpp @@ -198,10 +198,10 @@ void KornCfgImpl::readConfig() { _config->setGroup( "korn" ); - TQChar tqlayout = _config->readEntry( "tqlayout" ).stripWhiteSpace()[0].upper(); - if( tqlayout == TQChar( 'H' ) ) + TQChar layout = _config->readEntry( "layout" ).stripWhiteSpace()[0].upper(); + if( layout == TQChar( 'H' ) ) rbHorizontal->setChecked( true ); - else if( tqlayout == TQChar( 'V' ) ) + else if( layout == TQChar( 'V' ) ) rbVertical->setChecked( true ); else rbDocked->setChecked( true ); @@ -214,11 +214,11 @@ void KornCfgImpl::writeConfig() _config->setGroup( "korn" ); if( rbHorizontal->isChecked() ) - _config->writeEntry( "tqlayout", "Horizontal" ); + _config->writeEntry( "layout", "Horizontal" ); if( rbVertical->isChecked() ) - _config->writeEntry( "tqlayout", "Vertical" ); + _config->writeEntry( "layout", "Vertical" ); if( rbDocked->isChecked() ) - _config->writeEntry( "tqlayout", "Docked" ); + _config->writeEntry( "layout", "Docked" ); //Default is 'false' here, because if no option is set, KWallet isn't used. if( _config->readBoolEntry( "usewallet", false ) != chUseWallet->isChecked() ) -- cgit v1.2.1