diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-16 23:37:57 +0900 |
commit | ef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch) | |
tree | 03df826633e4ba084d133ca977c4fc37c74f21ac /lib/kofficeui/KoToolBox.cpp | |
parent | 895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff) | |
download | koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kofficeui/KoToolBox.cpp')
-rw-r--r-- | lib/kofficeui/KoToolBox.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kofficeui/KoToolBox.cpp b/lib/kofficeui/KoToolBox.cpp index 222b206d1..86d2ad88d 100644 --- a/lib/kofficeui/KoToolBox.cpp +++ b/lib/kofficeui/KoToolBox.cpp @@ -139,10 +139,10 @@ void KoToolBox::setupTools() } -void KoToolBox::setOrientation ( Qt::Orientation o ) +void KoToolBox::setOrientation ( TQt::Orientation o ) { if ( barPos() == Floating ) { // when floating, make it a standing toolbox. - o = o == Qt::Vertical ? Qt::Horizontal : Qt::Vertical; + o = o == TQt::Vertical ? TQt::Horizontal : TQt::Vertical; } TQDockWindow::setOrientation( o ); @@ -239,15 +239,15 @@ TQWidget* ToolArea::getNextParent() } -void ToolArea::setOrientation ( Qt::Orientation o ) +void ToolArea::setOrientation ( TQt::Orientation o ) { - TQBoxLayout::Direction dir = (o != Qt::Horizontal + TQBoxLayout::Direction dir = (o != TQt::Horizontal ? TQBoxLayout::TopToBottom : TQBoxLayout::LeftToRight); m_leftLayout->setDirection(dir); m_rightLayout->setDirection(dir); - m_layout->setDirection(o == Qt::Horizontal + m_layout->setDirection(o == TQt::Horizontal ? TQBoxLayout::TopToBottom : TQBoxLayout::LeftToRight); } |