summaryrefslogtreecommitdiffstats
path: root/twin
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-12 21:15:21 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-12 21:15:21 +0900
commit2f0c2ae7b5a9144566dad971c4231709d19ece7a (patch)
treee07bfa2b03d2a99a8a599f0ea4f0fea3c20ee1e2 /twin
parent9ba68726b5f486af09b7e1d6dd3cd2a8394e2ea4 (diff)
downloadtdebase-2f0c2ae7b5a9144566dad971c4231709d19ece7a.tar.gz
tdebase-2f0c2ae7b5a9144566dad971c4231709d19ece7a.zip
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'twin')
-rw-r--r--twin/clients/plastik/plastik.h4
-rw-r--r--twin/clients/plastik/plastikclient.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/twin/clients/plastik/plastik.h b/twin/clients/plastik/plastik.h
index 587d93f4e..5e8c3d35c 100644
--- a/twin/clients/plastik/plastik.h
+++ b/twin/clients/plastik/plastik.h
@@ -93,7 +93,7 @@ public:
int borderSize() { return m_borderSize; }
bool animateButtons() { return m_animateButtons; }
bool menuClose() { return m_menuClose; }
- TQ_Alignment titleAlign() { return m_titleAlign; }
+ Qt::AlignmentFlags titleAlign() { return m_titleAlign; }
bool reverseLayout() { return m_reverse; }
TQColor getColor(KWinPlastik::ColorType type, const bool active = true);
@@ -113,7 +113,7 @@ private:
int m_titleHeightTool;
TQFont m_titleFont;
TQFont m_titleFontTool;
- TQ_Alignment m_titleAlign;
+ Qt::AlignmentFlags m_titleAlign;
// pixmap cache
TQPixmap *m_pixmaps[2][2][NumPixmaps]; // button pixmaps have normal+pressed state...
diff --git a/twin/clients/plastik/plastikclient.cpp b/twin/clients/plastik/plastikclient.cpp
index 6fa993721..ad3d768c7 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();
+ Qt::AlignmentFlags a = Handler()->titleAlign();
int tX, tW; // position/width of the title buffer
if (caption.width() > titleWidth) {