diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 12:03:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 12:29:31 +0900 |
commit | 4c0dae60b2fbc60996fc8f4bd29ee6219b869527 (patch) | |
tree | 6aa583e34395f4d19d4b85f081b31513e5c9c19d /tdefx/kimageeffect.cpp | |
parent | 066f257eadc5866386c2cfbdba1a93105cff67ae (diff) | |
download | tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.tar.gz tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdefx/kimageeffect.cpp')
-rw-r--r-- | tdefx/kimageeffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdefx/kimageeffect.cpp b/tdefx/kimageeffect.cpp index bba2e4952..0ee1645cb 100644 --- a/tdefx/kimageeffect.cpp +++ b/tdefx/kimageeffect.cpp @@ -58,7 +58,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #endif //====================================================================== // -// Utility stuff for effects ported from ImageMagick to QImage +// Utility stuff for effects ported from ImageMagick to TQImage // //====================================================================== #define MaxRGB 255L @@ -2820,7 +2820,7 @@ void KImageEffect::threshold(TQImage &img, unsigned int threshold) data = (unsigned int *)img.tqcolorTable(); } for(i=0; i < count; ++i) - data[i] = intensityValue(data[i]) < threshold ? QColor(Qt::black).rgb() : QColor(Qt::white).rgb(); + data[i] = intensityValue(data[i]) < threshold ? TQColor(Qt::black).rgb() : TQColor(Qt::white).rgb(); } void KImageEffect::hull(const int x_offset, const int y_offset, |