summaryrefslogtreecommitdiffstats
path: root/tdeui/karrowbutton.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-13 20:33:00 +0900
committerMichele Calgaro <[email protected]>2023-11-15 23:44:25 +0900
commitc8ece3630d4d21acaf1749fc2cf660a0463070c3 (patch)
treebae3d3c70886ceeffd914cac031dfeab532a607a /tdeui/karrowbutton.cpp
parent419c185be746df8bba59fe5de991b4a2b3977897 (diff)
downloadtdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.tar.gz
tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/karrowbutton.cpp')
-rw-r--r--tdeui/karrowbutton.cpp16
1 files changed, 8 insertions, 8 deletions
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() )