diff options
Diffstat (limited to 'sip/qt/qprogressdialog.sip')
-rw-r--r-- | sip/qt/qprogressdialog.sip | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/sip/qt/qprogressdialog.sip b/sip/qt/qprogressdialog.sip index 07ec294..4b21b55 100644 --- a/sip/qt/qprogressdialog.sip +++ b/sip/qt/qprogressdialog.sip @@ -32,8 +32,6 @@ value. %If (TQt_PROGRESSDIALOG) -%If (TQt_3_0_0 -) - class TQProgressDialog : TQDialog { %TypeHeaderCode @@ -52,9 +50,7 @@ public: void setBar(TQProgressBar *); bool wasCancelled() const; -%If (TQt_3_2_0 -) bool wasCanceled() const; -%End int totalSteps() const; int progress() const; @@ -75,9 +71,7 @@ public slots: void reset(); void setTotalSteps(int); void setProgress(int); -%If (TQt_3_1_0 -) void setProgress(int,int); -%End void setLabelText(const TQString &); void setCancelButtonText(const TQString &); @@ -85,9 +79,7 @@ public slots: signals: void cancelled(); -%If (TQt_3_2_0 -) void canceled(); -%End protected: void resizeEvent(TQResizeEvent *); @@ -103,92 +95,3 @@ private: }; %End - - -%If (- TQt_3_0_0) - -class TQProgressDialog : TQSemiModal -{ -%TypeHeaderCode -#include <tqprogressdialog.h> -%End - -public: - TQProgressDialog(TQWidget * /TransferThis/ = 0,const char * = 0,bool = 0, - WFlags = 0); -%If (- TQt_2_00) - TQProgressDialog(const char *,const char *,int,TQWidget * /TransferThis/ = 0, - const char * = 0,bool = 0,WFlags = 0); -%End -%If (TQt_2_00 -) - TQProgressDialog(const TQString &,const TQString &,int, - TQWidget * /TransferThis/ = 0,const char * = 0,bool = 0, - WFlags = 0); -%End - - void setLabel(TQLabel *); - void setCancelButton(TQPushButton *); - void setBar(TQProgressBar *); - - bool wasCancelled() const; - - int totalSteps() const; - int progress() const; - - TQSize sizeHint() const; - - int minimumDuration() const; - -%If (TQt_2_1_0 -) - TQString labelText() const; - - void setAutoReset(bool); - bool autoReset() const; - void setAutoClose(bool); - bool autoClose() const; -%End - -public slots: - void cancel(); - void reset(); - void setTotalSteps(int); - void setProgress(int); -%If (- TQt_2_00) - void setLabelText(const char *); - void setCancelButtonText(const char *); -%End -%If (TQt_2_00 -) - void setLabelText(const TQString &); - void setCancelButtonText(const TQString &); -%End - - void setMinimumDuration(int); - -signals: - void cancelled(); - -protected: - void resizeEvent(TQResizeEvent *); -%If (- TQt_2_00) - void styleChange(GUIStyle); -%End -%If (TQt_2_00 -) - void closeEvent(TQCloseEvent *); - void styleChange(TQStyle &); -%End -%If (TQt_2_1_0 -) - void showEvent(TQShowEvent *); -%End - -protected slots: -%If (TQt_2_2_0 -) - void forceShow(); -%End - -private: - TQProgressDialog(const TQProgressDialog &); -}; - -%End - -%End |