diff options
author | Mavridis Philippe <[email protected]> | 2023-08-05 15:50:55 +0300 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-12 14:01:03 +0900 |
commit | 83e74d1e550db6a814ec252968b601f6a9b14f9b (patch) | |
tree | f5b58985811f820f89cdb2564711ce04a744af37 /twin/tabbox.cpp | |
parent | 42f97b681bd0a2bab49875cbcae5cacef4dfa7c2 (diff) | |
download | tdebase-83e74d1e550db6a814ec252968b601f6a9b14f9b.tar.gz tdebase-83e74d1e550db6a814ec252968b601f6a9b14f9b.zip |
twin: update Qt:: -> TQt::
Signed-off-by: Mavridis Philippe <[email protected]>
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(); |