summaryrefslogtreecommitdiffstats
path: root/sip/qt/qregexp.sip
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-07-29 12:36:09 +0000
committerSlávek Banko <slavek.banko@axis.cz>2022-07-31 16:43:31 +0200
commit30381ed7e532384067ad63b4631950d821313199 (patch)
tree88fc97a0997db6456391b72c4df8345a46ae627d /sip/qt/qregexp.sip
parent4978511ebb7e8d31dab64485d1ac87b6e004be81 (diff)
downloadpytqt-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 <aneejit1@gmail.com> (cherry picked from commit 33a0297b35ab40e2d09cf37e351095b58725c8d5)
Diffstat (limited to 'sip/qt/qregexp.sip')
-rw-r--r--sip/qt/qregexp.sip37
1 files changed, 0 insertions, 37 deletions
diff --git a/sip/qt/qregexp.sip b/sip/qt/qregexp.sip
index 3bb3b0e..02feb48 100644
--- a/sip/qt/qregexp.sip
+++ b/sip/qt/qregexp.sip
@@ -61,21 +61,14 @@ class TQRegExp
%End
public:
-%If (TQt_3_1_0 -)
enum CaretMode {
CaretAtZero,
CaretAtOffset,
CaretWontMatch
};
-%End
TQRegExp();
-%If (- TQt_2_00)
- TQRegExp(const char *,bool = 1,bool = 0);
-%End
-%If (TQt_2_00 -)
TQRegExp(const TQString &,bool = 1,bool = 0);
-%End
TQRegExp(const TQRegExp &);
bool operator==(const TQRegExp &) const;
@@ -83,57 +76,27 @@ public:
bool isEmpty() const;
bool isValid() const;
-%If (- TQt_2_00)
- const char *pattern() const;
-%End
-%If (TQt_2_00 -)
TQString pattern() const;
-%End
-%If (TQt_2_2_0 -)
void setPattern(const TQString &);
-%End
bool caseSensitive() const;
void setCaseSensitive(bool);
bool wildcard() const;
void setWildcard(bool);
-%If (TQt_3_0_0 -)
bool minimal() const;
void setMinimal(bool);
bool exactMatch(const TQString &) const;
-%End
-%If (- TQt_2_00)
- int match(const char *,int = 0,int * = 0) const;
-%End
-%If (TQt_2_00 - TQt_3_0_0)
- int match(const TQString &,int = 0,int * = 0) const;
-%End
-
-%If (TQt_2_2_0 - TQt_3_0_0)
- int find(const TQString &,int);
-%End
-
-%If (TQt_3_0_0 -)
int search(const TQString &,int = 0) const;
-%If (TQt_3_1_0 -)
int search(const TQString &,int,CaretMode) const;
-%End
int searchRev(const TQString &,int = -1) const;
-%If (TQt_3_1_0 -)
int searchRev(const TQString &,int,CaretMode) const;
-%End
int matchedLength() const;
-%If (TQt_3_1_0 -)
int numCaptures() const;
-%End
TQStringList capturedTexts();
TQString cap(int = 0);
int pos(int = 0);
-%End
-%If (TQt_3_1_0 -)
TQString errorString();
static TQString escape(const TQString &);
-%End
};