summaryrefslogtreecommitdiffstats
path: root/src/kwin/iaora.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kwin/iaora.h')
-rw-r--r--src/kwin/iaora.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/kwin/iaora.h b/src/kwin/iaora.h
index 3f8d757..b79d229 100644
--- a/src/kwin/iaora.h
+++ b/src/kwin/iaora.h
@@ -24,7 +24,7 @@
#ifndef IAORA_H
#define IAORA_H
-#include <qfont.h>
+#include <tqfont.h>
#include <kdecoration.h>
#include <kdecorationfactory.h>
@@ -75,7 +75,7 @@ enum ButtonIcon {
NumButtonIcons
};
-class IaOraHandler: public QObject, public KDecorationFactory
+class IaOraHandler: public TQObject, public KDecorationFactory
{
Q_OBJECT
public:
@@ -86,37 +86,37 @@ public:
virtual KDecoration* createDecoration( KDecorationBridge* );
virtual bool supports( Ability ability );
- const QPixmap &pixmap(Pixmaps type, bool active, bool toolWindow);
- const QBitmap &buttonBitmap(ButtonIcon type, const QSize &size, bool toolWindow);
+ const TQPixmap &pixmap(Pixmaps type, bool active, bool toolWindow);
+ const TQBitmap &buttonBitmap(ButtonIcon type, const TQSize &size, bool toolWindow);
int titleHeight()const { return m_titleHeight; }
int titleHeightTool()const { return m_titleHeightTool; }
- const QFont &titleFont() { return m_titleFont; }
- const QFont &titleFontTool() { return m_titleFontTool; }
+ const TQFont &titleFont() { return m_titleFont; }
+ const TQFont &titleFontTool() { return m_titleFontTool; }
bool titleShadow()const { return m_titleShadow; }
bool menuClose()const { return m_menuClose; }
bool reverseLayout()const { return m_reverse; }
- QColor getColor(KWinIaOra::ColorType type, const bool active = true);
- QColor getGradientColor( KWinIaOra::ColorType type, const bool active);
- QColor getBorderColor( KWinIaOra::ColorType type, const bool active);
- QColor getShadowColor();
+ TQColor getColor(KWinIaOra::ColorType type, const bool active = true);
+ TQColor getGradientColor( KWinIaOra::ColorType type, const bool active);
+ TQColor getBorderColor( KWinIaOra::ColorType type, const bool active);
+ TQColor getShadowColor();
private:
void readConfig();
- void pretile(QPixmap *&pix, int size, Qt::Orientation dir) const;
+ void pretile(TQPixmap *&pix, int size, TQt::Orientation dir) const;
bool m_titleShadow;
bool m_menuClose;
bool m_reverse;
int m_titleHeight;
int m_titleHeightTool;
- QFont m_titleFont;
- QFont m_titleFontTool;
+ TQFont m_titleFont;
+ TQFont m_titleFontTool;
// pixmap cache
- QPixmap *m_pixmaps[2][2][NumPixmaps]; // button pixmaps have normal+pressed state...
- QBitmap *m_bitmaps[2][NumButtonIcons];
+ TQPixmap *m_pixmaps[2][2][NumPixmaps]; // button pixmaps have normal+pressed state...
+ TQBitmap *m_bitmaps[2][NumButtonIcons];
};
IaOraHandler* Handler();