diff options
author | aneejit1 <aneejit1@gmail.com> | 2022-07-29 12:36:09 +0000 |
---|---|---|
committer | aneejit1 <aneejit1@gmail.com> | 2022-07-30 17:54:15 +0000 |
commit | 33a0297b35ab40e2d09cf37e351095b58725c8d5 (patch) | |
tree | 7eb6d8c710dcb638f2ac00776a3f523311e19c50 /sip/qt/qtoolbar.sip | |
parent | e602246539fd7435aaeb440fcb7f852c92c8426b (diff) | |
download | pytqt-33a0297b35ab40e2d09cf37e351095b58725c8d5.tar.gz pytqt-33a0297b35ab40e2d09cf37e351095b58725c8d5.zip |
Remove support for earlier Qt/TQt versions
Conditional code in the .sip files linked to specific older versions has
been removed. Since the versions of TQt and python-tqt are running in
parallel, the support for older versions was clutter that would never
actually be used now.
Signed-off-by: aneejit1 <aneejit1@gmail.com>
Diffstat (limited to 'sip/qt/qtoolbar.sip')
-rw-r--r-- | sip/qt/qtoolbar.sip | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/sip/qt/qtoolbar.sip b/sip/qt/qtoolbar.sip index 31bf3d0..5bab07f 100644 --- a/sip/qt/qtoolbar.sip +++ b/sip/qt/qtoolbar.sip @@ -29,8 +29,6 @@ %End -%If (TQt_3_0_0 -) - class TQToolBar : TQDockWindow { %TypeHeaderCode @@ -73,88 +71,3 @@ protected: private: TQToolBar(const TQToolBar &); }; - -%End - - -%If (- TQt_3_0_0) - -class TQToolBar : TQWidget -{ -%TypeHeaderCode -#include <tqtoolbar.h> -%End - -public: -%If (- TQt_2_00) - TQToolBar(const char *,TQMainWindow * /TransferThis/, - TQMainWindow::ToolBarDock = TQMainWindow::Top, - bool = 0,const char * = 0); - TQToolBar(const char *,TQMainWindow *,TQWidget * /TransferThis/,bool = 0, - const char * = 0,WFlags = 0); -%End -%If (TQt_2_00 -) - TQToolBar(const TQString &,TQMainWindow * /TransferThis/, - TQMainWindow::ToolBarDock = TQMainWindow::Top,bool = 0, - const char * = 0); - TQToolBar(const TQString &,TQMainWindow *,TQWidget * /TransferThis/,bool = 0, - const char * = 0,WFlags = 0); -%End - TQToolBar(TQMainWindow * /TransferThis/ = 0,const char * = 0); - - void addSeparator(); - -%If (- TQt_2_00) - enum Orientation - { - Horizontal, - Vertical - }; -%End - - virtual void setOrientation(Orientation); - Orientation orientation() const; - void show(); - TQMainWindow *mainWindow(); - bool event(TQEvent *); -%If (- TQt_2_00) - void setStretchableWidget(TQWidget *); -%End -%If (TQt_2_00 -) - virtual void setStretchableWidget(TQWidget *); - bool eventFilter(TQObject *,TQEvent *); - virtual void setLabel(const TQString &); - TQString label() const; -%End -%If (TQt_2_1_0 -) - void hide(); - void setHorizontalStretchable(bool); - void setVerticalStretchable(bool); - bool isHorizontalStretchable() const; - bool isVerticalStretchable() const; - void clear(); - TQSize minimumSize() const; - TQSize minimumSizeHint() const; -%End - -protected: - void paintEvent(TQPaintEvent *); -%If (TQt_2_1_0 -) - void resizeEvent(TQResizeEvent *); -%End -%If (TQt_2_3_0 -) - void styleChange(TQStyle &); -%End - -signals: -%If (TQt_2_1_0 -) - void orientationChanged(Orientation); -%End - -private: -%If (TQt_2_1_0 -) - TQToolBar(const TQToolBar &); -%End -}; - -%End |