summaryrefslogtreecommitdiffstats
path: root/tdehtml/misc
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 17:50:49 +0900
commit04d353236066b9aa85f6387fa05d3d37b75a7dd2 (patch)
tree3781200cbdb5db08e22cb07dd16c2dcdf6402b98 /tdehtml/misc
parentb0f1961286230520573e2433b0ed4562718ce7a3 (diff)
downloadtdelibs-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 'tdehtml/misc')
-rw-r--r--tdehtml/misc/helper.cpp2
-rw-r--r--tdehtml/misc/helper.h6
-rw-r--r--tdehtml/misc/loader.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/tdehtml/misc/helper.cpp b/tdehtml/misc/helper.cpp
index b5191c7ca..6b9e06a14 100644
--- a/tdehtml/misc/helper.cpp
+++ b/tdehtml/misc/helper.cpp
@@ -66,7 +66,7 @@ double calcHue(double temp1, double temp2, double hueVal)
// explanation available at http://en.wikipedia.org/wiki/HSL_color_space
// all values are in the range of 0 to 1.0
-QRgb tdehtml::tqRgbaFromHsla(double h, double s, double l, double a)
+TQRgb tdehtml::tqRgbaFromHsla(double h, double s, double l, double a)
{
double temp2 = l < 0.5 ? l * (1.0 + s) : l + s - l * s;
double temp1 = 2.0 * l - temp2;
diff --git a/tdehtml/misc/helper.h b/tdehtml/misc/helper.h
index 10ffb8035..2433c9284 100644
--- a/tdehtml/misc/helper.h
+++ b/tdehtml/misc/helper.h
@@ -32,15 +32,15 @@ class TQPainter;
namespace tdehtml
{
class RenderObject;
- const QRgb transparentColor = 0x00000000;
- const QRgb invertedColor = 0x00000002;
+ const TQRgb transparentColor = 0x00000000;
+ const TQRgb invertedColor = 0x00000002;
extern TQPainter *printpainter;
void setPrintPainter( TQPainter *printer );
bool hasSufficientContrast(const TQColor &c1, const TQColor &c2);
TQColor retrieveBackgroundColor(const RenderObject *obj);
- QRgb tqRgbaFromHsla(double h, double s, double l, double a);
+ TQRgb tqRgbaFromHsla(double h, double s, double l, double a);
//enumerator for findSelectionNode
enum FindSelectionResult { SelectionPointBefore,
diff --git a/tdehtml/misc/loader.h b/tdehtml/misc/loader.h
index 2639f82f6..e340b3023 100644
--- a/tdehtml/misc/loader.h
+++ b/tdehtml/misc/loader.h
@@ -317,7 +317,7 @@ namespace tdehtml
TQPixmap* p;
TQPixmap* scaled;
TQPixmap* bg;
- QRgb bgColor;
+ TQRgb bgColor;
TQSize bgSize;
mutable TQPixmap* pixPart;