From 5cb1ea082794e19d062e004023ce44fae093d5bc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 12 Sep 2023 21:15:32 +0900 Subject: Replace various tqtinterface's TQ_* defines with actual types Signed-off-by: Michele Calgaro (cherry picked from commit 0f36f8966371d24decc0740ccf9f8b0cc2c57838) --- tdehtml/rendering/render_form.cpp | 2 +- tdehtml/rendering/render_form.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tdehtml/rendering') 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; -- cgit v1.2.1