diff options
Diffstat (limited to 'sip/tdeui/kselect.sip')
-rw-r--r-- | sip/tdeui/kselect.sip | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/sip/tdeui/kselect.sip b/sip/tdeui/kselect.sip index 06650d9..9d3148a 100644 --- a/sip/tdeui/kselect.sip +++ b/sip/tdeui/kselect.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KXYSelector : QWidget +class KXYSelector : TQWidget { %TypeHeaderCode #include <kselect.h> @@ -32,7 +32,7 @@ class KXYSelector : QWidget public: - KXYSelector (QWidget* /TransferThis/ = 0, const char* = 0); + KXYSelector (TQWidget* /TransferThis/ = 0, const char* = 0); void setValues (int, int); %If ( KDE_3_3_0 - ) @@ -43,20 +43,20 @@ public: void setRange (int, int, int, int); int xValue (); int yValue (); - QRect contentsRect () const; + TQRect contentsRect () const; signals: void valueChanged (int, int); protected: - virtual void drawContents (QPainter*); - virtual void drawCursor (QPainter*, int, int); - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); + virtual void drawContents (TQPainter*); + virtual void drawCursor (TQPainter*, int, int); + virtual void paintEvent (TQPaintEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); %If ( KDE_3_2_0 - ) - virtual void wheelEvent (QWheelEvent*); + virtual void wheelEvent (TQWheelEvent*); void valuesFromPosition (int, int, int&, int&) const; %End @@ -67,7 +67,7 @@ protected: }; // class KXYSelector -class KSelector : QWidget, QRangeControl +class KSelector : TQWidget, TQRangeControl { %TypeHeaderCode #include <kselect.h> @@ -75,10 +75,10 @@ class KSelector : QWidget, QRangeControl public: - KSelector (QWidget* /TransferThis/ = 0, const char* = 0); - KSelector (Orientation, QWidget* /TransferThis/ = 0, const char* = 0); + KSelector (TQWidget* /TransferThis/ = 0, const char* = 0); + KSelector (Orientation, TQWidget* /TransferThis/ = 0, const char* = 0); Orientation orientation () const; - QRect contentsRect () const; + TQRect contentsRect () const; void setIndent (bool); bool indent () const; void setValue (int); @@ -92,15 +92,15 @@ signals: void valueChanged (int); protected: - virtual void drawContents (QPainter*); - virtual void drawArrow (QPainter*, bool, const QPoint&); + virtual void drawContents (TQPainter*); + virtual void drawArrow (TQPainter*, bool, const TQPoint&); virtual void valueChange (); - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); + virtual void paintEvent (TQPaintEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); %If ( KDE_3_2_0 - ) - virtual void wheelEvent (QWheelEvent*); + virtual void wheelEvent (TQWheelEvent*); %End @@ -118,22 +118,22 @@ class KGradientSelector : KSelector public: - KGradientSelector (QWidget* /TransferThis/ = 0, const char* = 0); - KGradientSelector (Orientation, QWidget* /TransferThis/ = 0, const char* = 0); - void setColors (const QColor&, const QColor&); - void setText (const QString&, const QString&); - void setFirstColor (const QColor&); - void setSecondColor (const QColor&); - void setFirstText (const QString&); - void setSecondText (const QString&); - const QColor firstColor () const; - const QColor secondColor () const; - const QString firstText () const; - const QString secondText () const; + KGradientSelector (TQWidget* /TransferThis/ = 0, const char* = 0); + KGradientSelector (Orientation, TQWidget* /TransferThis/ = 0, const char* = 0); + void setColors (const TQColor&, const TQColor&); + void setText (const TQString&, const TQString&); + void setFirstColor (const TQColor&); + void setSecondColor (const TQColor&); + void setFirstText (const TQString&); + void setSecondText (const TQString&); + const TQColor firstColor () const; + const TQColor secondColor () const; + const TQString firstText () const; + const TQString secondText () const; protected: - virtual void drawContents (QPainter*); - virtual QSize minimumSize () const; + virtual void drawContents (TQPainter*); + virtual TQSize minimumSize () const; protected: //igx virtual void virtual_hook (int, void*); |