diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 15:29:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 15:39:34 +0900 |
commit | 51230c05dc0d15dd4d6e6cce1020c6bac3a5cdd3 (patch) | |
tree | 289d1261319b7c151c0f11c7917c057aa754026a /kcontrol/keys/shortcuts.cpp | |
parent | fa284a459858f2255c485240121f7cd1cc7d17a0 (diff) | |
download | tdebase-51230c05dc0d15dd4d6e6cce1020c6bac3a5cdd3.tar.gz tdebase-51230c05dc0d15dd4d6e6cce1020c6bac3a5cdd3.zip |
Use TDESimpleConfig
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol/keys/shortcuts.cpp')
-rw-r--r-- | kcontrol/keys/shortcuts.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kcontrol/keys/shortcuts.cpp b/kcontrol/keys/shortcuts.cpp index 99a5aa2a6..c225e5f68 100644 --- a/kcontrol/keys/shortcuts.cpp +++ b/kcontrol/keys/shortcuts.cpp @@ -39,7 +39,7 @@ #include <tdelocale.h> #include <tdemessagebox.h> #include <tdeshortcutlist.h> -#include <ksimpleconfig.h> +#include <tdesimpleconfig.h> #include <tdestandarddirs.h> #include <dcopref.h> @@ -282,7 +282,7 @@ void ShortcutsModule::readSchemeNames() //if( r.search( *it ) != -1 ) // continue; - KSimpleConfig config( *it, true ); + TDESimpleConfig config( *it, true ); config.setGroup( "Settings" ); TQString str = config.readEntry( "Name" ); @@ -324,7 +324,7 @@ void ShortcutsModule::slotSelectScheme( int ) m_pkcSequence->syncToConfig( "Global Shortcuts", 0, true ); m_pkcApplication->syncToConfig( "Shortcuts", 0, false ); } else { - KSimpleConfig config( sFilename ); + TDESimpleConfig config( sFilename ); config.setGroup( "Settings" ); //m_sBaseSchemeFile = config.readEntry( "Name" ); @@ -427,7 +427,7 @@ void ShortcutsModule::slotSaveSchemeAs() m_pcbSchemes->setCurrentItem( iScheme ); } - KSimpleConfig *config = new KSimpleConfig( sFile ); + TDESimpleConfig *config = new TDESimpleConfig( sFile ); config->setGroup( "Settings" ); config->writeEntry( "Name", sName ); @@ -442,7 +442,7 @@ void ShortcutsModule::slotSaveSchemeAs() void ShortcutsModule::saveScheme() { TQString sFilename = m_rgsSchemeFiles[ m_pcbSchemes->currentItem() ]; - KSimpleConfig config( sFilename ); + TDESimpleConfig config( sFilename ); m_pkcGeneral->commitChanges(); m_pkcSequence->commitChanges(); |