summaryrefslogtreecommitdiffstats
path: root/src/imageplugins/hotpixels
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
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')
-rw-r--r--src/imageplugins/hotpixels/blackframeparser.cpp2
-rw-r--r--src/imageplugins/hotpixels/hotpixelstool.cpp6
-rw-r--r--src/imageplugins/hotpixels/imageeffect_hotpixels.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/imageplugins/hotpixels/blackframeparser.cpp b/src/imageplugins/hotpixels/blackframeparser.cpp
index 7306f4e6..96a26138 100644
--- a/src/imageplugins/hotpixels/blackframeparser.cpp
+++ b/src/imageplugins/hotpixels/blackframeparser.cpp
@@ -75,7 +75,7 @@ void BlackFrameParser::parseHotPixels(const TQString &file)
void BlackFrameParser::parseBlackFrame(const KURL &url)
{
#if KDE_IS_VERSION(3,2,0)
- TDEIO::NetAccess::download(url, m_localFile, kapp->activeWindow());
+ TDEIO::NetAccess::download(url, m_localFile, tdeApp->activeWindow());
#else
TDEIO::NetAccess::download(url, m_localFile);
#endif
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())
{
diff --git a/src/imageplugins/hotpixels/imageeffect_hotpixels.cpp b/src/imageplugins/hotpixels/imageeffect_hotpixels.cpp
index 67e9a1b2..4e73d981 100644
--- a/src/imageplugins/hotpixels/imageeffect_hotpixels.cpp
+++ b/src/imageplugins/hotpixels/imageeffect_hotpixels.cpp
@@ -133,7 +133,7 @@ ImageEffect_HotPixels::~ImageEffect_HotPixels()
void ImageEffect_HotPixels::readUserSettings()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("hotpixels Tool Dialog");
m_blackFrameURL = KURL(config->readEntry("Last Black Frame File", TQString()));
m_filterMethodCombo->setCurrentItem(config->readNumEntry("Filter Method",
@@ -153,7 +153,7 @@ void ImageEffect_HotPixels::readUserSettings()
void ImageEffect_HotPixels::writeUserSettings()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("hotpixels Tool Dialog");
config->writeEntry("Last Black Frame File", m_blackFrameURL.url());
config->writeEntry("Filter Method", m_filterMethodCombo->currentItem());