summaryrefslogtreecommitdiffstats
path: root/src/SUSE2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/SUSE2.h')
-rw-r--r--src/SUSE2.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/SUSE2.h b/src/SUSE2.h
index 463f1ce..b249455 100644
--- a/src/SUSE2.h
+++ b/src/SUSE2.h
@@ -24,7 +24,7 @@
#ifndef SUSE2_H
#define SUSE2_H
-#include <qfont.h>
+#include <tqfont.h>
#include <kdecoration.h>
#include <kdecorationfactory.h>
@@ -66,7 +66,7 @@ enum ColorType {
BtnBg
};
-class SUSE2Handler: public QObject, public KDecorationFactory
+class SUSE2Handler: public TQObject, public KDecorationFactory
{
Q_OBJECT
public:
@@ -81,11 +81,11 @@ public:
int titleHeight() const { return m_titleHeight; }
int titleHeightTool() const { return m_titleHeightTool; }
- QFont titleFont() const { return m_titleFont; }
- QFont titleFontTool() const { return m_titleFontTool; }
+ TQFont titleFont() const { return m_titleFont; }
+ TQFont titleFontTool() const { return m_titleFontTool; }
bool titleLogo() const { return m_titleLogo; }
int titleLogoOffset() const { return m_titleLogoOffset; }
- QString titleLogoURL() const { return m_titleLogoURL; }
+ TQString titleLogoURL() const { return m_titleLogoURL; }
bool titleShadow() const { return m_titleShadow; }
int borderSize() const { return m_borderSize; }
int titlebarStyle() const { return m_titlebarStyle; }
@@ -97,11 +97,11 @@ public:
float iconSize() const { return m_iconSize; }
bool iconShadow() const { return m_iconShadow; }
bool menuClose() const { return m_menuClose; }
- Qt::AlignmentFlags titleAlign() const { return m_titleAlign; }
+ TQt::AlignmentFlags titleAlign() const { return m_titleAlign; }
int roundCorners() const { return m_roundCorners; }
bool reverseLayout() const { return m_reverse; }
- QColor getColor(KWinSUSE2::ColorType type, const bool active = true) const;
- QValueList< SUSE2Handler::BorderSize > borderSizes() const;
+ TQColor getColor(KWinSUSE2::ColorType type, const bool active = true) const;
+ TQValueList< SUSE2Handler::BorderSize > borderSizes() const;
private:
void readConfig();
@@ -114,10 +114,10 @@ private:
float m_iconSize;
int m_titlebarStyle;
bool m_customIconColors;
- QColor m_aFgColor;
- QColor m_aBgColor;
- QColor m_iFgColor;
- QColor m_iBgColor;
+ TQColor m_aFgColor;
+ TQColor m_aBgColor;
+ TQColor m_iFgColor;
+ TQColor m_iBgColor;
bool m_iconShadow;
bool m_animateButtons;
bool m_redCloseButton;
@@ -126,12 +126,12 @@ private:
int m_borderSize;
int m_titleHeight;
int m_titleHeightTool;
- QFont m_titleFont;
- QFont m_titleFontTool;
- Qt::AlignmentFlags m_titleAlign;
+ TQFont m_titleFont;
+ TQFont m_titleFontTool;
+ TQt::AlignmentFlags m_titleAlign;
int m_roundCorners;
int m_titleLogoOffset;
- QString m_titleLogoURL;
+ TQString m_titleLogoURL;
bool m_useTitleProps;
KPixmap *m_pixmaps[NumButtonStatus][NumButtonIcons];