summaryrefslogtreecommitdiffstats
path: root/src/imageplugins/coreplugin/imageplugin_core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imageplugins/coreplugin/imageplugin_core.cpp')
-rw-r--r--src/imageplugins/coreplugin/imageplugin_core.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/imageplugins/coreplugin/imageplugin_core.cpp b/src/imageplugins/coreplugin/imageplugin_core.cpp
index 22c63b34..ea1e060e 100644
--- a/src/imageplugins/coreplugin/imageplugin_core.cpp
+++ b/src/imageplugins/coreplugin/imageplugin_core.cpp
@@ -199,7 +199,7 @@ void ImagePlugin_Core::slotAutoCorrection()
void ImagePlugin_Core::slotInvert()
{
- kapp->setOverrideCursor( KCursor::waitCursor() );
+ tdeApp->setOverrideCursor( KCursor::waitCursor() );
ImageIface iface(0, 0);
@@ -213,7 +213,7 @@ void ImagePlugin_Core::slotInvert()
iface.putOriginalImage(i18n("Invert"), data);
delete [] data;
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
}
void ImagePlugin_Core::slotBW()
@@ -228,7 +228,7 @@ void ImagePlugin_Core::slotRedEye()
if (!iface.selectedWidth() || !iface.selectedHeight())
{
- RedEyePassivePopup* popup = new RedEyePassivePopup(kapp->activeWindow());
+ RedEyePassivePopup* popup = new RedEyePassivePopup(tdeApp->activeWindow());
popup->setView(i18n("Red-Eye Correction Tool"),
i18n("You need to select a region including the eyes to use "
"the red-eye correction tool"));
@@ -260,13 +260,13 @@ void ImagePlugin_Core::slotConvertTo8Bits()
if (!iface.originalSixteenBit())
{
- KMessageBox::error(kapp->activeWindow(), i18n("This image is already using a depth of 8 bits / color / pixel."));
+ KMessageBox::error(tdeApp->activeWindow(), i18n("This image is already using a depth of 8 bits / color / pixel."));
return;
}
else
{
if (KMessageBox::warningContinueCancel(
- kapp->activeWindow(),
+ tdeApp->activeWindow(),
i18n("Performing this operation will reduce image color quality. "
"Do you want to continue?"), TQString(),
KStdGuiItem::cont(),
@@ -274,9 +274,9 @@ void ImagePlugin_Core::slotConvertTo8Bits()
return;
}
- kapp->setOverrideCursor( KCursor::waitCursor() );
+ tdeApp->setOverrideCursor( KCursor::waitCursor() );
iface.convertOriginalColorDepth(32);
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
}
void ImagePlugin_Core::slotConvertTo16Bits()
@@ -285,11 +285,11 @@ void ImagePlugin_Core::slotConvertTo16Bits()
if (iface.originalSixteenBit())
{
- KMessageBox::error(kapp->activeWindow(), i18n("This image is already using a depth of 16 bits / color / pixel."));
+ KMessageBox::error(tdeApp->activeWindow(), i18n("This image is already using a depth of 16 bits / color / pixel."));
return;
}
- kapp->setOverrideCursor( KCursor::waitCursor() );
+ tdeApp->setOverrideCursor( KCursor::waitCursor() );
iface.convertOriginalColorDepth(64);
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
}