summaryrefslogtreecommitdiffstats
path: root/src/imageplugins/coreplugin/imageeffect_bcg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imageplugins/coreplugin/imageeffect_bcg.cpp')
-rw-r--r--src/imageplugins/coreplugin/imageeffect_bcg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/imageplugins/coreplugin/imageeffect_bcg.cpp b/src/imageplugins/coreplugin/imageeffect_bcg.cpp
index 9d21115d..5d6d3a90 100644
--- a/src/imageplugins/coreplugin/imageeffect_bcg.cpp
+++ b/src/imageplugins/coreplugin/imageeffect_bcg.cpp
@@ -256,7 +256,7 @@ void ImageEffect_BCG::slotColorSelectedFromTarget( const Digikam::DColor &color
void ImageEffect_BCG::readUserSettings()
{
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup("bcgadjust Tool Dialog");
m_channelCB->setCurrentItem(config->readNumEntry("Histogram Channel", 0)); // Luminosity.
m_scaleBG->setButton(config->readNumEntry("Histogram Scale", Digikam::HistogramWidget::LogScaleHistogram));
@@ -269,7 +269,7 @@ void ImageEffect_BCG::readUserSettings()
void ImageEffect_BCG::writeUserSettings()
{
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup("bcgadjust Tool Dialog");
config->writeEntry("Histogram Channel", m_channelCB->currentItem());
config->writeEntry("Histogram Scale", m_scaleBG->selectedId());
@@ -294,7 +294,7 @@ void ImageEffect_BCG::resetValues()
void ImageEffect_BCG::slotEffect()
{
- kapp->setOverrideCursor( KCursor::waitCursor() );
+ tdeApp->setOverrideCursor( KCursor::waitCursor() );
double b = (double)m_bInput->value()/250.0;
double c = (double)(m_cInput->value()/100.0) + 1.00;
@@ -329,12 +329,12 @@ void ImageEffect_BCG::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_BCG::finalRendering()
{
- kapp->setOverrideCursor( KCursor::waitCursor() );
+ tdeApp->setOverrideCursor( KCursor::waitCursor() );
Digikam::ImageIface* iface = m_previewWidget->imageIface();
double b = (double)m_bInput->value()/250.0;
@@ -342,7 +342,7 @@ void ImageEffect_BCG::finalRendering()
double g = m_gInput->value();
iface->setOriginalBCG(b, c, g);
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
accept();
}