diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /sip/tdeui/kthemebase.sip | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'sip/tdeui/kthemebase.sip')
-rw-r--r-- | sip/tdeui/kthemebase.sip | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/sip/tdeui/kthemebase.sip b/sip/tdeui/kthemebase.sip index 6909d32..0a1db3f 100644 --- a/sip/tdeui/kthemebase.sip +++ b/sip/tdeui/kthemebase.sip @@ -47,8 +47,8 @@ public: KThemePixmap (bool = 1); KThemePixmap (const KThemePixmap&); - QPixmap* border (KThemePixmap::BorderType); - void setBorder (KThemePixmap::BorderType, const QPixmap&); + TQPixmap* border (KThemePixmap::BorderType); + void setBorder (KThemePixmap::BorderType, const TQPixmap&); void updateAccessed (); bool isOld (); @@ -57,7 +57,7 @@ protected: }; // class KThemePixmap -class KThemeCache : QObject +class KThemeCache : TQObject { %TypeHeaderCode #include <kthemebase.h> @@ -73,7 +73,7 @@ public: VerticalScale }; - KThemeCache (int, QObject*/TransferThis/ = 0, const char* = 0); + KThemeCache (int, TQObject*/TransferThis/ = 0, const char* = 0); bool insert (KThemePixmap*, KThemeCache::ScaleHint, int, bool = 0, bool = 0); KThemePixmap* pixmap (int, int, int, bool = 0, bool = 0); KThemePixmap* horizontalPixmap (int, int); @@ -95,7 +95,7 @@ class KThemeBase : KStyle public: - KThemeBase (const QString&); + KThemeBase (const TQString&); enum ScaleHint { @@ -204,8 +204,8 @@ public: ScaleHint scaleHint (KThemeBase::WidgetType) const; Gradient gradientHint (KThemeBase::WidgetType) const; - const QColorGroup* colorGroup (const QColorGroup&, KThemeBase::WidgetType) const; - QBrush pixmapBrush (const QColorGroup&, QColorGroup::ColorRole, int, int, KThemeBase::WidgetType); + const TQColorGroup* colorGroup (const TQColorGroup&, KThemeBase::WidgetType) const; + TQBrush pixmapBrush (const TQColorGroup&, TQColorGroup::ColorRole, int, int, KThemeBase::WidgetType); bool isPixmap (KThemeBase::WidgetType) const; bool isColor (KThemeBase::WidgetType) const; bool is3DFocus () const; @@ -232,16 +232,16 @@ public: bool inactiveTabLine () const; KThemePixmap* uncached (KThemeBase::WidgetType) const; virtual KThemePixmap* scalePixmap (int, int, KThemeBase::WidgetType); - static void applyConfigFile (const QString&); + static void applyConfigFile (const TQString&); protected: - QImage* image (KThemeBase::WidgetType) const; - QColor* gradientHigh (KThemeBase::WidgetType) const; - QColor* gradientLow (KThemeBase::WidgetType) const; - void readConfig (Qt::GUIStyle = Qt::WindowsStyle); -//ig void readWidgetConfig (int, KConfig*, QString*, QString*, bool*); - void copyWidgetConfig (int, int, QString*, QString*); - QColorGroup* makeColorGroup (QColor&, QColor&, Qt::GUIStyle = Qt::WindowsStyle); + TQImage* image (KThemeBase::WidgetType) const; + TQColor* gradientHigh (KThemeBase::WidgetType) const; + TQColor* gradientLow (KThemeBase::WidgetType) const; + void readConfig (TQt::GUIStyle = TQt::WindowsStyle); +//ig void readWidgetConfig (int, KConfig*, TQString*, TQString*, bool*); + void copyWidgetConfig (int, int, TQString*, TQString*); + TQColorGroup* makeColorGroup (TQColor&, TQColor&, TQt::GUIStyle = TQt::WindowsStyle); KThemePixmap* scale (int, int, KThemeBase::WidgetType); KThemePixmap* scaleBorder (int, int, KThemeBase::WidgetType); KThemePixmap* gradient (int, int, KThemeBase::WidgetType); @@ -249,10 +249,10 @@ protected: void generateBorderPix (int); void applyResourceGroup (KConfig*, int); void applyMiscResourceGroup (KConfig*); - void readResourceGroup (int, QString*, QString*, bool*); + void readResourceGroup (int, TQString*, TQString*, bool*); void readMiscResourceGroup (); - KThemePixmap* loadPixmap (QString&); - QImage* loadImage (QString&); + KThemePixmap* loadPixmap (TQString&); + TQImage* loadImage (TQString&); }; // class KThemeBase |