summaryrefslogtreecommitdiffstats
path: root/src/imageplugins/coreplugin/rgbtool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imageplugins/coreplugin/rgbtool.cpp')
-rw-r--r--src/imageplugins/coreplugin/rgbtool.cpp12
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