summaryrefslogtreecommitdiffstats
path: root/sip/qt/qlcdnumber.sip
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-29 01:11:08 -0600
committerTimothy Pearson <[email protected]>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qlcdnumber.sip
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'sip/qt/qlcdnumber.sip')
-rw-r--r--sip/qt/qlcdnumber.sip60
1 files changed, 30 insertions, 30 deletions
diff --git a/sip/qt/qlcdnumber.sip b/sip/qt/qlcdnumber.sip
index ae250fd..4515a68 100644
--- a/sip/qt/qlcdnumber.sip
+++ b/sip/qt/qlcdnumber.sip
@@ -1,45 +1,45 @@
-// This is the SIP interface definition for QLCDNumber.
+// This is the SIP interface definition for TQLCDNumber.
//
// Copyright (c) 2007
// Riverbank Computing Limited <[email protected]>
//
-// This file is part of PyQt.
+// This file is part of PyTQt.
//
-// This copy of PyQt is free software; you can redistribute it and/or modify it
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2, or (at your option) any later
// version.
//
-// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
-// PyQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
%ExportedDoc
-<Sect2><Title>QLCDNumber</Title>
+<Sect2><Title>TQLCDNumber</Title>
<Para>
-<Literal>QLCDNumber</Literal> is fully implemented.
+<Literal>TQLCDNumber</Literal> is fully implemented.
</Para>
</Sect2>
%End
-class QLCDNumber : QFrame
+class TQLCDNumber : TQFrame
{
%TypeHeaderCode
#include <qlcdnumber.h>
%End
public:
- QLCDNumber(QWidget * /TransferThis/ = 0,const char * = 0);
- QLCDNumber(uint,QWidget * /TransferThis/ = 0,const char * = 0);
+ TQLCDNumber(TQWidget * /TransferThis/ = 0,const char * = 0);
+ TQLCDNumber(uint,TQWidget * /TransferThis/ = 0,const char * = 0);
-%If (- Qt_2_00)
+%If (- TQt_2_00)
enum Mode {
HEX,
DEC,
@@ -47,7 +47,7 @@ public:
BIN
};
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
enum Mode {
Hex, HEX = Hex,
Dec, DEC = Dec,
@@ -65,10 +65,10 @@ public:
bool smallDecimalPoint() const;
int numDigits() const;
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setNumDigits(int);
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
virtual void setNumDigits(int);
%End
@@ -76,46 +76,46 @@ public:
bool checkOverflow(double) const;
Mode mode() const;
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setMode(Mode);
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
virtual void setMode(Mode);
%End
SegmentStyle segmentStyle() const;
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setSegmentStyle(SegmentStyle);
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
virtual void setSegmentStyle(SegmentStyle);
%End
double value() const;
int intValue() const;
- QSize sizeHint() const;
-%If (Qt_2_00 - Qt_3_0_0)
- QSizePolicy sizePolicy() const;
+ TQSize sizeHint() const;
+%If (TQt_2_00 - TQt_3_0_0)
+ TQSizePolicy sizePolicy() const;
%End
public slots:
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void display(const char *);
%End
-%If (Qt_2_00 -)
- void display(const QString &);
+%If (TQt_2_00 -)
+ void display(const TQString &);
%End
void display(int /Constrained/);
void display(double);
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setHexMode();
void setDecMode();
void setOctMode();
void setBinMode();
void setSmallDecimalPoint(bool);
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
virtual void setHexMode();
virtual void setDecMode();
virtual void setOctMode();
@@ -127,11 +127,11 @@ signals:
void overflow();
protected:
-%If (- Qt_2_00)
- void resizeEvent(QResizeEvent *);
+%If (- TQt_2_00)
+ void resizeEvent(TQResizeEvent *);
%End
- void drawContents(QPainter *);
+ void drawContents(TQPainter *);
private:
- QLCDNumber(const QLCDNumber &);
+ TQLCDNumber(const TQLCDNumber &);
};