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/qmenubar.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/qmenubar.sip')
| -rw-r--r-- | sip/qt/qmenubar.sip | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sip/qt/qmenubar.sip b/sip/qt/qmenubar.sip index eff2db4..a008e46 100644 --- a/sip/qt/qmenubar.sip +++ b/sip/qt/qmenubar.sip @@ -53,31 +53,18 @@ public: }; Separator separator() const; -%If (- TQt_2_00) - void setSeparator(Separator); -%End -%If (TQt_2_00 -) virtual void setSeparator(Separator); -%End -%If (TQt_2_1_0 -) void setDefaultUp(bool); bool isDefaultUp() const; -%End -%If (TQt_2_00 -) bool customWhatsThis() const; -%End -%If (TQt_2_1_0 -) TQSize sizeHint() const; TQSize minimumSize() const; TQSize minimumSizeHint() const; -%End -%If (TQt_2_2_0 -) void activateItemAt(int); -%End signals: void activated(int); @@ -90,24 +77,16 @@ protected: void mouseReleaseEvent(TQMouseEvent *); void mouseMoveEvent(TQMouseEvent *); void keyPressEvent(TQKeyEvent *); -%If (TQt_2_1_0 -) void focusInEvent(TQFocusEvent *); -%End -%If (TQt_2_00 -) void focusOutEvent(TQFocusEvent *); -%End void resizeEvent(TQResizeEvent *); void leaveEvent(TQEvent *); void menuContentsChanged(); void menuStateChanged(); -%If (TQt_2_00 -) void styleChange(TQStyle &); -%End -%If (TQt_3_0_0 -) int itemAtPos(const TQPoint &); void hidePopups(); TQRect itemRect(int); -%End private: void menuInsPopup(TQPopupMenu *); |
