diff options
Diffstat (limited to 'src/imageplugins/adjustcurves/adjustcurvestool.cpp')
-rw-r--r-- | src/imageplugins/adjustcurves/adjustcurvestool.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/imageplugins/adjustcurves/adjustcurvestool.cpp b/src/imageplugins/adjustcurves/adjustcurvestool.cpp index 7bfd00f7..dbf2a08d 100644 --- a/src/imageplugins/adjustcurves/adjustcurvestool.cpp +++ b/src/imageplugins/adjustcurves/adjustcurvestool.cpp @@ -438,7 +438,7 @@ void AdjustCurvesTool::slotEffect() void AdjustCurvesTool::finalRendering() { - kapp->setOverrideCursor( KCursor::waitCursor() ); + tdeApp->setOverrideCursor( KCursor::waitCursor() ); ImageIface* iface = m_previewWidget->imageIface(); uchar *orgData = iface->getOriginalImage(); int w = iface->originalWidth(); @@ -455,7 +455,7 @@ void AdjustCurvesTool::finalRendering() m_curvesWidget->curves()->curvesLutProcess(orgData, desData, w, h); iface->putOriginalImage(i18n("Adjust Curves"), desData); - kapp->restoreOverrideCursor(); + tdeApp->restoreOverrideCursor(); delete [] orgData; delete [] desData; @@ -539,7 +539,7 @@ void AdjustCurvesTool::slotCurveTypeChanged(int type) void AdjustCurvesTool::readSettings() { - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("adjustcurves Tool"); m_channelCB->setCurrentItem(config->readNumEntry("Histogram Channel", 0)); // Luminosity. @@ -578,7 +578,7 @@ void AdjustCurvesTool::readSettings() void AdjustCurvesTool::writeSettings() { - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("adjustcurves Tool"); config->writeEntry("Histogram Channel", m_channelCB->currentItem()); config->writeEntry("Histogram Scale", m_scaleBG->selectedId()); @@ -620,14 +620,14 @@ void AdjustCurvesTool::slotLoadSettings() KURL loadCurvesFile; loadCurvesFile = KFileDialog::getOpenURL(TDEGlobalSettings::documentPath(), - TQString( "*" ), kapp->activeWindow(), + TQString( "*" ), tdeApp->activeWindow(), TQString( i18n("Select Gimp Curves File to Load")) ); if( loadCurvesFile.isEmpty() ) return; if ( m_curvesWidget->curves()->loadCurvesFromGimpCurvesFile( loadCurvesFile ) == false ) { - KMessageBox::error(kapp->activeWindow(), i18n("Cannot load from the Gimp curves text file.")); + KMessageBox::error(tdeApp->activeWindow(), i18n("Cannot load from the Gimp curves text file.")); return; } @@ -641,14 +641,14 @@ void AdjustCurvesTool::slotSaveAsSettings() KURL saveCurvesFile; saveCurvesFile = KFileDialog::getSaveURL(TDEGlobalSettings::documentPath(), - TQString( "*" ), kapp->activeWindow(), + TQString( "*" ), tdeApp->activeWindow(), TQString( i18n("Gimp Curves File to Save")) ); if( saveCurvesFile.isEmpty() ) return; if ( m_curvesWidget->curves()->saveCurvesToGimpCurvesFile( saveCurvesFile ) == false ) { - KMessageBox::error(kapp->activeWindow(), i18n("Cannot save to the Gimp curves text file.")); + KMessageBox::error(tdeApp->activeWindow(), i18n("Cannot save to the Gimp curves text file.")); return; } |