diff options
Diffstat (limited to 'sip/qt/qdialog.sip')
-rw-r--r-- | sip/qt/qdialog.sip | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/sip/qt/qdialog.sip b/sip/qt/qdialog.sip index ac78030..aa26196 100644 --- a/sip/qt/qdialog.sip +++ b/sip/qt/qdialog.sip @@ -54,31 +54,10 @@ public: Accepted }; -%If (- TQt_3_0_0) - int exec() /PyName=exec_loop, ReleaseGIL, - PreHook=__pyTQtPreEventLoopHook__, - PostHook=__pyTQtPostEventLoopHook__/; -%MethodCode - // Transfer ownership back to Python (a modal dialog will - // probably have the main window as it's parent). This means - // the TQt dialog will be deleted when the Python wrapper is - // garbage collected. Although this is a little inconsistent, - // it saves having to code it explicitly to avoid the memory - // leak. - sipTransferBack(sipSelf); - - Py_BEGIN_ALLOW_THREADS - sipRes = sipCpp->TQDialog::exec(); - Py_END_ALLOW_THREADS -%End -%End - int result() const; void show(); -%If (TQt_2_00 -) void hide(); -%End void move(int,int); void move(const TQPoint &); void resize(int,int); @@ -86,7 +65,6 @@ public: void setGeometry(int,int,int,int); void setGeometry(const TQRect &); -%If (TQt_2_2_0 -) void setOrientation(Orientation); Orientation orientation() const; @@ -98,15 +76,11 @@ public: void setSizeGripEnabled(bool); bool isSizeGripEnabled() const; -%End -%If (TQt_3_2_0 -) void setModal(bool); bool isModal() const; -%End public slots: -%If (TQt_3_0_0 -) int exec() /PyName=exec_loop, ReleaseGIL, PreHook=__pyTQtPreEventLoopHook__, PostHook=__pyTQtPostEventLoopHook__/; @@ -123,35 +97,22 @@ public slots: sipRes = sipCpp->TQDialog::exec(); Py_END_ALLOW_THREADS %End -%End protected slots: virtual void done(int); -%If (- TQt_2_00) - void accept(); - void reject(); -%End -%If (TQt_2_00 -) virtual void accept(); virtual void reject(); -%End -%If (TQt_2_2_0 -) void showExtension(bool); -%End protected: void setResult(int); void keyPressEvent(TQKeyEvent *); void closeEvent(TQCloseEvent *); -%If (TQt_2_2_0 -) void resizeEvent(TQResizeEvent *); -%End -%If (TQt_3_0_0 -) void contextMenuEvent(TQContextMenuEvent *); bool eventFilter(TQObject *,TQEvent *); void adjustPosition(TQWidget *); -%End private: TQDialog(const TQDialog &); |