diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:13 -0600 |
commit | ba2a3ce341c0c71bbbcf350fcbcd60c552220b31 (patch) | |
tree | 08ba9504290f461f1244dded6b37fc4db00847ab /korn/korncfgimpl.cpp | |
parent | d5b298be14c173d62e8fbc6a3803ba8f657f3dcb (diff) | |
download | tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.tar.gz tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'korn/korncfgimpl.cpp')
-rw-r--r-- | korn/korncfgimpl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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() ) |