diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-14 19:47:20 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-14 19:47:20 +0000 |
commit | 875ae8e38bc3663e5057ca910e7ebe4b2994edb9 (patch) | |
tree | ddd3b3bc4d6f0343bae986aebbf9555c20f8e558 /python/pykde/sip/kdefx | |
parent | cb61a0436524f8ceba31db51ce3f1c5d4afbbb0e (diff) | |
download | tdebindings-875ae8e38bc3663e5057ca910e7ebe4b2994edb9.tar.gz tdebindings-875ae8e38bc3663e5057ca910e7ebe4b2994edb9.zip |
Updated python directory
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1175349 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'python/pykde/sip/kdefx')
24 files changed, 0 insertions, 717 deletions
diff --git a/python/pykde/sip/kdefx/kcpuinfo.sip b/python/pykde/sip/kdefx/kcpuinfo.sip deleted file mode 100644 index 9fafc4a3..00000000 --- a/python/pykde/sip/kdefx/kcpuinfo.sip +++ /dev/null @@ -1,52 +0,0 @@ -// -// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com> -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KCPUInfo -{ -%TypeHeaderCode -#include <kcpuinfo.h> -%End - - -public: - - enum Extensions - { - IntelMMX, - IntelSSE, - IntelSSE2, - AMD3DNOW, - AltiVec - }; - - static bool haveExtension (uint); - -}; // class KCPUInfo - -%End - diff --git a/python/pykde/sip/kdefx/kdefx-kde320.diff b/python/pykde/sip/kdefx/kdefx-kde320.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde320.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde321.diff b/python/pykde/sip/kdefx/kdefx-kde321.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde321.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde322.diff b/python/pykde/sip/kdefx/kdefx-kde322.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde322.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde323.diff b/python/pykde/sip/kdefx/kdefx-kde323.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde323.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde330.diff b/python/pykde/sip/kdefx/kdefx-kde330.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde330.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde331.diff b/python/pykde/sip/kdefx/kdefx-kde331.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde331.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde332.diff b/python/pykde/sip/kdefx/kdefx-kde332.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde332.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde340.diff b/python/pykde/sip/kdefx/kdefx-kde340.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde340.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde341.diff b/python/pykde/sip/kdefx/kdefx-kde341.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde341.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde342.diff b/python/pykde/sip/kdefx/kdefx-kde342.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde342.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde343.diff b/python/pykde/sip/kdefx/kdefx-kde343.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde343.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde350.diff b/python/pykde/sip/kdefx/kdefx-kde350.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde350.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde351.diff b/python/pykde/sip/kdefx/kdefx-kde351.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde351.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde352.diff b/python/pykde/sip/kdefx/kdefx-kde352.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde352.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefx-kde353.diff b/python/pykde/sip/kdefx/kdefx-kde353.diff deleted file mode 100644 index 147a7f5a..00000000 --- a/python/pykde/sip/kdefx/kdefx-kde353.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefxmod.sip b/python/pykde/sip/kdefx/kdefxmod.sip deleted file mode 100644 index b3dc3b03..00000000 --- a/python/pykde/sip/kdefx/kdefxmod.sip +++ /dev/null @@ -1,41 +0,0 @@ -// -// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com> -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kdefx - -%Import qt/qtmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip - -%Include kdrawutil.sip -%Include kimageeffect.sip -%Include kpixmap.sip -%Include kpixmapeffect.sip -%Include kpixmapsplitter.sip -%Include kstyle.sip -%Include kcpuinfo.sip diff --git a/python/pykde/sip/kdefx/kdefxmod.sip.in b/python/pykde/sip/kdefx/kdefxmod.sip.in deleted file mode 100644 index 6cbad382..00000000 --- a/python/pykde/sip/kdefx/kdefxmod.sip.in +++ /dev/null @@ -1,41 +0,0 @@ -// -// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com> -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE_3_5_2 - -%Copying - - This software is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this library; see the file COPYING. - If not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kdefx - -%Import qt/qtmod.sip -%Import dcopmod.sip -%Import kdecoremod.sip - -%Include kdrawutil.sip -%Include kimageeffect.sip -%Include kpixmap.sip -%Include kpixmapeffect.sip -%Include kpixmapsplitter.sip -%Include kstyle.sip -@mark@ diff --git a/python/pykde/sip/kdefx/kdrawutil.sip b/python/pykde/sip/kdefx/kdrawutil.sip deleted file mode 100644 index 7afea686..00000000 --- a/python/pykde/sip/kdefx/kdrawutil.sip +++ /dev/null @@ -1,41 +0,0 @@ -// -// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com> -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%ModuleHeaderCode -#include <kdrawutil.h> -#include <sipqtQRegion.h> -#include <sipqtQBrush.h> -%End - -void kDrawNextButton (QPainter*, const QRect&, const QColorGroup&, bool = 0, const QBrush* = 0); -void kDrawNextButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0); -void kDrawBeButton (QPainter*, QRect&, const QColorGroup&, bool = 0, const QBrush* = 0); -void kDrawBeButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0); -void kDrawRoundButton (QPainter*, const QRect&, const QColorGroup&, bool = 0); -void kDrawRoundButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0); -void kRoundMaskRegion (QRegion&, int, int, int, int); -void kDrawRoundMask (QPainter*, int, int, int, int, bool = 0); -void kColorBitmaps (QPainter*, const QColorGroup&, int, int, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0); -void kColorBitmaps (QPainter*, const QColorGroup&, int, int, int, int, bool = 1, const uchar* = 0, const uchar* = 0, const uchar* = 0, const uchar* = 0, const uchar* = 0, const uchar* = 0); diff --git a/python/pykde/sip/kdefx/kimageeffect.sip b/python/pykde/sip/kdefx/kimageeffect.sip deleted file mode 100644 index b75243e9..00000000 --- a/python/pykde/sip/kdefx/kimageeffect.sip +++ /dev/null @@ -1,205 +0,0 @@ -// -// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com> -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KImageEffect -{ -%TypeHeaderCode -#include <kimageeffect.h> -%End - - -public: - - enum GradientType - { - VerticalGradient, - HorizontalGradient, - DiagonalGradient, - CrossDiagonalGradient, - PyramidGradient, - RectangleGradient, - PipeCrossGradient, - EllipticGradient - }; - - - enum RGBComponent - { - Red, - Green, - Blue, - Gray, - All - }; - - - enum Lighting - { - NorthLite, - NWLite, - WestLite, - SWLite, - SouthLite, - SELite, - EastLite, - NELite - }; - - - enum ModulationType - { - Intensity, - Saturation, - HueShift, - Contrast - }; - - - enum NoiseType - { - UniformNoise, - GaussianNoise, - MultiplicativeGaussianNoise, - ImpulseNoise, - LaplacianNoise, - PoissonNoise - }; - - - enum RotateDirection - { - Rotate90, - Rotate180, - Rotate270 - }; - - -%If ( KDE_3_3_0 - ) - - enum BumpmapType - { - Linear, - Spherical, - Sinuosidal - }; - -%End - - static QImage gradient (const QSize&, const QColor&, const QColor&, KImageEffect::GradientType, int = 3); - static QImage unbalancedGradient (const QSize&, const QColor&, const QColor&, KImageEffect::GradientType, int = 100, int = 100, int = 3); - static QImage& blend (const QColor&, QImage&, float); - static QImage& blend (QImage&, QImage&, float); - static QImage& blend (QImage&, float, const QColor&, KImageEffect::GradientType, bool = 0); - static QImage& blend (QImage&, QImage&, KImageEffect::GradientType, int = 100, int = 100); - static QImage& blend (QImage&, QImage&, QImage&, KImageEffect::RGBComponent); - static bool blend (const QImage&, const QImage&, QImage&); - static bool blend (int& /In, Out/, int& /In, Out/, const QImage&, const QImage&, QImage&); - static bool blendOnLower (int, int, const QImage&, const QImage&); - -%If ( KDE_3_2_0 - ) - static void blendOnLower (const QImage&, const QPoint&, QImage&, const QRect&); - static void blendOnLower (const QImage&, const QPoint&, QImage&, const QRect&, float); - - enum Disposition - { - NoImage, - Centered, - Tiled, - CenterTiled, - CenteredMaxpect, - TiledMaxpect, - Scaled, - CenteredAutoFit - }; - - static QRect computeDestinationRect (const QSize&, KImageEffect::Disposition, QImage&); - static void blendOnLower (QImage&, QImage&, KImageEffect::Disposition, float); -%End - - static QImage& channelIntensity (QImage&, float, KImageEffect::RGBComponent); - static QImage& fade (QImage&, float, const QColor&); - static QImage& flatten (QImage&, const QColor&, const QColor&, int = 0); - static QImage& hash (QImage&, KImageEffect::Lighting = NorthLite , uint = 0); - static QImage& intensity (QImage&, float); - static QImage& modulate (QImage&, QImage&, bool, KImageEffect::ModulationType, int, KImageEffect::RGBComponent); - static QImage& toGray (QImage&, bool = 0); - static QImage& desaturate (QImage&, float = 0.3); - static QImage& contrast (QImage&, int); -//ig static QImage& dither (QImage&, const QColor*, int); - static QImage& selectedImage (QImage&, const QColor&); - static void contrastHSV (QImage&, bool = 1); - static void normalize (QImage&); - static void equalize (QImage&); - static void threshold (QImage&, uint = 128); - static void solarize (QImage&, double = 50.0); - -%If ( KDE_3_2_0 - ) - static QImage emboss (QImage&, double, double); -%End - - static QImage emboss (QImage&); - static QImage despeckle (QImage&); - -%If ( KDE_3_2_0 - ) - static QImage charcoal (QImage&, double, double); -%End - - static QImage charcoal (QImage&, double = 50.0); - static QImage rotate (QImage&, KImageEffect::RotateDirection); - static QImage sample (QImage&, int, int); - static QImage addNoise (QImage&, KImageEffect::NoiseType = GaussianNoise ); - -%If ( KDE_3_2_0 - ) - static QImage blur (QImage&, double, double); -%End - - static QImage blur (QImage&, double = 50.0); - static QImage edge (QImage&, double = 50.0); - static QImage implode (QImage&, double = 30.0, uint = -1); - -%If ( KDE_3_2_0 - ) - static QImage oilPaintConvolve (QImage&, double); -%End - - static QImage oilPaint (QImage&, int = 3); - -%If ( KDE_3_2_0 - ) - static QImage sharpen (QImage&, double, double); -%End - - static QImage sharpen (QImage&, double = 30.0); - static QImage spread (QImage&, uint = 3); - static QImage shade (QImage&, bool = 1, double = 30.0, double = 30.0); - static QImage swirl (QImage&, double = 50.0, uint = -1); - static QImage wave (QImage&, double = 25.0, double = 150.0, uint = -1); - -%If ( KDE_3_3_0 - ) - static QImage bumpmap (QImage&, QImage&, double, double, int, int, int, int, int, bool, bool, KImageEffect::BumpmapType, bool); -%End - - -}; // class KImageEffect - diff --git a/python/pykde/sip/kdefx/kpixmap.sip b/python/pykde/sip/kdefx/kpixmap.sip deleted file mode 100644 index ba19245b..00000000 --- a/python/pykde/sip/kdefx/kpixmap.sip +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com> -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPixmap : QPixmap -{ -%TypeHeaderCode -#include <qpaintdevice.h> -#include <qpixmap.h> -#include <kpixmap.h> -%End - - -public: - - enum ColorMode - { - Auto, - Color, - Mono, - LowColor, - WebColor - }; - - - enum GradientMode - { - Horizontal, - Vertical, - Diagonal, - CrossDiagonal - }; - - KPixmap (); - KPixmap (const QPixmap&); - bool convertFromImage (const QImage&, int); - bool convertFromImage (const QImage&, ColorMode = WebColor ); - bool load (const QString&, const char*, int); - bool load (const QString&, const char* = 0, ColorMode = WebColor ); - bool checkColorTable (const QImage&); - -}; // class KPixmap - diff --git a/python/pykde/sip/kdefx/kpixmapeffect.sip b/python/pykde/sip/kdefx/kpixmapeffect.sip deleted file mode 100644 index f1d92794..00000000 --- a/python/pykde/sip/kdefx/kpixmapeffect.sip +++ /dev/null @@ -1,85 +0,0 @@ -// -// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com> -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPixmapEffect -{ -%TypeHeaderCode -#include <kpixmapeffect.h> -%End - - -public: - - enum GradientType - { - VerticalGradient, - HorizontalGradient, - DiagonalGradient, - CrossDiagonalGradient, - PyramidGradient, - RectangleGradient, - PipeCrossGradient, - EllipticGradient - }; - - - enum RGBComponent - { - Red, - Green, - Blue - }; - - - enum Lighting - { - NorthLite, - NWLite, - WestLite, - SWLite, - SouthLite, - SELite, - EastLite, - NELite - }; - - static KPixmap& gradient (KPixmap&, const QColor&, const QColor&, KPixmapEffect::GradientType, int = 3); - static KPixmap& unbalancedGradient (KPixmap&, const QColor&, const QColor&, KPixmapEffect::GradientType, int = 100, int = 100, int = 3); - static KPixmap createTiled (const KPixmap&, QSize); - static KPixmap& intensity (KPixmap&, float); - static KPixmap& channelIntensity (KPixmap&, float, KPixmapEffect::RGBComponent); - static KPixmap& blend (KPixmap&, float, const QColor&, KPixmapEffect::GradientType, bool = 0, int = 3); - static KPixmap& hash (KPixmap&, KPixmapEffect::Lighting = NorthLite , uint = 0, int = 3); - static KPixmap pattern (const KPixmap&, QSize, const QColor&, const QColor&, int = 8); - static KPixmap& fade (KPixmap&, double, const QColor&); - static KPixmap& toGray (KPixmap&, bool = 0); - static KPixmap& desaturate (KPixmap&, float = 0.3); - static KPixmap& contrast (KPixmap&, int); - static KPixmap& dither (KPixmap&, const QColor*, int); - static KPixmap selectedPixmap (const KPixmap&, const QColor&); - -}; // class KPixmapEffect - diff --git a/python/pykde/sip/kdefx/kpixmapsplitter.sip b/python/pykde/sip/kdefx/kpixmapsplitter.sip deleted file mode 100644 index 638d7341..00000000 --- a/python/pykde/sip/kdefx/kpixmapsplitter.sip +++ /dev/null @@ -1,46 +0,0 @@ -// -// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com> -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPixmapSplitter -{ -%TypeHeaderCode -#include <kpixmapsplitter.h> -%End - - -public: - KPixmapSplitter (); - void setPixmap (const QPixmap&); - const QPixmap& pixmap () const; - void setItemSize (const QSize&); - QSize itemSize () const; - void setVSpacing (int); - void setHSpacing (int); - QRect coordinates (int); - QRect coordinates (const QChar&); - -}; // class KPixmapSplitter - diff --git a/python/pykde/sip/kdefx/kstyle.sip b/python/pykde/sip/kdefx/kstyle.sip deleted file mode 100644 index 42ee3787..00000000 --- a/python/pykde/sip/kdefx/kstyle.sip +++ /dev/null @@ -1,126 +0,0 @@ -// -// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com> -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdefx version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KStyle : QCommonStyle -{ -%TypeHeaderCode -#include <kstyle.h> -%End - - -public: - typedef uint KStyleFlags; - - enum KStyleOption - { - Default, - AllowMenuTransparency, - FilledFrameWorkaround - }; - - - enum KStyleScrollBarType - { - WindowsStyleScrollBar, - PlatinumStyleScrollBar, - ThreeButtonScrollBar, - NextStyleScrollBar - }; - - KStyle (KStyle::KStyleFlags = KStyle ::Default , KStyle::KStyleScrollBarType = KStyle ::WindowsStyleScrollBar ); - -%If ( KDE_3_1_0 - ) - static QString defaultStyle (); -%End - - void setScrollBarType (KStyle::KStyleScrollBarType); - KStyle::KStyleFlags styleFlags () const; - virtual void renderMenuBlendPixmap (KPixmap&, const QColorGroup&, const QPopupMenu*) const; - - enum KStylePrimitive - { - KPE_DockWindowHandle, - KPE_ToolBarHandle, - KPE_GeneralHandle, - KPE_SliderGroove, - KPE_SliderHandle, - KPE_ListViewExpander, - KPE_ListViewBranch - }; - - virtual void drawKStylePrimitive (KStyle::KStylePrimitive, QPainter*, const QWidget*, const QRect&, const QColorGroup&, SFlags = Style_Default , const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - - enum KStylePixelMetric - { - KPM_MenuItemSeparatorHeight, - KPM_MenuItemHMargin, - KPM_MenuItemVMargin, - KPM_MenuItemHFrame, - KPM_MenuItemVFrame, - KPM_MenuItemCheckMarkHMargin, - KPM_MenuItemArrowHMargin, - KPM_MenuItemTabSpacing, - KPM_ListViewBranchThickness - }; - - int kPixelMetric (KStyle::KStylePixelMetric, const QWidget* = 0) const; - void polish (QWidget*); - void unPolish (QWidget*); - void polishPopupMenu (QPopupMenu*); - void drawPrimitive (PrimitiveElement, QPainter*, const QRect&, const QColorGroup&, SFlags = Style_Default , const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - void drawControl (ControlElement, QPainter*, const QWidget*, const QRect&, const QColorGroup&, SFlags = Style_Default , const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - void drawComplexControl (ComplexControl, QPainter*, const QWidget*, const QRect&, const QColorGroup&, SFlags = Style_Default , SCFlags = SC_All , SCFlags = SC_None , const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - SubControl querySubControl (ComplexControl, const QWidget*, const QPoint&, const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - QRect querySubControlMetrics (ComplexControl, const QWidget*, SubControl, const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - int pixelMetric (PixelMetric, const QWidget* = 0) const; - QRect subRect (SubRect, const QWidget*) const; - QPixmap stylePixmap (StylePixmap, const QWidget* = 0, const QStyleOption& = QStyleOption (QStyleOption ::Default )) const; - int styleHint (StyleHint, const QWidget* = 0, const QStyleOption& = QStyleOption (QStyleOption ::Default ), QStyleHintReturn* = 0) const; - -protected: - bool eventFilter (QObject*, QEvent*); - -private: - KStyle (const KStyle&); - -protected: -//igx virtual void virtual_hook (int, void*); - -//force -%ConvertToSubClassCode - // The table of Python class objects indexed by their names. The table - // must be sorted by name. - - static sipStringTypeClassMap map[] = { - {sipName_KStyle, &sipClass_KStyle}, - }; - - sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end - -}; // class KStyle - |