diff options
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); } |