summaryrefslogtreecommitdiffstats
path: root/tdestyles/keramik
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:03:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:29:31 +0900
commit4c0dae60b2fbc60996fc8f4bd29ee6219b869527 (patch)
tree6aa583e34395f4d19d4b85f081b31513e5c9c19d /tdestyles/keramik
parent066f257eadc5866386c2cfbdba1a93105cff67ae (diff)
downloadtdelibs-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 'tdestyles/keramik')
-rw-r--r--tdestyles/keramik/genembed.cpp4
-rw-r--r--tdestyles/keramik/gradients.cpp2
-rw-r--r--tdestyles/keramik/pixmaploader.h4
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;