diff options
author | Timothy Pearson <[email protected]> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /sip/tdeui/knuminput.sip | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'sip/tdeui/knuminput.sip')
-rw-r--r-- | sip/tdeui/knuminput.sip | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/sip/tdeui/knuminput.sip b/sip/tdeui/knuminput.sip index 56e9501..ed79dd9 100644 --- a/sip/tdeui/knuminput.sip +++ b/sip/tdeui/knuminput.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KNumInput : QWidget +class KNumInput : TQWidget { %TypeHeaderCode #include <knuminput.h> @@ -32,18 +32,18 @@ class KNumInput : QWidget public: - KNumInput (QWidget* /TransferThis/ = 0, const char* = 0); - KNumInput (KNumInput*, QWidget* /TransferThis/ = 0, const char* = 0); - virtual void setLabel (const QString&, int = AlignLeft |AlignTop ); - QString label () const; + KNumInput (TQWidget* /TransferThis/ = 0, const char* = 0); + KNumInput (KNumInput*, TQWidget* /TransferThis/ = 0, const char* = 0); + virtual void setLabel (const TQString&, int = AlignLeft |AlignTop ); + TQString label () const; %If ( KDE_3_1_0 - ) bool showSlider () const; %End void setSteps (int, int); - QSizePolicy sizePolicy () const; - virtual QSize sizeHint () const; + TQSizePolicy sizePolicy () const; + virtual TQSize sizeHint () const; protected: void layout (bool); @@ -63,9 +63,9 @@ class KIntNumInput : KNumInput public: - KIntNumInput (QWidget* /TransferThis/ = 0, const char* = 0); - KIntNumInput (int, QWidget* /TransferThis/ = 0, int = 10, const char* = 0); - KIntNumInput (KNumInput*, int, QWidget* /TransferThis/ = 0, int = 10, const char* = 0); + KIntNumInput (TQWidget* /TransferThis/ = 0, const char* = 0); + KIntNumInput (int, TQWidget* /TransferThis/ = 0, int = 10, const char* = 0); + KIntNumInput (KNumInput*, int, TQWidget* /TransferThis/ = 0, int = 10, const char* = 0); int value () const; %If ( KDE_3_1_0 - ) @@ -73,17 +73,17 @@ public: int referencePoint () const; %End - QString suffix () const; - QString prefix () const; - QString specialValueText () const; + TQString suffix () const; + TQString prefix () const; + TQString specialValueText () const; void setRange (int, int, int = 1, bool = 1); void setMinValue (int); int minValue () const; void setMaxValue (int); int maxValue () const; - void setSpecialValueText (const QString&); - virtual void setLabel (const QString&, int = AlignLeft |AlignTop ); - virtual QSize minimumSizeHint () const; + void setSpecialValueText (const TQString&); + virtual void setLabel (const TQString&, int = AlignLeft |AlignTop ); + virtual TQSize minimumSizeHint () const; public slots: void setValue (int); @@ -93,8 +93,8 @@ public slots: void setReferencePoint (int); %End - void setSuffix (const QString&); - void setPrefix (const QString&); + void setSuffix (const TQString&); + void setPrefix (const TQString&); void setEditFocus (bool = 1); signals: @@ -107,7 +107,7 @@ signals: protected: virtual void doLayout (); - void resizeEvent (QResizeEvent*); + void resizeEvent (TQResizeEvent*); protected: //igx virtual void virtual_hook (int, void*); @@ -123,24 +123,24 @@ class KDoubleNumInput : KNumInput public: - KDoubleNumInput (QWidget* /TransferThis/ = 0, const char* = 0); - KDoubleNumInput (double, QWidget* /TransferThis/ = 0, const char* = 0); + KDoubleNumInput (TQWidget* /TransferThis/ = 0, const char* = 0); + KDoubleNumInput (double, TQWidget* /TransferThis/ = 0, const char* = 0); %If ( KDE_3_1_0 - ) - KDoubleNumInput (double, double, double, double = 0.01, int = 2, QWidget* /TransferThis/ = 0, const char* = 0); + KDoubleNumInput (double, double, double, double = 0.01, int = 2, TQWidget* /TransferThis/ = 0, const char* = 0); %End - KDoubleNumInput (KNumInput*, double, QWidget* /TransferThis/ = 0, const char* = 0); + KDoubleNumInput (KNumInput*, double, TQWidget* /TransferThis/ = 0, const char* = 0); %If ( KDE_3_1_0 - ) - KDoubleNumInput (KNumInput*, double, double, double, double = 0.02, int = 2, QWidget* /TransferThis/ = 0, const char* = 0); + KDoubleNumInput (KNumInput*, double, double, double, double = 0.02, int = 2, TQWidget* /TransferThis/ = 0, const char* = 0); %End double value () const; - QString suffix () const; - QString prefix () const; + TQString suffix () const; + TQString prefix () const; int precision () const; - QString specialValueText () const; + TQString specialValueText () const; void setRange (double, double, double = 1, bool = 1); void setMinValue (double); double minValue () const; @@ -153,10 +153,10 @@ public: double relativeValue () const; %End - void setSpecialValueText (const QString&); - virtual void setLabel (const QString&, int = AlignLeft |AlignTop ); - virtual QSize minimumSizeHint () const; - virtual bool eventFilter (QObject*, QEvent*); + void setSpecialValueText (const TQString&); + virtual void setLabel (const TQString&, int = AlignLeft |AlignTop ); + virtual TQSize minimumSizeHint () const; + virtual bool eventFilter (TQObject*, TQEvent*); public slots: void setValue (double); @@ -166,8 +166,8 @@ public slots: void setReferencePoint (double); %End - void setSuffix (const QString&); - void setPrefix (const QString&); + void setSuffix (const TQString&); + void setPrefix (const TQString&); signals: void valueChanged (double); @@ -179,7 +179,7 @@ signals: protected: virtual void doLayout (); - void resizeEvent (QResizeEvent*); + void resizeEvent (TQResizeEvent*); virtual void resetEditBox (); protected: @@ -188,7 +188,7 @@ protected: }; // class KDoubleNumInput -class KIntSpinBox : QSpinBox +class KIntSpinBox : TQSpinBox { %TypeHeaderCode #include <knuminput.h> @@ -196,14 +196,14 @@ class KIntSpinBox : QSpinBox public: - KIntSpinBox (QWidget* /TransferThis/ = 0, const char* = 0); - KIntSpinBox (int, int, int, int, int = 10, QWidget* /TransferThis/ = 0, const char* = 0); + KIntSpinBox (TQWidget* /TransferThis/ = 0, const char* = 0); + KIntSpinBox (int, int, int, int, int = 10, TQWidget* /TransferThis/ = 0, const char* = 0); void setBase (int); int base () const; void setEditFocus (bool); protected: - virtual QString mapValueToText (int); + virtual TQString mapValueToText (int); //ig virtual int mapTextToValue (bool*); protected: @@ -214,7 +214,7 @@ protected: %If ( KDE_3_1_0 - ) -class KDoubleSpinBox : QSpinBox +class KDoubleSpinBox : TQSpinBox { %TypeHeaderCode #include <knuminput.h> @@ -222,8 +222,8 @@ class KDoubleSpinBox : QSpinBox public: - KDoubleSpinBox (QWidget* /TransferThis/ = 0, const char* = 0); - KDoubleSpinBox (double, double, double, double, int = 2, QWidget* /TransferThis/ = 0, const char* = 0); + KDoubleSpinBox (TQWidget* /TransferThis/ = 0, const char* = 0); + KDoubleSpinBox (double, double, double, double, int = 2, TQWidget* /TransferThis/ = 0, const char* = 0); bool acceptLocalizedNumbers () const; virtual void setAcceptLocalizedNumbers (bool); void setRange (double, double, double = 0.01, int = 2); @@ -237,7 +237,7 @@ public: void setMaxValue (double); double lineStep () const; void setLineStep (double); - void setValidator (const QValidator*); + void setValidator (const TQValidator*); signals: void valueChanged (double); @@ -246,7 +246,7 @@ public slots: virtual void setValue (double); protected: - virtual QString mapValueToText (int); + virtual TQString mapValueToText (int); //ig virtual int mapTextToValue (bool*); protected slots: |