summaryrefslogtreecommitdiffstats
path: root/sip/qt/qaccel.sip
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-07-29 12:36:09 +0000
committeraneejit1 <aneejit1@gmail.com>2022-07-30 17:54:15 +0000
commit33a0297b35ab40e2d09cf37e351095b58725c8d5 (patch)
tree7eb6d8c710dcb638f2ac00776a3f523311e19c50 /sip/qt/qaccel.sip
parente602246539fd7435aaeb440fcb7f852c92c8426b (diff)
downloadpytqt-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/qaccel.sip')
-rw-r--r--sip/qt/qaccel.sip24
1 files changed, 0 insertions, 24 deletions
diff --git a/sip/qt/qaccel.sip b/sip/qt/qaccel.sip
index da17dac..a10a9b9 100644
--- a/sip/qt/qaccel.sip
+++ b/sip/qt/qaccel.sip
@@ -37,32 +37,19 @@ class TQAccel : TQObject
public:
TQAccel(TQWidget * /TransferThis/,char * = 0);
-%If (TQt_2_1_0 -)
TQAccel(TQWidget *,TQObject * /TransferThis/,char * = 0);
-%End
bool isEnabled();
void setEnabled(bool);
uint count();
-%If (- TQt_3_0_0)
- int insertItem(int,int = -1);
-%End
-%If (TQt_3_0_0 -)
int insertItem(const TQKeySequence &,int = -1);
-%End
void removeItem(int);
void clear();
-%If (- TQt_3_0_0)
- int key(int);
- int findKey(int) const;
-%End
-%If (TQt_3_0_0 -)
TQKeySequence key(int);
int findKey(const TQKeySequence &) const;
-%End
bool isItemEnabled(int) const;
void setItemEnabled(int,bool);
@@ -72,29 +59,18 @@ public:
void repairEventFilter();
-%If (TQt_2_00 -)
void setWhatsThis(int,const TQString &);
TQString whatsThis(int) const;
void setIgnoreWhatsThis(bool);
bool ignoreWhatsThis() const;
-%End
-%If (TQt_2_00 - TQt_3_0_0)
- static int shortcutKey(const TQString &);
- static TQString keyToString(int);
- static int stringToKey(const TQString &);
-%End
-%If (TQt_3_0_0 -)
static TQKeySequence shortcutKey(const TQString &);
static TQString keyToString(TQKeySequence);
static TQKeySequence stringToKey(const TQString &);
-%End
signals:
void activated(int);
-%If (TQt_3_1_0 -)
void activatedAmbiguously(int);
-%End
protected:
bool eventFilter(TQObject *,TQEvent *);