summaryrefslogtreecommitdiffstats
path: root/src/imageplugins/hotpixels/hotpixelstool.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-21 14:25:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-02-03 22:24:26 +0900
commitedfc85e62cba9be0a16a44c060141f33d0f28481 (patch)
treecf90faf51aca0a8e89f7fbdcbfcc11b02f3021b5 /src/imageplugins/hotpixels/hotpixelstool.cpp
parent0bf733ec1780acd7d7f0122559029e09001b840e (diff)
downloaddigikam-edfc85e62cba9be0a16a44c060141f33d0f28481.tar.gz
digikam-edfc85e62cba9be0a16a44c060141f33d0f28481.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/imageplugins/hotpixels/hotpixelstool.cpp')
-rw-r--r--src/imageplugins/hotpixels/hotpixelstool.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imageplugins/hotpixels/hotpixelstool.cpp b/src/imageplugins/hotpixels/hotpixelstool.cpp
index fbcc6c9f..dd4dd8b9 100644
--- a/src/imageplugins/hotpixels/hotpixelstool.cpp
+++ b/src/imageplugins/hotpixels/hotpixelstool.cpp
@@ -135,7 +135,7 @@ HotPixelsTool::~HotPixelsTool()
void HotPixelsTool::readSettings()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("hotpixels Tool");
m_blackFrameURL = KURL(config->readEntry("Last Black Frame File", TQString()));
m_filterMethodCombo->setCurrentItem(config->readNumEntry("Filter Method",
@@ -166,7 +166,7 @@ void HotPixelsTool::slotLoadingComplete()
void HotPixelsTool::writeSettings()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("hotpixels Tool");
config->writeEntry("Last Black Frame File", m_blackFrameURL.url());
config->writeEntry("Filter Method", m_filterMethodCombo->currentItem());
@@ -183,7 +183,7 @@ void HotPixelsTool::slotResetSettings()
void HotPixelsTool::slotAddBlackFrame()
{
- KURL url = ImageDialog::getImageURL(kapp->activeWindow(), m_blackFrameURL, i18n("Select Black Frame Image"));
+ KURL url = ImageDialog::getImageURL(tdeApp->activeWindow(), m_blackFrameURL, i18n("Select Black Frame Image"));
if (!url.isEmpty())
{