summaryrefslogtreecommitdiffstats
path: root/src/imageplugins/coreplugin/hsl/imageeffect_hsl.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-21 14:25:31 +0900
committerMichele Calgaro <[email protected]>2025-02-03 22:24:26 +0900
commitedfc85e62cba9be0a16a44c060141f33d0f28481 (patch)
treecf90faf51aca0a8e89f7fbdcbfcc11b02f3021b5 /src/imageplugins/coreplugin/hsl/imageeffect_hsl.cpp
parent0bf733ec1780acd7d7f0122559029e09001b840e (diff)
downloaddigikam-edfc85e62cba9be0a16a44c060141f33d0f28481.tar.gz
digikam-edfc85e62cba9be0a16a44c060141f33d0f28481.zip
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/imageplugins/coreplugin/hsl/imageeffect_hsl.cpp')
-rw-r--r--src/imageplugins/coreplugin/hsl/imageeffect_hsl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/imageplugins/coreplugin/hsl/imageeffect_hsl.cpp b/src/imageplugins/coreplugin/hsl/imageeffect_hsl.cpp
index e179d36f..c2f1a752 100644
--- a/src/imageplugins/coreplugin/hsl/imageeffect_hsl.cpp
+++ b/src/imageplugins/coreplugin/hsl/imageeffect_hsl.cpp
@@ -315,7 +315,7 @@ void ImageEffect_HSL::slotSChanged(double s)
void ImageEffect_HSL::readUserSettings()
{
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup("hsladjust Tool Dialog");
m_channelCB->setCurrentItem(config->readNumEntry("Histogram Channel", 0)); // Luminosity.
m_scaleBG->setButton(config->readNumEntry("Histogram Scale", Digikam::HistogramWidget::LogScaleHistogram));
@@ -330,7 +330,7 @@ void ImageEffect_HSL::readUserSettings()
void ImageEffect_HSL::writeUserSettings()
{
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup("hsladjust Tool Dialog");
config->writeEntry("Histogram Channel", m_channelCB->currentItem());
config->writeEntry("Histogram Scale", m_scaleBG->selectedId());
@@ -357,7 +357,7 @@ void ImageEffect_HSL::resetValues()
void ImageEffect_HSL::slotEffect()
{
- kapp->setOverrideCursor( KCursor::waitCursor() );
+ tdeApp->setOverrideCursor( KCursor::waitCursor() );
double hu = m_hInput->value();
double sa = m_sInput->value();
@@ -393,12 +393,12 @@ void ImageEffect_HSL::slotEffect()
memcpy(m_destinationPreviewData, preview.bits(), preview.numBytes());
m_histogramWidget->updateData(m_destinationPreviewData, w, h, sb, 0, 0, 0, false);
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
}
void ImageEffect_HSL::finalRendering()
{
- kapp->setOverrideCursor( KCursor::waitCursor() );
+ tdeApp->setOverrideCursor( KCursor::waitCursor() );
double hu = m_hInput->value();
double sa = m_sInput->value();
@@ -420,7 +420,7 @@ void ImageEffect_HSL::finalRendering()
cmod.applyHSL(original);
iface->putOriginalImage(i18n("HSL Adjustments"), original.bits());
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
accept();
}