diff options
Diffstat (limited to 'kjsembed/plugins/imagefx_plugin.h')
-rw-r--r-- | kjsembed/plugins/imagefx_plugin.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kjsembed/plugins/imagefx_plugin.h b/kjsembed/plugins/imagefx_plugin.h index b4f4c6a6..7e1f10d0 100644 --- a/kjsembed/plugins/imagefx_plugin.h +++ b/kjsembed/plugins/imagefx_plugin.h @@ -34,7 +34,7 @@ namespace Bindings { class ImageFXLoader : public JSBindingPlugin { public: - ImageFXLoader( TQObject *parent, const char *name, const TQStringList &args ); + ImageFXLoader( TTQObject *parent, const char *name, const TTQStringList &args ); KJS::Object createBinding(KJSEmbedPart *jspart, KJS::ExecState *exec, const KJS::List &args) const; }; enum BumpmapType { @@ -76,23 +76,23 @@ class ImageFX : JSProxyImp private: // Image effects - void gradient(const TQSize &size, const TQColor &ca, const TQColor &cb, KImageEffect::GradientType type, int ncols); - void unbalancedGradient(const TQSize &size, const TQColor &ca,const TQColor &cb, KImageEffect::GradientType type, int xfactor,int yfactor, int ncols); - void blendColor(const TQColor& clr, float opacity); - void blendImage(TQImage& blendImage, float opacity); - TQRect computeDestinationRect(const TQSize &lowerSize,KImageEffect::Disposition disposition); + void gradient(const TTQSize &size, const TTQColor &ca, const TTQColor &cb, KImageEffect::GradientType type, int ncols); + void unbalancedGradient(const TTQSize &size, const TTQColor &ca,const TTQColor &cb, KImageEffect::GradientType type, int xfactor,int yfactor, int ncols); + void blendColor(const TTQColor& clr, float opacity); + void blendImage(TTQImage& blendImage, float opacity); + TTQRect computeDestinationRect(const TTQSize &lowerSize,KImageEffect::Disposition disposition); void channelIntensity(float percent,KImageEffect::RGBComponent channel); - void fade(float val, const TQColor &color); - void flatten(const TQColor &ca,const TQColor &cb, int ncols); + void fade(float val, const TTQColor &color); + void flatten(const TTQColor &ca,const TTQColor &cb, int ncols); void hash(KImageEffect::Lighting lite,uint spacing); void intensity(float percent); - void modulate(TQImage &modImage, bool reverse,KImageEffect::ModulationType type, int factor, KImageEffect::RGBComponent channel); + void modulate(TTQImage &modImage, bool reverse,KImageEffect::ModulationType type, int factor, KImageEffect::RGBComponent channel); void toGray(bool fast); void desaturate(float desat); void contrast(int c); - void dither(const TQColor *palette, int size); - void selectedImage( const TQColor &col ); + void dither(const TTQColor *palette, int size); + void selectedImage( const TTQColor &col ); void contrastHSV( bool sharpen); void normalize(); void equalize(); @@ -118,7 +118,7 @@ class ImageFX : JSProxyImp void swirl(double degrees, uint background); void wave(double amplitude, double frequency,uint background); - TQImage bumpmap(TQImage &img, TQImage &map, double azimuth=135.0, double elevation=45.0, int depth=3, int xofs=0, int yofs=0, int waterlevel=0, int ambient=0, bool compensate=false, bool invert=false, BumpmapType type=Linear, bool tiled=false); + TTQImage bumpmap(TTQImage &img, TTQImage &map, double azimuth=135.0, double elevation=45.0, int depth=3, int xofs=0, int yofs=0, int waterlevel=0, int ambient=0, bool compensate=false, bool invert=false, BumpmapType type=Linear, bool tiled=false); int mid; }; |