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:47:11 +0900
commit303b6445011a6ed10c48ac6e1eda415e5c371264 (patch)
treeaded2a8ee5046176d3295bbf1f90f5dd73746677 /tdeui/karrowbutton.cpp
parent141ced0c41af8726eedac425ea24cd162bcff862 (diff)
downloadtdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.tar.gz
tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3)
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() )