From 303b6445011a6ed10c48ac6e1eda415e5c371264 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 13 Nov 2023 20:33:00 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3) --- tdeui/karrowbutton.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tdeui/karrowbutton.cpp') diff --git a/tdeui/karrowbutton.cpp b/tdeui/karrowbutton.cpp index 4dbbe5bab..b1ecc4c88 100644 --- a/tdeui/karrowbutton.cpp +++ b/tdeui/karrowbutton.cpp @@ -24,10 +24,10 @@ class KArrowButtonPrivate { public: - Qt::ArrowType arrow; + TQt::ArrowType arrow; }; -KArrowButton::KArrowButton(TQWidget *parent, Qt::ArrowType arrow, +KArrowButton::KArrowButton(TQWidget *parent, TQt::ArrowType arrow, const char *name) : TQPushButton(parent, name) { @@ -45,14 +45,14 @@ TQSize KArrowButton::sizeHint() const return TQSize( 12, 12 ); } -void KArrowButton::setArrowType(Qt::ArrowType a) +void KArrowButton::setArrowType(TQt::ArrowType a) { if (d->arrow != a) { d->arrow = a; repaint(); } } -Qt::ArrowType KArrowButton::arrowType() const +TQt::ArrowType KArrowButton::arrowType() const { return d->arrow; } @@ -95,10 +95,10 @@ void KArrowButton::drawButton(TQPainter *p) TQStyle::PrimitiveElement e = TQStyle::PE_ArrowLeft; switch (d->arrow) { - case Qt::LeftArrow: e = TQStyle::PE_ArrowLeft; break; - case Qt::RightArrow: e = TQStyle::PE_ArrowRight; break; - case Qt::UpArrow: e = TQStyle::PE_ArrowUp; break; - case Qt::DownArrow: e = TQStyle::PE_ArrowDown; break; + case TQt::LeftArrow: e = TQStyle::PE_ArrowLeft; break; + case TQt::RightArrow: e = TQStyle::PE_ArrowRight; break; + case TQt::UpArrow: e = TQStyle::PE_ArrowUp; break; + case TQt::DownArrow: e = TQStyle::PE_ArrowDown; break; } int flags = TQStyle::Style_Enabled; if ( isDown() ) -- cgit v1.2.1