summaryrefslogtreecommitdiffstats
path: root/sip/qt/qlcdnumber.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/qlcdnumber.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/qlcdnumber.sip')
-rw-r--r--sip/qt/qlcdnumber.sip45
1 files changed, 0 insertions, 45 deletions
diff --git a/sip/qt/qlcdnumber.sip b/sip/qt/qlcdnumber.sip
index 2127210..ef8cb79 100644
--- a/sip/qt/qlcdnumber.sip
+++ b/sip/qt/qlcdnumber.sip
@@ -40,22 +40,12 @@ public:
TQLCDNumber(TQWidget * /TransferThis/ = 0,const char * = 0);
TQLCDNumber(uint,TQWidget * /TransferThis/ = 0,const char * = 0);
-%If (- TQt_2_00)
- enum Mode {
- HEX,
- DEC,
- OCT,
- BIN
- };
-%End
-%If (TQt_2_00 -)
enum Mode {
Hex, HEX = Hex,
Dec, DEC = Dec,
Oct, OCT = Oct,
Bin, BIN = Bin
};
-%End
enum SegmentStyle {
Outline,
@@ -66,71 +56,36 @@ public:
bool smallDecimalPoint() const;
int numDigits() const;
-%If (- TQt_2_00)
- void setNumDigits(int);
-%End
-%If (TQt_2_00 -)
virtual void setNumDigits(int);
-%End
bool checkOverflow(int /Constrained/) const;
bool checkOverflow(double) const;
Mode mode() const;
-%If (- TQt_2_00)
- void setMode(Mode);
-%End
-%If (TQt_2_00 -)
virtual void setMode(Mode);
-%End
SegmentStyle segmentStyle() const;
-%If (- TQt_2_00)
- void setSegmentStyle(SegmentStyle);
-%End
-%If (TQt_2_00 -)
virtual void setSegmentStyle(SegmentStyle);
-%End
double value() const;
int intValue() const;
TQSize sizeHint() const;
-%If (TQt_2_00 - TQt_3_0_0)
- TQSizePolicy sizePolicy() const;
-%End
public slots:
-%If (- TQt_2_00)
- void display(const char *);
-%End
-%If (TQt_2_00 -)
void display(const TQString &);
-%End
void display(int /Constrained/);
void display(double);
-%If (- TQt_2_00)
- void setHexMode();
- void setDecMode();
- void setOctMode();
- void setBinMode();
- void setSmallDecimalPoint(bool);
-%End
-%If (TQt_2_00 -)
virtual void setHexMode();
virtual void setDecMode();
virtual void setOctMode();
virtual void setBinMode();
virtual void setSmallDecimalPoint(bool);
-%End
signals:
void overflow();
protected:
-%If (- TQt_2_00)
- void resizeEvent(TQResizeEvent *);
-%End
void drawContents(TQPainter *);
private: