summaryrefslogtreecommitdiffstats
path: root/twin/clients/plastik/plastik.h
diff options
context:
space:
mode:
Diffstat (limited to 'twin/clients/plastik/plastik.h')
-rw-r--r--twin/clients/plastik/plastik.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/twin/clients/plastik/plastik.h b/twin/clients/plastik/plastik.h
index a4c1bc5b7..558ac848a 100644
--- a/twin/clients/plastik/plastik.h
+++ b/twin/clients/plastik/plastik.h
@@ -73,7 +73,7 @@ enum ButtonIcon {
class PlastikHandler: public TQObject, public KDecorationFactory
{
- Q_OBJECT
+ TQ_OBJECT
public:
PlastikHandler();
~PlastikHandler();
@@ -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; }
+ TQt::AlignmentFlags titleAlign() { return m_titleAlign; }
bool reverseLayout() { return m_reverse; }
TQColor getColor(KWinPlastik::ColorType type, const bool active = true);
@@ -101,7 +101,7 @@ public:
private:
void readConfig();
- void pretile(TQPixmap *&pix, int size, Qt::Orientation dir) const;
+ void pretile(TQPixmap *&pix, int size, TQt::Orientation dir) const;
bool m_coloredBorder;
bool m_titleShadow;
@@ -113,7 +113,7 @@ private:
int m_titleHeightTool;
TQFont m_titleFont;
TQFont m_titleFontTool;
- TQ_Alignment m_titleAlign;
+ TQt::AlignmentFlags m_titleAlign;
// pixmap cache
TQPixmap *m_pixmaps[2][2][NumPixmaps]; // button pixmaps have normal+pressed state...