diff options
Diffstat (limited to 'tdefx')
-rw-r--r-- | tdefx/kcpuinfo.h | 2 | ||||
-rw-r--r-- | tdefx/kdrawutil.cpp | 20 | ||||
-rw-r--r-- | tdefx/kdrawutil.h | 20 | ||||
-rw-r--r-- | tdefx/kimageeffect.h | 2 | ||||
-rw-r--r-- | tdefx/kpixmap.h | 2 | ||||
-rw-r--r-- | tdefx/kpixmapeffect.h | 2 | ||||
-rw-r--r-- | tdefx/kpixmapsplitter.h | 2 | ||||
-rw-r--r-- | tdefx/kstyle.h | 2 |
8 files changed, 26 insertions, 26 deletions
diff --git a/tdefx/kcpuinfo.h b/tdefx/kcpuinfo.h index ce39ded82..69c840e46 100644 --- a/tdefx/kcpuinfo.h +++ b/tdefx/kcpuinfo.h @@ -36,7 +36,7 @@ * * @since 3.2 */ -class KDEFX_EXPORT KCPUInfo +class TDEFX_EXPORT KCPUInfo { public: /** diff --git a/tdefx/kdrawutil.cpp b/tdefx/kdrawutil.cpp index 83fe7d300..0610865cb 100644 --- a/tdefx/kdrawutil.cpp +++ b/tdefx/kdrawutil.cpp @@ -18,7 +18,7 @@ #include "kdrawutil.h" #include <tqdrawutil.h> -KDEFX_EXPORT void kDrawNextButton(TQPainter *p, int x, int y, int w, int h, +TDEFX_EXPORT void kDrawNextButton(TQPainter *p, int x, int y, int w, int h, const TQColorGroup &g, bool sunken, const TQBrush *fill) { @@ -40,13 +40,13 @@ KDEFX_EXPORT void kDrawNextButton(TQPainter *p, int x, int y, int w, int h, } -KDEFX_EXPORT void kDrawNextButton(TQPainter *p, const TQRect &r, const TQColorGroup &g, +TDEFX_EXPORT void kDrawNextButton(TQPainter *p, const TQRect &r, const TQColorGroup &g, bool sunken, const TQBrush *fill) { kDrawNextButton(p, r.x(), r.y(), r.width(), r.height(), g, sunken, fill); } -KDEFX_EXPORT void kDrawBeButton(TQPainter *p, int x, int y, int w, int h, +TDEFX_EXPORT void kDrawBeButton(TQPainter *p, int x, int y, int w, int h, const TQColorGroup &g, bool sunken, const TQBrush *fill) { TQPen oldPen = p->pen(); @@ -90,13 +90,13 @@ KDEFX_EXPORT void kDrawBeButton(TQPainter *p, int x, int y, int w, int h, p->setPen(oldPen); } -KDEFX_EXPORT void kDrawBeButton(TQPainter *p, TQRect &r, const TQColorGroup &g, bool sunken, +TDEFX_EXPORT void kDrawBeButton(TQPainter *p, TQRect &r, const TQColorGroup &g, bool sunken, const TQBrush *fill) { kDrawBeButton(p, r.x(), r.y(), r.width(), r.height(), g, sunken, fill); } -KDEFX_EXPORT void kDrawRoundButton(TQPainter *p, const TQRect &r, const TQColorGroup &g, +TDEFX_EXPORT void kDrawRoundButton(TQPainter *p, const TQRect &r, const TQColorGroup &g, bool sunken) { int x, y, x2, y2; @@ -136,7 +136,7 @@ KDEFX_EXPORT void kDrawRoundButton(TQPainter *p, const TQRect &r, const TQColorG qDrawWinPanel(p, x, y, r.width(), r.height(), g, sunken); } -KDEFX_EXPORT void kDrawRoundButton(TQPainter *p, int x, int y, int w, int h, +TDEFX_EXPORT void kDrawRoundButton(TQPainter *p, int x, int y, int w, int h, const TQColorGroup &g, bool sunken) { TQRect r(x, y, w, h); @@ -145,7 +145,7 @@ KDEFX_EXPORT void kDrawRoundButton(TQPainter *p, int x, int y, int w, int h, #define QCOORDARRLEN(x) sizeof(x)/(sizeof(TQCOORD)*2) -KDEFX_EXPORT void kDrawRoundMask(TQPainter *p, int x, int y, int w, int h, bool clear) +TDEFX_EXPORT void kDrawRoundMask(TQPainter *p, int x, int y, int w, int h, bool clear) { // round edge fills static const TQCOORD btm_left_fill[]={ 0,0,1,0,2,0,3,0,4,0,0,1,1,1,2,1,3,1,4,1, @@ -194,7 +194,7 @@ KDEFX_EXPORT void kDrawRoundMask(TQPainter *p, int x, int y, int w, int h, bool p->fillRect(x, y, w, h, fillBrush); } -KDEFX_EXPORT void kRoundMaskRegion(TQRegion &r, int x, int y, int w, int h) +TDEFX_EXPORT void kRoundMaskRegion(TQRegion &r, int x, int y, int w, int h) { // using a bunch of TQRect lines seems much more efficient than bitmaps or // point arrays, even tho it uses more statements @@ -214,7 +214,7 @@ KDEFX_EXPORT void kRoundMaskRegion(TQRegion &r, int x, int y, int w, int h) r += TQRect(x2, y+6, 1, h-12); } -KDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int y, +TDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int y, TQBitmap *lightColor, TQBitmap *midColor, TQBitmap *midlightColor, TQBitmap *darkColor, TQBitmap *blackColor, TQBitmap *whiteColor) @@ -236,7 +236,7 @@ KDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int } } -KDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int y, int w, +TDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int y, int w, int h, bool isXBitmaps, const uchar *lightColor, const uchar *midColor, const uchar *midlightColor, const uchar *darkColor, const uchar *blackColor, diff --git a/tdefx/kdrawutil.h b/tdefx/kdrawutil.h index 6aa0f3c44..76d6070c3 100644 --- a/tdefx/kdrawutil.h +++ b/tdefx/kdrawutil.h @@ -45,14 +45,14 @@ * @param fill The brush to use for filling the interior of the button. * Pass @a null to prevent the button from being filled. */ -KDEFX_EXPORT void kDrawNextButton(TQPainter *p, const TQRect &r, const TQColorGroup &g, +TDEFX_EXPORT void kDrawNextButton(TQPainter *p, const TQRect &r, const TQColorGroup &g, bool sunken=false, const TQBrush *fill=0); /** * @relates KStyle * @overload */ -KDEFX_EXPORT void kDrawNextButton(TQPainter *p, int x, int y, int w, int h, +TDEFX_EXPORT void kDrawNextButton(TQPainter *p, int x, int y, int w, int h, const TQColorGroup &g, bool sunken=false, const TQBrush *fill=0); @@ -69,7 +69,7 @@ KDEFX_EXPORT void kDrawNextButton(TQPainter *p, int x, int y, int w, int h, * @param fill The brush to use for filling the interior of the button. * Pass @a null to prevent the button from being filled. */ -KDEFX_EXPORT void kDrawBeButton(TQPainter *p, TQRect &r, const TQColorGroup &g, +TDEFX_EXPORT void kDrawBeButton(TQPainter *p, TQRect &r, const TQColorGroup &g, bool sunken=false, const TQBrush *fill=0); /** @@ -77,7 +77,7 @@ KDEFX_EXPORT void kDrawBeButton(TQPainter *p, TQRect &r, const TQColorGroup &g, * @c \#include @c <kdrawutil.h> * @overload */ -KDEFX_EXPORT void kDrawBeButton(TQPainter *p, int x, int y, int w, int h, +TDEFX_EXPORT void kDrawBeButton(TQPainter *p, int x, int y, int w, int h, const TQColorGroup &g, bool sunken=false, const TQBrush *fill=0); @@ -93,14 +93,14 @@ KDEFX_EXPORT void kDrawBeButton(TQPainter *p, int x, int y, int w, int h, * @param g Specifies the shading colors. * @param sunken Whether to draw the button as sunken (pressed) or not. */ -KDEFX_EXPORT void kDrawRoundButton(TQPainter *p, const TQRect &r, const TQColorGroup &g, +TDEFX_EXPORT void kDrawRoundButton(TQPainter *p, const TQRect &r, const TQColorGroup &g, bool sunken=false); /** * @relates KStyle * @overload */ -KDEFX_EXPORT void kDrawRoundButton(TQPainter *p, int x, int y, int w, int h, +TDEFX_EXPORT void kDrawRoundButton(TQPainter *p, int x, int y, int w, int h, const TQColorGroup &g, bool sunken=false); /** @@ -118,7 +118,7 @@ KDEFX_EXPORT void kDrawRoundButton(TQPainter *p, int x, int y, int w, int h, * * @see kDrawRoundButton() and kDrawRoundMask() */ -KDEFX_EXPORT void kRoundMaskRegion(TQRegion &r, int x, int y, int w, int h); +TDEFX_EXPORT void kRoundMaskRegion(TQRegion &r, int x, int y, int w, int h); /** * @relates KStyle @@ -135,7 +135,7 @@ KDEFX_EXPORT void kRoundMaskRegion(TQRegion &r, int x, int y, int w, int h); * @param clear Whether to clear the rectangle specified by @p (x, y, w, h) to * Qt::color0 before drawing the mask. */ -KDEFX_EXPORT void kDrawRoundMask(TQPainter *p, int x, int y, int w, int h, bool clear=false); +TDEFX_EXPORT void kDrawRoundMask(TQPainter *p, int x, int y, int w, int h, bool clear=false); /** * @relates KStyle @@ -161,7 +161,7 @@ KDEFX_EXPORT void kDrawRoundMask(TQPainter *p, int x, int y, int w, int h, bool * * @see QColorGroup */ -KDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int y, +TDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int y, TQBitmap *lightColor=0, TQBitmap *midColor=0, TQBitmap *midlightColor=0, TQBitmap *darkColor=0, TQBitmap *blackColor=0, TQBitmap *whiteColor=0); @@ -171,7 +171,7 @@ KDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int * @c \#include @c <kdrawutil.h> * @overload */ - KDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int y, int w, + TDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int y, int w, int h, bool isXBitmaps=true, const uchar *lightColor = 0, const uchar *midColor=0, const uchar *midlightColor=0, const uchar *darkColor=0, const uchar *blackColor=0, diff --git a/tdefx/kimageeffect.h b/tdefx/kimageeffect.h index 8d73e5bfb..77a6fc9c1 100644 --- a/tdefx/kimageeffect.h +++ b/tdefx/kimageeffect.h @@ -47,7 +47,7 @@ class TQRect; * just call the static methods. They are encapsulated here merely to provide * a common namespace. */ -class KDEFX_EXPORT KImageEffect +class TDEFX_EXPORT KImageEffect { public: /** diff --git a/tdefx/kpixmap.h b/tdefx/kpixmap.h index 34397791e..a9cade98f 100644 --- a/tdefx/kpixmap.h +++ b/tdefx/kpixmap.h @@ -54,7 +54,7 @@ class KPixmapPrivate; * @author Mark Donohoe (donohoe@kde.org) * @version $Id$ */ -class KDEFX_EXPORT KPixmap : public TQPixmap +class TDEFX_EXPORT KPixmap : public TQPixmap { public: /** diff --git a/tdefx/kpixmapeffect.h b/tdefx/kpixmapeffect.h index c0c8ac68c..79df92856 100644 --- a/tdefx/kpixmapeffect.h +++ b/tdefx/kpixmapeffect.h @@ -24,7 +24,7 @@ class TQColor; * just call the static methods. They are encapsulated here merely to provide * a common namespace. */ -class KDEFX_EXPORT KPixmapEffect +class TDEFX_EXPORT KPixmapEffect { public: enum GradientType { VerticalGradient, HorizontalGradient, diff --git a/tdefx/kpixmapsplitter.h b/tdefx/kpixmapsplitter.h index 84b5a8647..3cb25ca97 100644 --- a/tdefx/kpixmapsplitter.h +++ b/tdefx/kpixmapsplitter.h @@ -50,7 +50,7 @@ class KPixmapSplitterPrivate; * * @author Carsten Pfeiffer <pfeiffer@kde.org> */ -class KDEFX_EXPORT KPixmapSplitter +class TDEFX_EXPORT KPixmapSplitter { public: /** diff --git a/tdefx/kstyle.h b/tdefx/kstyle.h index 42bd1a231..9f87af881 100644 --- a/tdefx/kstyle.h +++ b/tdefx/kstyle.h @@ -54,7 +54,7 @@ struct KStylePrivate; * @author Karol Szwed (gallium@kde.org) * @version $Id$ */ -class KDEFX_EXPORT KStyle: public TQCommonStyle +class TDEFX_EXPORT KStyle: public TQCommonStyle { Q_OBJECT TQ_OBJECT |