diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 18:17:48 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 18:17:48 +0900 |
| commit | 09ec9a006059ae49eee5463b25f2bb361140fcc6 (patch) | |
| tree | b2b9d6f9f5c87c4ba02d64d2b94346f662d5e591 /src | |
| parent | b6fa5c8b166849065f495768a19625d7e8d98ff0 (diff) | |
| download | basket-09ec9a006059ae49eee5463b25f2bb361140fcc6.tar.gz basket-09ec9a006059ae49eee5463b25f2bb361140fcc6.zip | |
Use TDESimpleConfig
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
| -rw-r--r-- | src/backgroundmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backgroundmanager.cpp b/src/backgroundmanager.cpp index fadef51..fd3916c 100644 --- a/src/backgroundmanager.cpp +++ b/src/backgroundmanager.cpp @@ -21,7 +21,7 @@ #include <kurl.h> #include <tdeglobal.h> #include <tdestandarddirs.h> -#include <ksimpleconfig.h> +#include <tdesimpleconfig.h> #include <tqpainter.h> #include <tqdir.h> #include <tqimage.h> @@ -120,7 +120,7 @@ bool BackgroundManager::subscribe(const TQString &image) // Try to load the pixmap: entry->pixmap = new TQPixmap(entry->location); // Try to figure out if it's a tiled background image or not (default to NO): - KSimpleConfig config(entry->location + ".config", /*readOnly=*/true); + TDESimpleConfig config(entry->location + ".config", /*readOnly=*/true); config.setGroup("BasKet Background Image Configuration"); entry->tiled = config.readBoolEntry("tiled", false); } @@ -287,7 +287,7 @@ TQPixmap* BackgroundManager::preview(const TQString &image) // Because, as we are loading the pixmap we ALSO need to know if it's a tile or not, in case that image will soon be used (and not destroyed by the garbager): entry->pixmap = new TQPixmap(entry->location); // Try to figure out if it's a tiled background image or not (default to NO): - KSimpleConfig config(entry->location + ".config", /*readOnly=*/true); + TDESimpleConfig config(entry->location + ".config", /*readOnly=*/true); config.setGroup("BasKet Background Image Configuration"); entry->tiled = config.readBoolEntry("tiled", false); } |
