diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-21 14:25:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-02-03 22:24:26 +0900 |
| commit | edfc85e62cba9be0a16a44c060141f33d0f28481 (patch) | |
| tree | cf90faf51aca0a8e89f7fbdcbfcc11b02f3021b5 /src/imageplugins/coreplugin/rgbtool.cpp | |
| parent | 0bf733ec1780acd7d7f0122559029e09001b840e (diff) | |
| download | digikam-edfc85e62cba9be0a16a44c060141f33d0f28481.tar.gz digikam-edfc85e62cba9be0a16a44c060141f33d0f28481.zip | |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/imageplugins/coreplugin/rgbtool.cpp')
| -rw-r--r-- | src/imageplugins/coreplugin/rgbtool.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/imageplugins/coreplugin/rgbtool.cpp b/src/imageplugins/coreplugin/rgbtool.cpp index e27e396e..d4f7dfe4 100644 --- a/src/imageplugins/coreplugin/rgbtool.cpp +++ b/src/imageplugins/coreplugin/rgbtool.cpp @@ -309,7 +309,7 @@ void RGBTool::slotColorSelectedFromTarget(const DColor &color) void RGBTool::readSettings() { - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("colorbalance Tool"); m_channelCB->setCurrentItem(config->readNumEntry("Histogram Channel", 0)); // Luminosity. m_scaleBG->setButton(config->readNumEntry("Histogram Scale", HistogramWidget::LogScaleHistogram)); @@ -324,7 +324,7 @@ void RGBTool::readSettings() void RGBTool::writeSettings() { - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("colorbalance Tool"); config->writeEntry("Histogram Channel", m_channelCB->currentItem()); config->writeEntry("Histogram Scale", m_scaleBG->selectedId()); @@ -372,7 +372,7 @@ void RGBTool::adjustSliders(int r, int g, int b) void RGBTool::slotEffect() { - kapp->setOverrideCursor( KCursor::waitCursor() ); + tdeApp->setOverrideCursor( KCursor::waitCursor() ); m_gboxSettings->enableButton(EditorToolSettings::Ok, (m_rInput->value() != 0 || @@ -408,12 +408,12 @@ void RGBTool::slotEffect() memcpy(m_destinationPreviewData, preview.bits(), preview.numBytes()); m_histogramWidget->updateData(m_destinationPreviewData, w, h, sixteenBit, 0, 0, 0, false); - kapp->restoreOverrideCursor(); + tdeApp->restoreOverrideCursor(); } void RGBTool::finalRendering() { - kapp->setOverrideCursor( KCursor::waitCursor() ); + tdeApp->setOverrideCursor( KCursor::waitCursor() ); double r = ((double) m_rInput->value() + 100.0) / 100.0; double g = ((double) m_gInput->value() + 100.0) / 100.0; @@ -433,7 +433,7 @@ void RGBTool::finalRendering() cmod.applyColorModifier(original, r, g, b, a); iface->putOriginalImage(i18n("Color Balance"), original.bits()); - kapp->restoreOverrideCursor(); + tdeApp->restoreOverrideCursor(); } } // NameSpace DigikamImagesPluginCore |
