summaryrefslogtreecommitdiffstats
path: root/libkscan/kscandevice.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-12 18:48:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-12 18:48:54 +0900
commit1a3ed140599b646687a457af55a0f50e785287a9 (patch)
tree4d5773c3f27a6565694b2ae1f60d74648c067290 /libkscan/kscandevice.cpp
parentf18e2e477390806a5ecca243605d475de72600c9 (diff)
downloadtdegraphics-1a3ed140599b646687a457af55a0f50e785287a9.tar.gz
tdegraphics-1a3ed140599b646687a457af55a0f50e785287a9.zip
Use TDESimpleConfig
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkscan/kscandevice.cpp')
-rw-r--r--libkscan/kscandevice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkscan/kscandevice.cpp b/libkscan/kscandevice.cpp
index 7a48db4a..e5a89c6e 100644
--- a/libkscan/kscandevice.cpp
+++ b/libkscan/kscandevice.cpp
@@ -46,7 +46,7 @@
#include "devselector.h"
#include "imgscaninfo.h"
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#define MIN_PREVIEW_DPI 75
#define UNDEF_SCANNERNAME I18N_NOOP( "undefined" )
@@ -1504,7 +1504,7 @@ TQString KScanDevice::getConfig( const TQString& key, const TQString& def ) cons
{
TQString confFile = SCANNER_DB_FILE;
- KSimpleConfig scanConfig( confFile, true );
+ TDESimpleConfig scanConfig( confFile, true );
scanConfig.setGroup( shortScannerName() );
return scanConfig.readEntry( key, def );
@@ -1523,7 +1523,7 @@ void KScanDevice::slStoreConfig( const TQString& key, const TQString& val )
{
kdDebug(29000) << "Storing config " << key << " in Group " << scannerName << endl;
- KSimpleConfig scanConfig( confFile );
+ TDESimpleConfig scanConfig( confFile );
scanConfig.setGroup( scannerName );
scanConfig.writeEntry( key, val );
scanConfig.sync();