diff options
Diffstat (limited to 'src/imageplugins/channelmixer/channelmixertool.cpp')
-rw-r--r-- | src/imageplugins/channelmixer/channelmixertool.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/imageplugins/channelmixer/channelmixertool.cpp b/src/imageplugins/channelmixer/channelmixertool.cpp index c8215178..ac27be5c 100644 --- a/src/imageplugins/channelmixer/channelmixertool.cpp +++ b/src/imageplugins/channelmixer/channelmixertool.cpp @@ -443,7 +443,7 @@ void ChannelMixerTool::slotEffect() void ChannelMixerTool::finalRendering() { - kapp->setOverrideCursor( KCursor::waitCursor() ); + tdeApp->setOverrideCursor( KCursor::waitCursor() ); ImageIface* iface = m_previewWidget->imageIface(); uchar *data = iface->getOriginalImage(); int w = iface->originalWidth(); @@ -473,7 +473,7 @@ void ChannelMixerTool::finalRendering() iface->putOriginalImage(i18n("Channel Mixer"), data); delete [] data; - kapp->restoreOverrideCursor(); + tdeApp->restoreOverrideCursor(); } void ChannelMixerTool::slotChannelChanged(int channel) @@ -517,7 +517,7 @@ void ChannelMixerTool::slotScaleChanged(int scale) void ChannelMixerTool::readSettings() { - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("channelmixer Tool"); m_channelCB->setCurrentItem(config->readNumEntry("Histogram Channel", 0)); // Luminosity. @@ -550,7 +550,7 @@ void ChannelMixerTool::readSettings() void ChannelMixerTool::writeSettings() { - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("channelmixer Tool"); config->writeEntry("Histogram Channel", m_channelCB->currentItem()); config->writeEntry("Histogram Scale", m_scaleBG->selectedId()); @@ -619,7 +619,7 @@ void ChannelMixerTool::slotLoadSettings() bool monochrome; loadGainsFileUrl = KFileDialog::getOpenURL(TDEGlobalSettings::documentPath(), - TQString( "*" ), kapp->activeWindow(), + TQString( "*" ), tdeApp->activeWindow(), TQString( i18n("Select Gimp Gains Mixer File to Load")) ); if( loadGainsFileUrl.isEmpty() ) return; @@ -692,7 +692,7 @@ void ChannelMixerTool::slotLoadSettings() } else { - KMessageBox::error(kapp->activeWindow(), i18n("Cannot load settings from the Gains Mixer text file.")); + KMessageBox::error(tdeApp->activeWindow(), i18n("Cannot load settings from the Gains Mixer text file.")); return; } } @@ -703,7 +703,7 @@ void ChannelMixerTool::slotSaveAsSettings() FILE *fp = 0L; saveGainsFileUrl = KFileDialog::getSaveURL(TDEGlobalSettings::documentPath(), - TQString( "*" ), kapp->activeWindow(), + TQString( "*" ), tdeApp->activeWindow(), TQString( i18n("Gimp Gains Mixer File to Save")) ); if( saveGainsFileUrl.isEmpty() ) return; @@ -766,7 +766,7 @@ void ChannelMixerTool::slotSaveAsSettings() } else { - KMessageBox::error(kapp->activeWindow(), i18n("Cannot save settings to the Gains Mixer text file.")); + KMessageBox::error(tdeApp->activeWindow(), i18n("Cannot save settings to the Gains Mixer text file.")); return; } } |