diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-29 01:11:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-29 01:11:08 -0600 |
commit | 8a055d66f43592c257cece2eb8cc021808062917 (patch) | |
tree | d0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qsplitter.sip | |
parent | b388516ca2691303a076a0764fd40bf7116fe43d (diff) | |
download | pytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip |
Initial TQt conversion
Diffstat (limited to 'sip/qt/qsplitter.sip')
-rw-r--r-- | sip/qt/qsplitter.sip | 108 |
1 files changed, 54 insertions, 54 deletions
diff --git a/sip/qt/qsplitter.sip b/sip/qt/qsplitter.sip index 167f8fc..b27ce7b 100644 --- a/sip/qt/qsplitter.sip +++ b/sip/qt/qsplitter.sip @@ -1,27 +1,27 @@ -// This is the SIP interface definition for QSplitter. +// This is the SIP interface definition for TQSplitter. // // Copyright (c) 2007 // Riverbank Computing Limited <info@riverbankcomputing.co.uk> // -// 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>QSplitter</Title> +<Sect2><Title>TQSplitter</Title> <FuncSynopsis> <FuncDef>void <Function>getRange</Function></FuncDef> <ParamDef>int <Parameter>id</Parameter></ParamDef> @@ -30,22 +30,22 @@ </FuncSynopsis> <Para> This takes the <Literal>id</Literal> parameter and returns the -<Literal>min</Literal> and <Literal>max</Literal> values as a tuple. (Qt v2+) +<Literal>min</Literal> and <Literal>max</Literal> values as a tuple. (TQt v2+) </Para> </Sect2> %End -%If (Qt_SPLITTER) +%If (TQt_SPLITTER) -class QSplitter : QFrame +class TQSplitter : TQFrame { %TypeHeaderCode #include <qsplitter.h> %End public: -%If (- Qt_2_00) +%If (- TQt_2_00) enum Orientation { Horizontal, Vertical @@ -55,105 +55,105 @@ public: enum ResizeMode { Stretch, KeepSize, -%If (Qt_2_1_0 -) +%If (TQt_2_1_0 -) FollowSizeHint, %End -%If (Qt_3_1_0 -) +%If (TQt_3_1_0 -) Auto %End }; - QSplitter(QWidget * /TransferThis/ = 0,const char * = 0); - QSplitter(Orientation,QWidget * /TransferThis/ = 0,const char * = 0); + TQSplitter(TQWidget * /TransferThis/ = 0,const char * = 0); + TQSplitter(Orientation,TQWidget * /TransferThis/ = 0,const char * = 0); -%If (- Qt_2_00) +%If (- TQt_2_00) void setOrientation(Orientation); %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) virtual void setOrientation(Orientation); %End Orientation orientation() const; -%If (Qt_3_2_0 -) +%If (TQt_3_2_0 -) void setChildrenCollapsible(bool); bool childrenCollapsible() const; - void setCollapsible(QWidget *,bool); + void setCollapsible(TQWidget *,bool); %End -%If (- Qt_2_00) - void setResizeMode(QWidget *,ResizeMode); +%If (- TQt_2_00) + void setResizeMode(TQWidget *,ResizeMode); void setOpaqueResize(bool = 1); %End -%If (Qt_2_00 -) - virtual void setResizeMode(QWidget *,ResizeMode); +%If (TQt_2_00 -) + virtual void setResizeMode(TQWidget *,ResizeMode); virtual void setOpaqueResize(bool = 1); %End bool opaqueResize() const; - void moveToFirst(QWidget *); - void moveToLast(QWidget *); + void moveToFirst(TQWidget *); + void moveToLast(TQWidget *); void refresh(); -%If (Qt_2_00 -) - QSize sizeHint() const; - QSize minimumSizeHint() const; +%If (TQt_2_00 -) + TQSize sizeHint() const; + TQSize minimumSizeHint() const; %End -%If (Qt_2_00 - Qt_3_0_0) - QSizePolicy sizePolicy() const; +%If (TQt_2_00 - TQt_3_0_0) + TQSizePolicy sizePolicy() const; %End -%If (Qt_2_00 -) - QValueList<int> sizes() const; - void setSizes(QValueList<int>); +%If (TQt_2_00 -) + TQValueList<int> sizes() const; + void setSizes(TQValueList<int>); %End -%If (Qt_3_2_0 -) +%If (TQt_3_2_0 -) int handleWidth() const; void setHandleWidth(int); %End -%If (- Qt_2_00) - bool event(QEvent *); +%If (- TQt_2_00) + bool event(TQEvent *); %End protected: -%If (Qt_2_00 -) - void childEvent(QChildEvent *); +%If (TQt_2_00 -) + void childEvent(TQChildEvent *); - bool event(QEvent *); + bool event(TQEvent *); %End - void resizeEvent(QResizeEvent *); + void resizeEvent(TQResizeEvent *); -%If (- Qt_2_00) - void childInsertEvent(QChildEvent *); - void childRemoveEvent(QChildEvent *); - void layoutHintEvent(QEvent *); +%If (- TQt_2_00) + void childInsertEvent(TQChildEvent *); + void childRemoveEvent(TQChildEvent *); + void layoutHintEvent(TQEvent *); - void moveSplitter(QCOORD); + void moveSplitter(TQCOORD); %End -%If (Qt_2_00 -) - int idAfter(QWidget *) const; +%If (TQt_2_00 -) + int idAfter(TQWidget *) const; - void moveSplitter(QCOORD,int); + void moveSplitter(TQCOORD,int); %End - virtual void drawSplitter(QPainter *,QCOORD,QCOORD,QCOORD,QCOORD); -%If (Qt_2_1_0 -) - void styleChange(QStyle &); + virtual void drawSplitter(TQPainter *,TQCOORD,TQCOORD,TQCOORD,TQCOORD); +%If (TQt_2_1_0 -) + void styleChange(TQStyle &); %End -%If (- Qt_2_00) +%If (- TQt_2_00) int adjustPos(int); void setRubberband(int); %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) int adjustPos(int,int); virtual void setRubberband(int); void getRange(int,int *,int *); %End private: -%If (Qt_2_1_0 -) - QSplitter(const QSplitter &); +%If (TQt_2_1_0 -) + TQSplitter(const TQSplitter &); %End }; |