diff options
author | Mavridis Philippe <[email protected]> | 2023-08-05 15:50:55 +0300 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-12 14:04:38 +0900 |
commit | 7c193f33d78ab79d2811a60c5190abdc1fa95c03 (patch) | |
tree | f15093c66ef5e1802772891b74ee7f9c3479e54a /twin/tabbox.cpp | |
parent | 8a662b46fa97c2686b639ed9429e1850dcb91c9c (diff) | |
download | tdebase-7c193f33d78ab79d2811a60c5190abdc1fa95c03.tar.gz tdebase-7c193f33d78ab79d2811a60c5190abdc1fa95c03.zip |
twin: update Qt:: -> TQt::
Signed-off-by: Mavridis Philippe <[email protected]>
(cherry picked from commit 83e74d1e550db6a814ec252968b601f6a9b14f9b)
Diffstat (limited to 'twin/tabbox.cpp')
-rw-r--r-- | twin/tabbox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/twin/tabbox.cpp b/twin/tabbox.cpp index d88146f22..1cf0fb8c2 100644 --- a/twin/tabbox.cpp +++ b/twin/tabbox.cpp @@ -474,7 +474,7 @@ void TabBox::drawContents( TQPainter * ) p.setPen(colorGroup().text()); p.drawText(x+5 + iconWidth + 8, y, r.width() - 5 - iconWidth - 8, lineHeight, - Qt::AlignLeft | Qt::AlignVCenter | TQt::SingleLine, s); + TQt::AlignLeft | TQt::AlignVCenter | TQt::SingleLine, s); y += lineHeight; } @@ -521,7 +521,7 @@ void TabBox::drawContents( TQPainter * ) // draw desktop-number p.setFont(f); TQString num = TQString::number(iDesktop); - p.drawText(x+5, y+2, iconWidth, iconHeight, Qt::AlignCenter, num); + p.drawText(x+5, y+2, iconWidth, iconHeight, TQt::AlignCenter, num); p.restore(); @@ -532,7 +532,7 @@ void TabBox::drawContents( TQPainter * ) p.setPen(colorGroup().text()); p.drawText(x+5 + iconWidth + 8, y, r.width() - 5 - iconWidth - 8, lineHeight, - Qt::AlignLeft | Qt::AlignVCenter | TQt::SingleLine, + TQt::AlignLeft | TQt::AlignVCenter | TQt::SingleLine, workspace()->desktopName(iDesktop)); // show mini icons from that desktop aligned to each other @@ -1180,7 +1180,7 @@ void Workspace::tabBoxKeyPress( const KKeyNative& keyX ) if (control_grab || tab_grab) { uint keyQt = keyX.keyCodeQt(); - if ( ((keyQt & 0xffff) == Qt::Key_Escape) + if ( ((keyQt & 0xffff) == TQt::Key_Escape) && !(forward || backward) ) { // if Escape is part of the shortcut, don't cancel closeTabBox(); |