summaryrefslogtreecommitdiffstats
path: root/kolourpaint/tools/kptoolconverttograyscale.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolourpaint/tools/kptoolconverttograyscale.cpp')
-rw-r--r--kolourpaint/tools/kptoolconverttograyscale.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kolourpaint/tools/kptoolconverttograyscale.cpp b/kolourpaint/tools/kptoolconverttograyscale.cpp
index a80ef8fa..524e3e6d 100644
--- a/kolourpaint/tools/kptoolconverttograyscale.cpp
+++ b/kolourpaint/tools/kptoolconverttograyscale.cpp
@@ -26,8 +26,8 @@
*/
-#include <qapplication.h>
-#include <qpixmap.h>
+#include <tqapplication.h>
+#include <tqpixmap.h>
#include <klocale.h>
@@ -54,9 +54,9 @@ kpToolConvertToGrayscaleCommand::~kpToolConvertToGrayscaleCommand ()
// public virtual [base kpCommand]
-QString kpToolConvertToGrayscaleCommand::name () const
+TQString kpToolConvertToGrayscaleCommand::name () const
{
- QString opName = i18n ("Reduce to Grayscale");
+ TQString opName = i18n ("Reduce to Grayscale");
if (m_actOnSelection)
return i18n ("Selection: %1").arg (opName);
@@ -79,16 +79,16 @@ void kpToolConvertToGrayscaleCommand::execute ()
if (!doc)
return;
- QApplication::setOverrideCursor (Qt::waitCursor);
+ TQApplication::setOverrideCursor (Qt::waitCursor);
- m_oldPixmapPtr = new QPixmap ();
+ m_oldPixmapPtr = new TQPixmap ();
*m_oldPixmapPtr = *doc->pixmap (m_actOnSelection);
- QPixmap newPixmap = kpPixmapFX::convertToGrayscale (*doc->pixmap (m_actOnSelection));
+ TQPixmap newPixmap = kpPixmapFX::convertToGrayscale (*doc->pixmap (m_actOnSelection));
doc->setPixmap (m_actOnSelection, newPixmap);
- QApplication::restoreOverrideCursor ();
+ TQApplication::restoreOverrideCursor ();
}
// public virtual [base kpCommand]