summaryrefslogtreecommitdiffstats
path: root/tdehtml
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-12 21:15:32 +0900
committerMichele Calgaro <[email protected]>2023-09-12 22:25:25 +0900
commit5cb1ea082794e19d062e004023ce44fae093d5bc (patch)
tree89609f35d633fe5f71d36d0948b118bbf16a2209 /tdehtml
parentc7cf5fd96d2696a522b5a377c53899d8d7bd5d80 (diff)
downloadtdelibs-5cb1ea082794e19d062e004023ce44fae093d5bc.tar.gz
tdelibs-5cb1ea082794e19d062e004023ce44fae093d5bc.zip
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 0f36f8966371d24decc0740ccf9f8b0cc2c57838)
Diffstat (limited to 'tdehtml')
-rw-r--r--tdehtml/rendering/render_form.cpp2
-rw-r--r--tdehtml/rendering/render_form.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tdehtml/rendering/render_form.cpp b/tdehtml/rendering/render_form.cpp
index f251b7f3b..33f045553 100644
--- a/tdehtml/rendering/render_form.cpp
+++ b/tdehtml/rendering/render_form.cpp
@@ -99,7 +99,7 @@ void RenderFormElement::layout()
setNeedsLayout(false);
}
-TQ_Alignment RenderFormElement::textAlignment() const
+Qt::AlignmentFlags RenderFormElement::textAlignment() const
{
switch (style()->textAlign()) {
case LEFT:
diff --git a/tdehtml/rendering/render_form.h b/tdehtml/rendering/render_form.h
index 2ef4cafdb..8fa2099f8 100644
--- a/tdehtml/rendering/render_form.h
+++ b/tdehtml/rendering/render_form.h
@@ -95,7 +95,7 @@ public:
protected:
virtual bool isRenderButton() const { return false; }
virtual bool isEditable() const { return false; }
- TQ_Alignment textAlignment() const;
+ Qt::AlignmentFlags textAlignment() const;
TQPoint m_mousePos;
int m_state;