From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- kdejava/koala/org/kde/koala/KIconEffect.java | 42 ++++++++++++++-------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'kdejava/koala/org/kde/koala/KIconEffect.java') diff --git a/kdejava/koala/org/kde/koala/KIconEffect.java b/kdejava/koala/org/kde/koala/KIconEffect.java index 5422b0a8..757bffd4 100644 --- a/kdejava/koala/org/kde/koala/KIconEffect.java +++ b/kdejava/koala/org/kde/koala/KIconEffect.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QRect; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QImage; -import org.kde.qt.QWidget; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQImage; +import org.kde.qt.TQWidget; /** @@ -108,7 +108,7 @@ public class KIconEffect implements QtSupport { @short Applies an effect to an image. */ - public native QImage apply(QImage src, int group, int state); + public native TQImage apply(TQImage src, int group, int state); /** Applies an effect to an image. @param src The image. @@ -120,11 +120,11 @@ public class KIconEffect implements QtSupport { @short Applies an effect to an image. */ - public native QImage apply(QImage src, int effect, float value, QColor rgb, boolean trans); + public native TQImage apply(TQImage src, int effect, float value, TQColor rgb, boolean trans); /** @short */ - public native QImage apply(QImage src, int effect, float value, QColor rgb, QColor rgb2, boolean trans); + public native TQImage apply(TQImage src, int effect, float value, TQColor rgb, TQColor rgb2, boolean trans); /** Applies an effect to a pixmap. @param src The pixmap. @@ -134,7 +134,7 @@ public class KIconEffect implements QtSupport { @short Applies an effect to a pixmap. */ - public native QPixmap apply(QPixmap src, int group, int state); + public native TQPixmap apply(TQPixmap src, int group, int state); /** Applies an effect to a pixmap. @param src The pixmap. @@ -146,11 +146,11 @@ public class KIconEffect implements QtSupport { @short Applies an effect to a pixmap. */ - public native QPixmap apply(QPixmap src, int effect, float value, QColor rgb, boolean trans); + public native TQPixmap apply(TQPixmap src, int effect, float value, TQColor rgb, boolean trans); /** @short */ - public native QPixmap apply(QPixmap src, int effect, float value, QColor rgb, QColor rgb2, boolean trans); + public native TQPixmap apply(TQPixmap src, int effect, float value, TQColor rgb, TQColor rgb2, boolean trans); /** Returns an image twice as large, consisting of 2x2 pixels. @param src the image. @@ -158,7 +158,7 @@ public class KIconEffect implements QtSupport { @short Returns an image twice as large, consisting of 2x2 pixels. */ - public native QImage doublePixels(QImage src); + public native TQImage doublePixels(TQImage src); /** Provides visual feedback to show activation of an icon on a widget. Not strictly an 'icon effect', but in practice that's what it looks @@ -169,14 +169,14 @@ public class KIconEffect implements QtSupport { @param rect This rectangle defines the effect's borders @short Provides visual feedback to show activation of an icon on a widget. */ - public static native void visualActivate(QWidget widget, QRect rect); + public static native void visualActivate(TQWidget widget, TQRect rect); /** Tints an image gray. @param image The image @param value Strength of the effect. 0 <= value <= 1 @short Tints an image gray. */ - public static native void toGray(QImage image, float value); + public static native void toGray(TQImage image, float value); /** Colorizes an image with a specific color. @param image The image @@ -184,7 +184,7 @@ public class KIconEffect implements QtSupport { @param value Strength of the effect. 0 <= value <= 1 @short Colorizes an image with a specific color. */ - public static native void colorize(QImage image, QColor col, float value); + public static native void colorize(TQImage image, TQColor col, float value); /** Produces a monochrome icon with a given foreground and background color @param image The image @@ -193,40 +193,40 @@ public class KIconEffect implements QtSupport { @param value Strength of the effect. 0 <= value <= 1 @short Produces a monochrome icon with a given foreground and background color */ - public static native void toMonochrome(QImage image, QColor black, QColor white, float value); + public static native void toMonochrome(TQImage image, TQColor black, TQColor white, float value); /** Desaturates an image. @param image The image @param value Strength of the effect. 0 <= value <= 1 @short Desaturates an image. */ - public static native void deSaturate(QImage image, float value); + public static native void deSaturate(TQImage image, float value); /** Changes the gamma value of an image. @param image The image @param value Strength of the effect. 0 <= value <= 1 @short Changes the gamma value of an image. */ - public static native void toGamma(QImage image, float value); + public static native void toGamma(TQImage image, float value); /** Renders an image semi-transparent. @param image The image @short Renders an image semi-transparent. */ - public static native void semiTransparent(QImage image); + public static native void semiTransparent(TQImage image); /** Renders a pixmap semi-transparent. @param pixmap The pixmap @short Renders a pixmap semi-transparent. */ - public static native void semiTransparent(QPixmap pixmap); + public static native void semiTransparent(TQPixmap pixmap); /** Overlays an image with an other image. @param src The image @param overlay The image to overlay src with @short Overlays an image with an other image. */ - public static native void overlay(QImage src, QImage overlay); + public static native void overlay(TQImage src, TQImage overlay); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ -- cgit v1.2.3