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 17:50:49 +0900 |
commit | 04d353236066b9aa85f6387fa05d3d37b75a7dd2 (patch) | |
tree | 3781200cbdb5db08e22cb07dd16c2dcdf6402b98 /tdestyles/keramik | |
parent | b0f1961286230520573e2433b0ed4562718ce7a3 (diff) | |
download | tdelibs-04d353236066b9aa85f6387fa05d3d37b75a7dd2.tar.gz tdelibs-04d353236066b9aa85f6387fa05d3d37b75a7dd2.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 4c0dae60b2fbc60996fc8f4bd29ee6219b869527)
Diffstat (limited to 'tdestyles/keramik')
-rw-r--r-- | tdestyles/keramik/genembed.cpp | 4 | ||||
-rw-r--r-- | tdestyles/keramik/gradients.cpp | 2 | ||||
-rw-r--r-- | tdestyles/keramik/pixmaploader.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tdestyles/keramik/genembed.cpp b/tdestyles/keramik/genembed.cpp index c816b2a0f..cbbecae65 100644 --- a/tdestyles/keramik/genembed.cpp +++ b/tdestyles/keramik/genembed.cpp @@ -227,7 +227,7 @@ int main(int argc, char** argv) for (int pos=0; pos<size; pos++) { - QRgb basePix = (QRgb)*read; + TQRgb basePix = (TQRgb)*read; if (tqAlpha(basePix) != 255) reallySolid = false; @@ -245,7 +245,7 @@ int main(int argc, char** argv) read = reinterpret_cast< TQ_UINT32* >(input.bits() ); for (int pos=0; pos<size; pos++) { - QRgb basePix = (QRgb)*read; + TQRgb basePix = (TQRgb)*read; //cout<<(r*destAlpha.alphas[pos])<<"\n"; //cout<<(int)destAlpha.alphas[pos]<<"\n"; TQColor clr(basePix); diff --git a/tdestyles/keramik/gradients.cpp b/tdestyles/keramik/gradients.cpp index ca89abd61..a113d7a3c 100644 --- a/tdestyles/keramik/gradients.cpp +++ b/tdestyles/keramik/gradients.cpp @@ -35,7 +35,7 @@ namespace struct GradientCacheEntry { TQPixmap* m_pixmap; - QRgb m_color; + TQRgb m_color; bool m_menu; int m_width; int m_height; diff --git a/tdestyles/keramik/pixmaploader.h b/tdestyles/keramik/pixmaploader.h index b03cf3800..3bfcd2d1b 100644 --- a/tdestyles/keramik/pixmaploader.h +++ b/tdestyles/keramik/pixmaploader.h @@ -67,8 +67,8 @@ namespace Keramik int m_id; int m_width; int m_height; - QRgb m_colorCode; - QRgb m_bgCode; + TQRgb m_colorCode; + TQRgb m_bgCode; bool m_disabled; bool m_blended; |