diff options
Diffstat (limited to 'style/polyester.h')
-rwxr-xr-x | style/polyester.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/style/polyester.h b/style/polyester.h index a4a93d8..84f1133 100755 --- a/style/polyester.h +++ b/style/polyester.h @@ -23,7 +23,7 @@ Copyright (C) 2000 Daniel M. Duley <[email protected]> (C) 2000 Dirk Mueller <[email protected]> (C) 2001 Martijn Klingens <[email protected]> - Progressbar code based on KStyle, + Progressbar code based on TDEStyle, Copyright (C) 2001-2002 Karol Szwed <[email protected]> This library is free software; you can redistribute it and/or @@ -44,7 +44,7 @@ #ifndef __POLYESTER_H #define __POLYESTER_H -#include <kstyle.h> +#include <tdestyle.h> #include <tqbitmap.h> #include <tqintcache.h> @@ -62,7 +62,7 @@ class TQTimer; //a tiny reimplementation of max... int max(int a, int b){return (a>b?a:b);} -class PolyesterStyle : public KStyle +class PolyesterStyle : public TDEStyle { TQ_OBJECT @@ -74,7 +74,7 @@ public: void polish(TQWidget* widget ); void unPolish(TQWidget* widget ); - void drawKStylePrimitive(KStylePrimitive kpe, + void drawTDEStylePrimitive(TDEStylePrimitive kpe, TQPainter* p, const TQWidget* widget, const TQRect &r, @@ -112,7 +112,7 @@ public: int pixelMetric(PixelMetric m, const TQWidget *widget = 0 ) const; - int kPixelMetric(KStylePixelMetric kpm, const TQWidget *widget) const; + int kPixelMetric(TDEStylePixelMetric kpm, const TQWidget *widget) const; TQRect subRect(SubRect r, const TQWidget *widget ) const; @@ -242,7 +242,7 @@ protected: bool mouseOver = false, bool horizontal = true, bool enabled = true, - bool khtmlMode = false, + bool tdehtmlMode = false, int animFrame = 0, bool isDefault = false) const; @@ -285,7 +285,7 @@ protected: int hoverHeaderId; protected slots: - void khtmlWidgetDestroyed(TQObject* w); + void tdehtmlWidgetDestroyed(TQObject* w); void sliderThumbMoved(int val); @@ -311,7 +311,7 @@ private: bool _scrollBarLines; TQString _scrollBarStyle; int _scrollBarExtent; - KStyle::KStyleScrollBarType _scrollBarType; + TDEStyle::TDEStyleScrollBarType _scrollBarType; bool _useLowerCaseText; bool _animateProgressBar; bool _animateButton; @@ -346,8 +346,8 @@ private: TQTab *hoverTab; - // track khtml widgets. - TQMap<const TQWidget*,bool> khtmlWidgets; + // track tdehtml widgets. + TQMap<const TQWidget*,bool> tdehtmlWidgets; //Animation support. TQMap<TQWidget*, int> progAnimWidgets; |