summaryrefslogtreecommitdiffstats
path: root/korn/korncfgimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /korn/korncfgimpl.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korn/korncfgimpl.cpp')
-rw-r--r--korn/korncfgimpl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/korn/korncfgimpl.cpp b/korn/korncfgimpl.cpp
index ae49765cf..df4264643 100644
--- a/korn/korncfgimpl.cpp
+++ b/korn/korncfgimpl.cpp
@@ -198,10 +198,10 @@ void KornCfgImpl::readConfig()
{
_config->setGroup( "korn" );
- TQChar layout = _config->readEntry( "layout" ).stripWhiteSpace()[0].upper();
- if( layout == TQChar( 'H' ) )
+ TQChar tqlayout = _config->readEntry( "tqlayout" ).stripWhiteSpace()[0].upper();
+ if( tqlayout == TQChar( 'H' ) )
rbHorizontal->setChecked( true );
- else if( layout == TQChar( 'V' ) )
+ else if( tqlayout == TQChar( 'V' ) )
rbVertical->setChecked( true );
else
rbDocked->setChecked( true );
@@ -214,11 +214,11 @@ void KornCfgImpl::writeConfig()
_config->setGroup( "korn" );
if( rbHorizontal->isChecked() )
- _config->writeEntry( "layout", "Horizontal" );
+ _config->writeEntry( "tqlayout", "Horizontal" );
if( rbVertical->isChecked() )
- _config->writeEntry( "layout", "Vertical" );
+ _config->writeEntry( "tqlayout", "Vertical" );
if( rbDocked->isChecked() )
- _config->writeEntry( "layout", "Docked" );
+ _config->writeEntry( "tqlayout", "Docked" );
//Default is 'false' here, because if no option is set, KWallet isn't used.
if( _config->readBoolEntry( "usewallet", false ) != chUseWallet->isChecked() )