diff options
author | aneejit1 <[email protected]> | 2022-07-29 12:36:09 +0000 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-07-31 16:43:31 +0200 |
commit | 30381ed7e532384067ad63b4631950d821313199 (patch) | |
tree | 88fc97a0997db6456391b72c4df8345a46ae627d /sip/qt/qcombobox.sip | |
parent | 4978511ebb7e8d31dab64485d1ac87b6e004be81 (diff) | |
download | pytqt-30381ed7e532384067ad63b4631950d821313199.tar.gz pytqt-30381ed7e532384067ad63b4631950d821313199.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 <[email protected]>
(cherry picked from commit 33a0297b35ab40e2d09cf37e351095b58725c8d5)
Diffstat (limited to 'sip/qt/qcombobox.sip')
-rw-r--r-- | sip/qt/qcombobox.sip | 129 |
1 files changed, 0 insertions, 129 deletions
diff --git a/sip/qt/qcombobox.sip b/sip/qt/qcombobox.sip index e74dbf6..cc878ed 100644 --- a/sip/qt/qcombobox.sip +++ b/sip/qt/qcombobox.sip @@ -41,116 +41,42 @@ public: int count() const; -%If (TQt_2_00 -) void insertStringList(TQStringList &,int = -1); -%End void insertStrList(const TQStrList *,int = -1); // void insertStrList(const TQStrList &,int = -1); // void insertStrList(const char **,int = -1,int = -1); -%If (- TQt_2_00) - void insertItem(const char *,int = -1); -%End -%If (TQt_2_00 -) void insertItem(const TQString &,int = -1); -%End void insertItem(const TQPixmap &,int = -1); -%If (TQt_2_1_0 -) void insertItem(const TQPixmap &,const TQString &,int = -1); -%End void removeItem(int); -%If (- TQt_3_0_0) - void clear(); -%End - int currentItem() const; -%If (- TQt_2_00) - void setCurrentItem(int); -%End -%If (TQt_2_00 -) virtual void setCurrentItem(int); -%End -%If (- TQt_2_00) - const char *currentText() const; -%End -%If (TQt_2_00 -) TQString currentText() const; -%End -%If (TQt_3_0_0 -) virtual void setCurrentText(const TQString &); -%End -%If (- TQt_2_00) - const char *text(int) const; -%End -%If (TQt_2_00 -) TQString text(int) const; -%End const TQPixmap *pixmap(int) const; -%If (- TQt_2_00) - void changeItem(const char *,int); -%End -%If (TQt_2_00 -) void changeItem(const TQString &,int); -%End void changeItem(const TQPixmap &,int); -%If (TQt_2_1_0 -) void changeItem(const TQPixmap &,const TQString &,int); -%End bool autoResize() const; -%If (- TQt_2_00) - void setAutoResize(bool); -%End -%If (TQt_2_00 -) virtual void setAutoResize(bool); -%End TQSize sizeHint() const; -%If (TQt_2_00 - TQt_3_0_0) - virtual TQSizePolicy sizePolicy() const; -%End -%If (- TQt_2_00) - void setBackgroundColor(const TQColor &); - void setStyle(GUIStyle); -%End -%If (TQt_2_00 - TQt_3_0_0) - virtual void setBackgroundColor(const TQColor &); -%End -%If (- TQt_2_00) void setPalette(const TQPalette &); void setFont(const TQFont &); void setEnabled(bool); -%End -%If (TQt_2_00 - TQt_3_0_0) - virtual void setPalette(const TQPalette &); - virtual void setFont(const TQFont &); - virtual void setEnabled(bool); -%End -%If (TQt_3_0_0 -) - void setPalette(const TQPalette &); - void setFont(const TQFont &); - void setEnabled(bool); -%End -%If (- TQt_2_00) - void setSizeLimit(int); -%End -%If (TQt_2_00 -) virtual void setSizeLimit(int); -%End int sizeLimit() const; -%If (- TQt_2_00) - void setMaxCount(int); -%End -%If (TQt_2_00 -) virtual void setMaxCount(int); -%End int maxCount() const; enum Policy { @@ -162,91 +88,45 @@ public: BeforeCurrent }; -%If (- TQt_2_00) - void setInsertionPolicy(Policy); -%End -%If (TQt_2_00 -) virtual void setInsertionPolicy(Policy); -%End Policy insertionPolicy() const; -%If (- TQt_2_00) - void setValidator(TQValidator *); - TQValidator *validator() const; -%End -%If (TQt_2_00 -) virtual void setValidator(const TQValidator *); const TQValidator *validator() const; -%End -%If (- TQt_2_00) - void setListBox(TQListBox *); -%End -%If (TQt_2_00 -) virtual void setListBox(TQListBox *); -%End TQListBox *listBox() const; -%If (TQt_3_0_0 -) virtual void setLineEdit(TQLineEdit *); -%End -%If (TQt_2_1_0 -) TQLineEdit *lineEdit() const; -%End -%If (- TQt_2_00) - void setAutoCompletion(bool); -%End -%If (TQt_2_00 -) virtual void setAutoCompletion(bool); -%End bool autoCompletion() const; bool eventFilter(TQObject *,TQEvent *); -%If (TQt_2_1_0 -) void setDuplicatesEnabled(bool); bool duplicatesEnabled() const; -%End -%If (TQt_2_2_0 -) bool editable() const; void setEditable(bool); -%End -%If (TQt_3_0_0 -) virtual void popup(); -%End -%If (TQt_3_3_0 -) void hide(); -%End public slots: -%If (TQt_3_0_0 -) void clear(); -%End void clearValidator(); void clearEdit(); -%If (- TQt_2_00) - void setEditText(const char *); -%End -%If (TQt_2_00 -) virtual void setEditText(const TQString &); -%End signals: void activated(int); void highlighted(int); -%If (- TQt_2_00) - void activated(const char *); - void highlighted(const char *); -%End -%If (TQt_2_00 -) void activated(const TQString &); void highlighted(const TQString &); void textChanged(const TQString &); -%End protected: void paintEvent(TQPaintEvent *); @@ -257,20 +137,11 @@ protected: void mouseDoubleClickEvent(TQMouseEvent *); void keyPressEvent(TQKeyEvent *); void focusInEvent(TQFocusEvent *); -%If (TQt_3_1_1 -) void focusOutEvent(TQFocusEvent *); -%End -%If (TQt_3_1_0 -) void wheelEvent(TQWheelEvent *); -%End -%If (- TQt_3_0_0) - void popup(); -%End -%If (TQt_2_00 -) void styleChange(TQStyle &); void updateMask(); -%End private: TQComboBox(const TQComboBox &); |