summaryrefslogtreecommitdiffstats
path: root/sip/tdefx
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-03 22:23:44 -0600
committerTimothy Pearson <[email protected]>2011-12-03 22:23:44 -0600
commit203ba231d0276943aae36111f9ec1e949f3c6a4c (patch)
treef039f7a5b5fc2da88a96876971bac580d87f6788 /sip/tdefx
parentfd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff)
downloadpytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz
pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip
Initial TQt conversion
Diffstat (limited to 'sip/tdefx')
-rw-r--r--sip/tdefx/kdrawutil.sip20
-rw-r--r--sip/tdefx/kimageeffect.sip102
-rw-r--r--sip/tdefx/kpixmap.sip14
-rw-r--r--sip/tdefx/kpixmapeffect.sip16
-rw-r--r--sip/tdefx/kpixmapsplitter.sip12
-rw-r--r--sip/tdefx/kstyle.sip36
6 files changed, 100 insertions, 100 deletions
diff --git a/sip/tdefx/kdrawutil.sip b/sip/tdefx/kdrawutil.sip
index b6abad9..1751810 100644
--- a/sip/tdefx/kdrawutil.sip
+++ b/sip/tdefx/kdrawutil.sip
@@ -27,13 +27,13 @@
#include <kdrawutil.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);
+void kDrawNextButton (TQPainter*, const TQRect&, const TQColorGroup&, bool = 0, const TQBrush* = 0);
+void kDrawNextButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0);
+void kDrawBeButton (TQPainter*, TQRect&, const TQColorGroup&, bool = 0, const TQBrush* = 0);
+void kDrawBeButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0);
+void kDrawRoundButton (TQPainter*, const TQRect&, const TQColorGroup&, bool = 0);
+void kDrawRoundButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0);
+void kRoundMaskRegion (TQRegion&, int, int, int, int);
+void kDrawRoundMask (TQPainter*, int, int, int, int, bool = 0);
+void kColorBitmaps (TQPainter*, const TQColorGroup&, int, int, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0);
+void kColorBitmaps (TQPainter*, const TQColorGroup&, 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/sip/tdefx/kimageeffect.sip b/sip/tdefx/kimageeffect.sip
index 6e332f6..9585e8f 100644
--- a/sip/tdefx/kimageeffect.sip
+++ b/sip/tdefx/kimageeffect.sip
@@ -108,20 +108,20 @@ public:
%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&);
+ static TQImage gradient (const TQSize&, const TQColor&, const TQColor&, KImageEffect::GradientType, int = 3);
+ static TQImage unbalancedGradient (const TQSize&, const TQColor&, const TQColor&, KImageEffect::GradientType, int = 100, int = 100, int = 3);
+ static TQImage& blend (const TQColor&, TQImage&, float);
+ static TQImage& blend (TQImage&, TQImage&, float);
+ static TQImage& blend (TQImage&, float, const TQColor&, KImageEffect::GradientType, bool = 0);
+ static TQImage& blend (TQImage&, TQImage&, KImageEffect::GradientType, int = 100, int = 100);
+ static TQImage& blend (TQImage&, TQImage&, TQImage&, KImageEffect::RGBComponent);
+ static bool blend (const TQImage&, const TQImage&, TQImage&);
+ static bool blend (int& /In, Out/, int& /In, Out/, const TQImage&, const TQImage&, TQImage&);
+ static bool blendOnLower (int, int, const TQImage&, const TQImage&);
%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);
+ static void blendOnLower (const TQImage&, const TQPoint&, TQImage&, const TQRect&);
+ static void blendOnLower (const TQImage&, const TQPoint&, TQImage&, const TQRect&, float);
enum Disposition
{
@@ -135,69 +135,69 @@ public:
CenteredAutoFit
};
- static QRect computeDestinationRect (const QSize&, KImageEffect::Disposition, QImage&);
- static void blendOnLower (QImage&, QImage&, KImageEffect::Disposition, float);
+ static TQRect computeDestinationRect (const TQSize&, KImageEffect::Disposition, TQImage&);
+ static void blendOnLower (TQImage&, TQImage&, 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);
+ static TQImage& channelIntensity (TQImage&, float, KImageEffect::RGBComponent);
+ static TQImage& fade (TQImage&, float, const TQColor&);
+ static TQImage& flatten (TQImage&, const TQColor&, const TQColor&, int = 0);
+ static TQImage& hash (TQImage&, KImageEffect::Lighting = NorthLite , uint = 0);
+ static TQImage& intensity (TQImage&, float);
+ static TQImage& modulate (TQImage&, TQImage&, bool, KImageEffect::ModulationType, int, KImageEffect::RGBComponent);
+ static TQImage& toGray (TQImage&, bool = 0);
+ static TQImage& desaturate (TQImage&, float = 0.3);
+ static TQImage& contrast (TQImage&, int);
+//ig static TQImage& dither (TQImage&, const TQColor*, int);
+ static TQImage& selectedImage (TQImage&, const TQColor&);
+ static void contrastHSV (TQImage&, bool = 1);
+ static void normalize (TQImage&);
+ static void equalize (TQImage&);
+ static void threshold (TQImage&, uint = 128);
+ static void solarize (TQImage&, double = 50.0);
%If ( KDE_3_2_0 - )
- static QImage emboss (QImage&, double, double);
+ static TQImage emboss (TQImage&, double, double);
%End
- static QImage emboss (QImage&);
- static QImage despeckle (QImage&);
+ static TQImage emboss (TQImage&);
+ static TQImage despeckle (TQImage&);
%If ( KDE_3_2_0 - )
- static QImage charcoal (QImage&, double, double);
+ static TQImage charcoal (TQImage&, 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 );
+ static TQImage charcoal (TQImage&, double = 50.0);
+ static TQImage rotate (TQImage&, KImageEffect::RotateDirection);
+ static TQImage sample (TQImage&, int, int);
+ static TQImage addNoise (TQImage&, KImageEffect::NoiseType = GaussianNoise );
%If ( KDE_3_2_0 - )
- static QImage blur (QImage&, double, double);
+ static TQImage blur (TQImage&, 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);
+ static TQImage blur (TQImage&, double = 50.0);
+ static TQImage edge (TQImage&, double = 50.0);
+ static TQImage implode (TQImage&, double = 30.0, uint = -1);
%If ( KDE_3_2_0 - )
- static QImage oilPaintConvolve (QImage&, double);
+ static TQImage oilPaintConvolve (TQImage&, double);
%End
- static QImage oilPaint (QImage&, int = 3);
+ static TQImage oilPaint (TQImage&, int = 3);
%If ( KDE_3_2_0 - )
- static QImage sharpen (QImage&, double, double);
+ static TQImage sharpen (TQImage&, 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);
+ static TQImage sharpen (TQImage&, double = 30.0);
+ static TQImage spread (TQImage&, uint = 3);
+ static TQImage shade (TQImage&, bool = 1, double = 30.0, double = 30.0);
+ static TQImage swirl (TQImage&, double = 50.0, uint = -1);
+ static TQImage wave (TQImage&, 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);
+ static TQImage bumpmap (TQImage&, TQImage&, double, double, int, int, int, int, int, bool, bool, KImageEffect::BumpmapType, bool);
%End
diff --git a/sip/tdefx/kpixmap.sip b/sip/tdefx/kpixmap.sip
index efb93dd..968529a 100644
--- a/sip/tdefx/kpixmap.sip
+++ b/sip/tdefx/kpixmap.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KPixmap : QPixmap
+class KPixmap : TQPixmap
{
%TypeHeaderCode
#include <qpaintdevice.h>
@@ -54,12 +54,12 @@ public:
};
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&);
+ KPixmap (const TQPixmap&);
+ bool convertFromImage (const TQImage&, int);
+ bool convertFromImage (const TQImage&, ColorMode = WebColor );
+ bool load (const TQString&, const char*, int);
+ bool load (const TQString&, const char* = 0, ColorMode = WebColor );
+ bool checkColorTable (const TQImage&);
}; // class KPixmap
diff --git a/sip/tdefx/kpixmapeffect.sip b/sip/tdefx/kpixmapeffect.sip
index 088e313..ace6719 100644
--- a/sip/tdefx/kpixmapeffect.sip
+++ b/sip/tdefx/kpixmapeffect.sip
@@ -66,20 +66,20 @@ public:
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& gradient (KPixmap&, const TQColor&, const TQColor&, KPixmapEffect::GradientType, int = 3);
+ static KPixmap& unbalancedGradient (KPixmap&, const TQColor&, const TQColor&, KPixmapEffect::GradientType, int = 100, int = 100, int = 3);
+ static KPixmap createTiled (const KPixmap&, TQSize);
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& blend (KPixmap&, float, const TQColor&, 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 pattern (const KPixmap&, TQSize, const TQColor&, const TQColor&, int = 8);
+ static KPixmap& fade (KPixmap&, double, const TQColor&);
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&);
+ static KPixmap& dither (KPixmap&, const TQColor*, int);
+ static KPixmap selectedPixmap (const KPixmap&, const TQColor&);
}; // class KPixmapEffect
diff --git a/sip/tdefx/kpixmapsplitter.sip b/sip/tdefx/kpixmapsplitter.sip
index 7ff49b3..1eb2bd0 100644
--- a/sip/tdefx/kpixmapsplitter.sip
+++ b/sip/tdefx/kpixmapsplitter.sip
@@ -33,14 +33,14 @@ class KPixmapSplitter
public:
KPixmapSplitter ();
- void setPixmap (const QPixmap&);
- const QPixmap& pixmap () const;
- void setItemSize (const QSize&);
- QSize itemSize () const;
+ void setPixmap (const TQPixmap&);
+ const TQPixmap& pixmap () const;
+ void setItemSize (const TQSize&);
+ TQSize itemSize () const;
void setVSpacing (int);
void setHSpacing (int);
- QRect coordinates (int);
- QRect coordinates (const QChar&);
+ TQRect coordinates (int);
+ TQRect coordinates (const TQChar&);
}; // class KPixmapSplitter
diff --git a/sip/tdefx/kstyle.sip b/sip/tdefx/kstyle.sip
index b559f6a..02e3fe3 100644
--- a/sip/tdefx/kstyle.sip
+++ b/sip/tdefx/kstyle.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KStyle : QCommonStyle
+class KStyle : TQCommonStyle
{
%TypeHeaderCode
#include <kstyle.h>
@@ -53,12 +53,12 @@ public:
KStyle (KStyle::KStyleFlags = KStyle ::Default , KStyle::KStyleScrollBarType = KStyle ::WindowsStyleScrollBar );
%If ( KDE_3_1_0 - )
- static QString defaultStyle ();
+ static TQString defaultStyle ();
%End
void setScrollBarType (KStyle::KStyleScrollBarType);
KStyle::KStyleFlags styleFlags () const;
- virtual void renderMenuBlendPixmap (KPixmap&, const QColorGroup&, const QPopupMenu*) const;
+ virtual void renderMenuBlendPixmap (KPixmap&, const TQColorGroup&, const TQPopupMenu*) const;
enum KStylePrimitive
{
@@ -71,7 +71,7 @@ public:
KPE_ListViewBranch
};
- virtual void drawKStylePrimitive (KStyle::KStylePrimitive, QPainter*, const QWidget*, const QRect&, const QColorGroup&, SFlags = Style_Default , const QStyleOption& = QStyleOption (QStyleOption ::Default )) const;
+ virtual void drawKStylePrimitive (KStyle::KStylePrimitive, TQPainter*, const TQWidget*, const TQRect&, const TQColorGroup&, SFlags = Style_Default , const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
enum KStylePixelMetric
{
@@ -86,22 +86,22 @@ public:
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;
+ int kPixelMetric (KStyle::KStylePixelMetric, const TQWidget* = 0) const;
+ void polish (TQWidget*);
+ void unPolish (TQWidget*);
+ void polishPopupMenu (TQPopupMenu*);
+ void drawPrimitive (PrimitiveElement, TQPainter*, const TQRect&, const TQColorGroup&, SFlags = Style_Default , const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
+ void drawControl (ControlElement, TQPainter*, const TQWidget*, const TQRect&, const TQColorGroup&, SFlags = Style_Default , const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
+ void drawComplexControl (ComplexControl, TQPainter*, const TQWidget*, const TQRect&, const TQColorGroup&, SFlags = Style_Default , SCFlags = SC_All , SCFlags = SC_None , const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
+ SubControl querySubControl (ComplexControl, const TQWidget*, const TQPoint&, const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
+ TQRect querySubControlMetrics (ComplexControl, const TQWidget*, SubControl, const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
+ int pixelMetric (PixelMetric, const TQWidget* = 0) const;
+ TQRect subRect (SubRect, const TQWidget*) const;
+ TQPixmap stylePixmap (StylePixmap, const TQWidget* = 0, const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
+ int styleHint (StyleHint, const TQWidget* = 0, const TQStyleOption& = TQStyleOption (TQStyleOption ::Default ), TQStyleHintReturn* = 0) const;
protected:
- bool eventFilter (QObject*, QEvent*);
+ bool eventFilter (TQObject*, TQEvent*);
private:
KStyle (const KStyle&);