summaryrefslogtreecommitdiffstats
path: root/src/imageplugins/coreplugin/imageeffect_iccproof.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imageplugins/coreplugin/imageeffect_iccproof.cpp')
-rw-r--r--src/imageplugins/coreplugin/imageeffect_iccproof.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/imageplugins/coreplugin/imageeffect_iccproof.cpp b/src/imageplugins/coreplugin/imageeffect_iccproof.cpp
index 79a09983..bee8560c 100644
--- a/src/imageplugins/coreplugin/imageeffect_iccproof.cpp
+++ b/src/imageplugins/coreplugin/imageeffect_iccproof.cpp
@@ -528,7 +528,7 @@ ImageEffect_ICCProof::~ImageEffect_ICCProof()
void ImageEffect_ICCProof::readUserSettings()
{
TQString defaultICCPath = TDEGlobalSettings::documentPath();
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
// General settings of digiKam Color Management
config->setGroup("Color Management");
@@ -604,7 +604,7 @@ void ImageEffect_ICCProof::readUserSettings()
void ImageEffect_ICCProof::writeUserSettings()
{
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup("colormanagement Tool Dialog");
config->writeEntry("Settings Tab", m_toolBoxWidgets->currentIndex());
config->writeEntry("Histogram Channel", m_channelCB->currentItem());
@@ -640,7 +640,7 @@ void ImageEffect_ICCProof::writeUserSettings()
void ImageEffect_ICCProof::processLCMSURL(const TQString& url)
{
- TDEApplication::kApplication()->invokeBrowser(url);
+ tdeApp->invokeBrowser(url);
}
void ImageEffect_ICCProof::slotSpotColorChanged(const Digikam::DColor &color)
@@ -701,7 +701,7 @@ void ImageEffect_ICCProof::resetValues()
void ImageEffect_ICCProof::slotEffect()
{
- kapp->setOverrideCursor(KCursor::waitCursor());
+ tdeApp->setOverrideCursor(KCursor::waitCursor());
enableButtonOK(true);
m_histogramWidget->stopHistogramComputation();
@@ -814,7 +814,7 @@ void ImageEffect_ICCProof::slotEffect()
if ( proofCondition || spaceCondition )
{
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
TQString error = i18n("<p>Your settings are not sufficient.</p>"
"<p>To apply a color transform, you need at least two ICC profiles:</p>"
"<ul><li>An \"Input\" profile.</li>"
@@ -857,7 +857,7 @@ void ImageEffect_ICCProof::slotEffect()
memcpy(m_destinationPreviewData, preview2.bits(), preview2.numBytes());
m_histogramWidget->updateData(m_destinationPreviewData, w, h, sb, 0, 0, 0, false);
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
}
}
@@ -865,7 +865,7 @@ void ImageEffect_ICCProof::finalRendering()
{
if (!m_doSoftProofBox->isChecked())
{
- kapp->setOverrideCursor( KCursor::waitCursor() );
+ tdeApp->setOverrideCursor( KCursor::waitCursor() );
Digikam::ImageIface *iface = m_previewWidget->imageIface();
uchar *data = iface->getOriginalImage();
@@ -1005,7 +1005,7 @@ void ImageEffect_ICCProof::finalRendering()
delete [] data;
}
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
}
accept();