summaryrefslogtreecommitdiffstats
path: root/kicker/libkicker/panner.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 21:03:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 21:03:36 +0900
commitb965cbac5b21345e9dfc768a7e4f660ffa4aa72f (patch)
tree7fcff5d301752cbdcdfff64d8791aff1369b803f /kicker/libkicker/panner.cpp
parent7d6d35b42e00d6b6658951871b29489bdec80714 (diff)
downloadtdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.tar.gz
tdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kicker/libkicker/panner.cpp')
-rw-r--r--kicker/libkicker/panner.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kicker/libkicker/panner.cpp b/kicker/libkicker/panner.cpp
index 580d0e088..a868747fb 100644
--- a/kicker/libkicker/panner.cpp
+++ b/kicker/libkicker/panner.cpp
@@ -57,7 +57,7 @@ Panner::Panner( TQWidget* parent, const char* name )
// layout
_layout = new TQBoxLayout(this, TQBoxLayout::LeftToRight);
_layout->addWidget(_clipper, 1);
- setOrientation(Qt::Horizontal);
+ setOrientation(TQt::Horizontal);
}
Panner::~Panner()
@@ -97,12 +97,12 @@ void Panner::createScrollButtons()
void Panner::setupButtons()
{
- if (orientation() == Qt::Horizontal)
+ if (orientation() == TQt::Horizontal)
{
if (_luSB)
{
- _luSB->setArrowType(Qt::LeftArrow);
- _rdSB->setArrowType(Qt::RightArrow);
+ _luSB->setArrowType(TQt::LeftArrow);
+ _rdSB->setArrowType(TQt::RightArrow);
_luSB->setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding));
_rdSB->setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding));
TQToolTip::add(_luSB, i18n("Scroll left"));
@@ -115,8 +115,8 @@ void Panner::setupButtons()
{
if (_luSB)
{
- _luSB->setArrowType(Qt::UpArrow);
- _rdSB->setArrowType(Qt::DownArrow);
+ _luSB->setArrowType(TQt::UpArrow);
+ _rdSB->setArrowType(TQt::DownArrow);
_luSB->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum));
_rdSB->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum));
TQToolTip::add(_luSB, i18n("Scroll up"));
@@ -149,7 +149,7 @@ void Panner::resizeEvent( TQResizeEvent* )
void Panner::scrollRightDown()
{
- if(orientation() == Qt::Horizontal) // scroll right
+ if(orientation() == TQt::Horizontal) // scroll right
scrollBy( _step, 0 );
else // scroll down
scrollBy( 0, _step );
@@ -159,7 +159,7 @@ void Panner::scrollRightDown()
void Panner::scrollLeftUp()
{
- if(orientation() == Qt::Horizontal) // scroll left
+ if(orientation() == TQt::Horizontal) // scroll left
scrollBy( -_step, 0 );
else // scroll up
scrollBy( 0, -_step );
@@ -197,7 +197,7 @@ void Panner::reallyUpdateScrollButtons()
_updateScrollButtonsTimer->stop();
- if (orientation() == Qt::Horizontal)
+ if (orientation() == TQt::Horizontal)
{
delta = contentsWidth() - width();
}