diff options
author | Michele Calgaro <[email protected]> | 2023-11-06 11:39:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-07 11:44:25 +0900 |
commit | b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46 (patch) | |
tree | a322378de9225faac7c5226d1aaa01c4bfcdf527 /kolourpaint/widgets/kptooltoolbar.cpp | |
parent | 0181791a29594df4dbf38706d0b9ed509b3141f4 (diff) | |
download | tdegraphics-b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46.tar.gz tdegraphics-b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kolourpaint/widgets/kptooltoolbar.cpp')
-rw-r--r-- | kolourpaint/widgets/kptooltoolbar.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kolourpaint/widgets/kptooltoolbar.cpp b/kolourpaint/widgets/kptooltoolbar.cpp index 6e559fa8..dcd79e77 100644 --- a/kolourpaint/widgets/kptooltoolbar.cpp +++ b/kolourpaint/widgets/kptooltoolbar.cpp @@ -72,7 +72,7 @@ protected: // virtual [base TQWidget] void mouseDoubleClickEvent (TQMouseEvent *e) { - if (e->button () == Qt::LeftButton && m_tool) + if (e->button () == TQt::LeftButton && m_tool) m_tool->globalDraw (); } @@ -548,11 +548,11 @@ void kpToolToolBar::slotToolActionToolTipChanged () // public slot virtual [base TQDockWindow] -void kpToolToolBar::setOrientation (Qt::Orientation o) +void kpToolToolBar::setOrientation (TQt::Orientation o) { #if DEBUG_KP_TOOL_TOOL_BAR kdDebug () << "kpToolToolBar::setOrientation(" - << (o == Qt::Vertical ? "vertical" : "horizontal") + << (o == TQt::Vertical ? "vertical" : "horizontal") << ") called!" << endl; #endif @@ -575,7 +575,7 @@ void kpToolToolBar::setOrientation (Qt::Orientation o) delete m_toolLayout; delete m_baseLayout; - if (o == Qt::Vertical) + if (o == TQt::Vertical) { m_baseLayout = new TQBoxLayout (m_baseWidget, TQBoxLayout::TopToBottom, 5/*margin*/, @@ -586,7 +586,7 @@ void kpToolToolBar::setOrientation (Qt::Orientation o) 0/*margin*/, 0/*spacing*/); } - else // if (o == Qt::Horizontal) + else // if (o == TQt::Horizontal) { m_baseLayout = new TQBoxLayout (m_baseWidget, TQBoxLayout::LeftToRight, 5/*margin*/, @@ -616,7 +616,7 @@ void kpToolToolBar::setOrientation (Qt::Orientation o) { m_baseLayout->addWidget (*it, 0/*stretch*/, - o == Qt::Vertical ? TQt::AlignHCenter : TQt::AlignVCenter); + o == TQt::Vertical ? TQt::AlignHCenter : TQt::AlignVCenter); } } @@ -624,9 +624,9 @@ void kpToolToolBar::setOrientation (Qt::Orientation o) } // private -void kpToolToolBar::addButton (TQButton *button, Qt::Orientation o, int num) +void kpToolToolBar::addButton (TQButton *button, TQt::Orientation o, int num) { - if (o == Qt::Vertical) + if (o == TQt::Vertical) m_toolLayout->addWidget (button, num / m_vertCols, num % m_vertCols); else { |