diff options
author | Michele Calgaro <[email protected]> | 2023-09-25 12:03:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-25 12:29:31 +0900 |
commit | 4c0dae60b2fbc60996fc8f4bd29ee6219b869527 (patch) | |
tree | 6aa583e34395f4d19d4b85f081b31513e5c9c19d /tdecore/kiconloader.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 <[email protected]>
Diffstat (limited to 'tdecore/kiconloader.cpp')
-rw-r--r-- | tdecore/kiconloader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/kiconloader.cpp b/tdecore/kiconloader.cpp index 8665b9ce2..f687fab9c 100644 --- a/tdecore/kiconloader.cpp +++ b/tdecore/kiconloader.cpp @@ -812,7 +812,7 @@ TQPixmap TDEIconLoader::loadIcon(const TQString& _name, TDEIcon::Group group, in *img = img->convertDepth(32); for (int y = 0; y < img->height(); y++) { - QRgb *line = reinterpret_cast<QRgb *>(img->scanLine(y)); + TQRgb *line = reinterpret_cast<TQRgb *>(img->scanLine(y)); for (int x = 0; x < img->width(); x++) line[x] = (line[x] & 0x00ffffff) | (TQMIN(0x80, tqAlpha(line[x])) << 24); } @@ -851,8 +851,8 @@ TQPixmap TDEIconLoader::loadIcon(const TQString& _name, TDEIcon::Group group, in line < favIcon.height(); ++line ) { - QRgb* fpos = reinterpret_cast< QRgb* >( favIcon.scanLine( line )); - QRgb* ipos = reinterpret_cast< QRgb* >( img->scanLine( line + y )) + x; + TQRgb* fpos = reinterpret_cast< TQRgb* >( favIcon.scanLine( line )); + TQRgb* ipos = reinterpret_cast< TQRgb* >( img->scanLine( line + y )) + x; for( int i = 0; i < favIcon.width(); ++i, ++fpos, ++ipos ) |