summaryrefslogtreecommitdiffstats
path: root/twin/clients/plastik/plastikclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/clients/plastik/plastikclient.cpp')
-rw-r--r--twin/clients/plastik/plastikclient.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/twin/clients/plastik/plastikclient.cpp b/twin/clients/plastik/plastikclient.cpp
index 31c9e2ad9..bb2c465a6 100644
--- a/twin/clients/plastik/plastikclient.cpp
+++ b/twin/clients/plastik/plastikclient.cpp
@@ -394,7 +394,7 @@ TQRect PlastikClient::captionRect() const
buttonsLeftWidth() - buttonsRightWidth() -
marginLeft - marginRight;
- TQ_Alignment a = Handler()->titleAlign();
+ TQt::AlignmentFlags a = Handler()->titleAlign();
int tX, tW; // position/width of the title buffer
if (caption.width() > titleWidth) {
@@ -402,10 +402,10 @@ TQRect PlastikClient::captionRect() const
} else {
tW = caption.width();
}
- if (a == Qt::AlignLeft || (caption.width() > titleWidth) ) {
+ if (a == TQt::AlignLeft || (caption.width() > titleWidth) ) {
// Align left
tX = titleLeft;
- } else if (a == Qt::AlignHCenter) {
+ } else if (a == TQt::AlignHCenter) {
// Align center
tX = titleLeft+(titleWidth- caption.width() )/2;
} else {