summaryrefslogtreecommitdiffstats
path: root/sip/qt/qlayout.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qlayout.sip
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'sip/qt/qlayout.sip')
-rw-r--r--sip/qt/qlayout.sip424
1 files changed, 212 insertions, 212 deletions
diff --git a/sip/qt/qlayout.sip b/sip/qt/qlayout.sip
index 4270e1e..41fc23b 100644
--- a/sip/qt/qlayout.sip
+++ b/sip/qt/qlayout.sip
@@ -1,106 +1,106 @@
-// This is the SIP interface definition for QBoxLayout, QGLayoutIterator,
-// QGridLayout, QHBoxLayout, QLayout, QLayoutItem, QLayoutIterator,
-// QSpacerItem, QVBoxLayout and QWidgetItem.
+// This is the SIP interface definition for TQBoxLayout, TQGLayoutIterator,
+// TQGridLayout, TQHBoxLayout, TQLayout, TQLayoutItem, TQLayoutIterator,
+// TQSpacerItem, TQVBoxLayout and TQWidgetItem.
//
// 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>QLayout</Title>
+<Sect2><Title>TQLayout</Title>
<Para>
-<Literal>QLayout</Literal> is fully implemented.
+<Literal>TQLayout</Literal> is fully implemented.
</Para>
</Sect2>
-<Sect2><Title>QBoxLayout</Title>
+<Sect2><Title>TQBoxLayout</Title>
<Para>
-<Literal>QBoxLayout</Literal> is fully implemented.
+<Literal>TQBoxLayout</Literal> is fully implemented.
</Para>
</Sect2>
-<Sect2><Title>QGLayoutIterator (Qt v2+)</Title>
+<Sect2><Title>TQGLayoutIterator (TQt v2+)</Title>
<Para>
-<Literal>QGLayoutIterator</Literal> is fully implemented.
+<Literal>TQGLayoutIterator</Literal> is fully implemented.
</Para>
</Sect2>
-<Sect2><Title>QGridLayout</Title>
+<Sect2><Title>TQGridLayout</Title>
<FuncSynopsis>
<FuncDef>bool <Function>findWidget</Function></FuncDef>
- <ParamDef>QWidget *<Parameter>w</Parameter></ParamDef>
+ <ParamDef>TQWidget *<Parameter>w</Parameter></ParamDef>
<ParamDef>int *<Parameter>row</Parameter></ParamDef>
<ParamDef>int *<Parameter>col</Parameter></ParamDef>
</FuncSynopsis>
<Para>
This takes the <Literal>w</Literal> parameter and returns a tuple containing
the <Literal>bool</Literal> result, <Literal>row</Literal> and
-<Literal>col</Literal>. (Qt v2+)
+<Literal>col</Literal>. (TQt v2+)
</Para>
</Sect2>
-<Sect2><Title>QHBoxLayout</Title>
+<Sect2><Title>TQHBoxLayout</Title>
<Para>
-<Literal>QHBoxLayout</Literal> is fully implemented.
+<Literal>TQHBoxLayout</Literal> is fully implemented.
</Para>
</Sect2>
-<Sect2><Title>QLayoutItem (Qt v2+)</Title>
+<Sect2><Title>TQLayoutItem (TQt v2+)</Title>
<Para>
-<Literal>QLayoutItem</Literal> is fully implemented.
+<Literal>TQLayoutItem</Literal> is fully implemented.
</Para>
</Sect2>
-<Sect2><Title>QLayoutIterator (Qt v2+)</Title>
+<Sect2><Title>TQLayoutIterator (TQt v2+)</Title>
<FuncSynopsis>
- <FuncDef>QLayoutItem *<Function>next</Function></FuncDef>
+ <FuncDef>TQLayoutItem *<Function>next</Function></FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
-This is a wrapper around the <Literal>QLayoutIterator</Literal>
+This is a wrapper around the <Literal>TQLayoutIterator</Literal>
<Literal>++</Literal> operator.
</Para>
</Sect2>
-<Sect2><Title>QSpacerItem (Qt v2+)</Title>
+<Sect2><Title>TQSpacerItem (TQt v2+)</Title>
<Para>
-<Literal>QSpacerItem</Literal> is fully implemented.
+<Literal>TQSpacerItem</Literal> is fully implemented.
</Para>
</Sect2>
-<Sect2><Title>QVBoxLayout</Title>
+<Sect2><Title>TQVBoxLayout</Title>
<Para>
-<Literal>QVBoxLayout</Literal> is fully implemented.
+<Literal>TQVBoxLayout</Literal> is fully implemented.
</Para>
</Sect2>
-<Sect2><Title>QWidgetItem (Qt v2+)</Title>
+<Sect2><Title>TQWidgetItem (TQt v2+)</Title>
<Para>
-<Literal>QWidgetItem</Literal> is fully implemented.
+<Literal>TQWidgetItem</Literal> is fully implemented.
</Para>
</Sect2>
%End
-%If (- Qt_2_00)
+%If (- TQt_2_00)
-class QLayout : QObject
+class TQLayout : TQObject
{
%TypeHeaderCode
#include <qlayout.h>
@@ -109,82 +109,82 @@ class QLayout : QObject
public:
enum
{
- unlimited = QCOORD_MAX
+ unlimited = TQCOORD_MAX
};
int defaultBorder() const;
virtual bool activate();
void freeze(int,int);
void freeze();
- void setMenuBar(QMenuBar *);
- QWidget *mainWidget();
+ void setMenuBar(TQMenuBar *);
+ TQWidget *mainWidget();
protected:
- QLayout(QWidget * /TransferThis/,int,int,const char *);
- QLayout(int = -1,const char * = 0);
+ TQLayout(TQWidget * /TransferThis/,int,int,const char *);
+ TQLayout(int = -1,const char * = 0);
- QGManager *basicManager();
- virtual QChain *mainVerticalChain() = 0;
- virtual QChain *mainHorizontalChain() = 0;
+ TQGManager *basicManager();
+ virtual TQChain *mainVerticalChain() = 0;
+ virtual TQChain *mainHorizontalChain() = 0;
virtual void initGM() = 0;
- void addChildLayout(QLayout *);
+ void addChildLayout(TQLayout *);
private:
- QLayout(const QLayout &);
+ TQLayout(const TQLayout &);
};
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
-class QGLayoutIterator
+class TQGLayoutIterator
{
%TypeHeaderCode
#include <qabstractlayout.h>
%End
public:
- virtual QLayoutItem *next() = 0;
- virtual QLayoutItem *current() = 0;
- virtual QLayoutItem *takeCurrent() = 0 /TransferBack/;
+ virtual TQLayoutItem *next() = 0;
+ virtual TQLayoutItem *current() = 0;
+ virtual TQLayoutItem *takeCurrent() = 0 /TransferBack/;
};
-class QLayoutIterator
+class TQLayoutIterator
{
%TypeHeaderCode
#include <qabstractlayout.h>
%End
public:
- QLayoutIterator(QGLayoutIterator *) /Default/;
- QLayoutIterator(const QLayoutIterator &);
+ TQLayoutIterator(TQGLayoutIterator *) /Default/;
+ TQLayoutIterator(const TQLayoutIterator &);
- QLayoutItem *next();
+ TQLayoutItem *next();
%MethodCode
Py_BEGIN_ALLOW_THREADS
sipRes = ++(*sipCpp);
Py_END_ALLOW_THREADS
%End
- QLayoutItem *current();
- QLayoutItem *takeCurrent() /TransferBack/;
+ TQLayoutItem *current();
+ TQLayoutItem *takeCurrent() /TransferBack/;
void deleteCurrent();
};
-class QLayoutItem
+class TQLayoutItem
{
%TypeHeaderCode
#include <qabstractlayout.h>
%End
public:
- QLayoutItem(int = 0 );
+ TQLayoutItem(int = 0 );
%ConvertToSubClassCode
- // Note that we let the QObject sub-class code handle QLayout and it's
+ // Note that we let the TQObject sub-class code handle TQLayout and it's
// sub-classes.
if (sipCpp->widget())
sipClass = sipClass_QWidgetItem;
@@ -194,74 +194,74 @@ public:
sipClass = NULL;
%End
- virtual QSize sizeHint() const = 0;
- virtual QSize minimumSize() const = 0;
- virtual QSize maximumSize() const = 0;
- virtual QSizePolicy::ExpandData expanding() const = 0;
- virtual void setGeometry(const QRect &) = 0;
- virtual QRect geometry() const = 0;
+ virtual TQSize sizeHint() const = 0;
+ virtual TQSize minimumSize() const = 0;
+ virtual TQSize maximumSize() const = 0;
+ virtual TQSizePolicy::ExpandData expanding() const = 0;
+ virtual void setGeometry(const TQRect &) = 0;
+ virtual TQRect geometry() const = 0;
virtual bool isEmpty() const = 0;
virtual bool hasHeightForWidth() const;
virtual int heightForWidth(int) const;
virtual void invalidate();
- virtual QWidget *widget();
- virtual QLayoutIterator iterator();
- virtual QLayout *layout();
- virtual QSpacerItem *spacerItem();
+ virtual TQWidget *widget();
+ virtual TQLayoutIterator iterator();
+ virtual TQLayout *layout();
+ virtual TQSpacerItem *spacerItem();
int alignment() const;
virtual void setAlignment(int);
};
-class QSpacerItem : QLayoutItem
+class TQSpacerItem : TQLayoutItem
{
%TypeHeaderCode
#include <qabstractlayout.h>
%End
public:
- QSpacerItem(int,int,QSizePolicy::SizeType = QSizePolicy::Minimum,
- QSizePolicy::SizeType = QSizePolicy::Minimum);
-
- void changeSize(int,int,QSizePolicy::SizeType = QSizePolicy::Minimum,
- QSizePolicy::SizeType = QSizePolicy::Minimum);
- QSize sizeHint() const;
- QSize minimumSize() const;
- QSize maximumSize() const;
- QSizePolicy::ExpandData expanding() const;
+ TQSpacerItem(int,int,TQSizePolicy::SizeType = TQSizePolicy::Minimum,
+ TQSizePolicy::SizeType = TQSizePolicy::Minimum);
+
+ void changeSize(int,int,TQSizePolicy::SizeType = TQSizePolicy::Minimum,
+ TQSizePolicy::SizeType = TQSizePolicy::Minimum);
+ TQSize sizeHint() const;
+ TQSize minimumSize() const;
+ TQSize maximumSize() const;
+ TQSizePolicy::ExpandData expanding() const;
bool isEmpty() const;
- void setGeometry(const QRect &);
- QRect geometry() const;
- QSpacerItem *spacerItem();
+ void setGeometry(const TQRect &);
+ TQRect geometry() const;
+ TQSpacerItem *spacerItem();
};
-class QWidgetItem : QLayoutItem
+class TQWidgetItem : TQLayoutItem
{
%TypeHeaderCode
#include <qabstractlayout.h>
%End
public:
- QWidgetItem(QWidget *);
+ TQWidgetItem(TQWidget *);
- QSize sizeHint() const;
- QSize minimumSize() const;
- QSize maximumSize() const;
- QSizePolicy::ExpandData expanding() const;
+ TQSize sizeHint() const;
+ TQSize minimumSize() const;
+ TQSize maximumSize() const;
+ TQSizePolicy::ExpandData expanding() const;
bool isEmpty() const;
- void setGeometry(const QRect &) ;
- QRect geometry() const;
- virtual QWidget *widget();
+ void setGeometry(const TQRect &) ;
+ TQRect geometry() const;
+ virtual TQWidget *widget();
bool hasHeightForWidth() const;
int heightForWidth(int) const;
};
-class QLayout : QObject, QLayoutItem
+class TQLayout : TQObject, TQLayoutItem
{
%TypeHeaderCode
#include <qabstractlayout.h>
@@ -272,14 +272,14 @@ public:
FreeResize,
Minimum,
Fixed,
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
Auto
%End
};
- QLayout(QWidget * /TransferThis/,int = 0,int = -1,const char * = 0);
- QLayout(QLayout * /TransferThis/,int = -1,const char * = 0);
- QLayout(int = -1,const char * = 0);
+ TQLayout(TQWidget * /TransferThis/,int = 0,int = -1,const char * = 0);
+ TQLayout(TQLayout * /TransferThis/,int = -1,const char * = 0);
+ TQLayout(int = -1,const char * = 0);
int margin() const;
int spacing() const;
@@ -287,13 +287,13 @@ public:
virtual void setMargin(int);
virtual void setSpacing(int);
-%If (- Qt_3_1_0)
+%If (- TQt_3_1_0)
enum {
unlimited
};
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
int defaultBorder() const;
void freeze(int,int);
void freeze();
@@ -302,111 +302,111 @@ public:
void setResizeMode(ResizeMode);
ResizeMode resizeMode() const;
- virtual void setMenuBar(QMenuBar *);
- QMenuBar *menuBar() const;
+ virtual void setMenuBar(TQMenuBar *);
+ TQMenuBar *menuBar() const;
- QWidget *mainWidget();
+ TQWidget *mainWidget();
bool isTopLevel() const;
virtual void setAutoAdd(bool);
bool autoAdd() const;
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
void invalidate();
%End
- QRect geometry() const;
+ TQRect geometry() const;
bool activate();
- void add(QWidget *);
- virtual void addItem(QLayoutItem * /Transfer/) = 0;
+ void add(TQWidget *);
+ virtual void addItem(TQLayoutItem * /Transfer/) = 0;
-%If (Qt_3_1_0 -)
- void remove(QWidget *);
- void removeItem(QLayoutItem * /TransferBack/);
+%If (TQt_3_1_0 -)
+ void remove(TQWidget *);
+ void removeItem(TQLayoutItem * /TransferBack/);
%End
- QSizePolicy::ExpandData expanding() const;
- QSize minimumSize() const;
- QSize maximumSize() const;
- void setGeometry(const QRect &) = 0;
- QLayoutIterator iterator() = 0;
+ TQSizePolicy::ExpandData expanding() const;
+ TQSize minimumSize() const;
+ TQSize maximumSize() const;
+ void setGeometry(const TQRect &) = 0;
+ TQLayoutIterator iterator() = 0;
bool isEmpty() const;
int totalHeightForWidth(int) const;
- QSize totalMinimumSize() const;
- QSize totalMaximumSize() const;
- QSize totalSizeHint() const;
- QLayout *layout();
+ TQSize totalMinimumSize() const;
+ TQSize totalMaximumSize() const;
+ TQSize totalSizeHint() const;
+ TQLayout *layout();
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
bool supportsMargin() const;
%End
-%If (Qt_2_2_0 -)
+%If (TQt_2_2_0 -)
void setEnabled(bool);
bool isEnabled() const;
%End
protected:
- bool eventFilter(QObject *,QEvent *);
-%If (Qt_3_0_0 -)
- void childEvent(QChildEvent *);
+ bool eventFilter(TQObject *,TQEvent *);
+%If (TQt_3_0_0 -)
+ void childEvent(TQChildEvent *);
%End
- void addChildLayout(QLayout *);
+ void addChildLayout(TQLayout *);
void deleteAllItems();
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
void setSupportsMargin(bool);
- QRect alignmentRect(const QRect &) const;
+ TQRect alignmentRect(const TQRect &) const;
%End
private:
- QLayout(const QLayout &);
+ TQLayout(const TQLayout &);
};
%End
-class QGridLayout : QLayout
+class TQGridLayout : TQLayout
{
%TypeHeaderCode
#include <qlayout.h>
%End
public:
-%If (- Qt_2_1_0)
- QGridLayout(QWidget * /TransferThis/,int,int,int = 0,int = -1,const char * = 0);
- QGridLayout(int,int,int = -1,const char * = 0);
+%If (- TQt_2_1_0)
+ TQGridLayout(TQWidget * /TransferThis/,int,int,int = 0,int = -1,const char * = 0);
+ TQGridLayout(int,int,int = -1,const char * = 0);
%End
-%If (Qt_2_00 - Qt_2_1_0)
- QGridLayout(QLayout * /TransferThis/,int,int,int = -1,const char * = 0);
+%If (TQt_2_00 - TQt_2_1_0)
+ TQGridLayout(TQLayout * /TransferThis/,int,int,int = -1,const char * = 0);
%End
-%If (Qt_2_1_0 -)
- QGridLayout(QWidget * /TransferThis/,int = 1,int = 1,int = 0,int = -1,const char * = 0);
- QGridLayout(int = 1,int = 1,int = -1,const char * = 0);
- QGridLayout(QLayout * /TransferThis/,int = 1,int = 1,int = -1,const char * = 0);
+%If (TQt_2_1_0 -)
+ TQGridLayout(TQWidget * /TransferThis/,int = 1,int = 1,int = 0,int = -1,const char * = 0);
+ TQGridLayout(int = 1,int = 1,int = -1,const char * = 0);
+ TQGridLayout(TQLayout * /TransferThis/,int = 1,int = 1,int = -1,const char * = 0);
%End
-%If (Qt_2_00 -)
- QSize sizeHint() const;
- QSize minimumSize() const;
- QSize maximumSize() const;
+%If (TQt_2_00 -)
+ TQSize sizeHint() const;
+ TQSize minimumSize() const;
+ TQSize maximumSize() const;
%End
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setRowStretch(int,int);
void setColStretch(int,int);
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
virtual void setRowStretch(int,int);
virtual void setColStretch(int,int);
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
int rowStretch(int) const;
int colStretch(int) const;
%End
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
void setRowSpacing(int,int);
void setColSpacing(int,int);
int rowSpacing(int) const;
@@ -415,40 +415,40 @@ public:
int numRows() const;
int numCols() const;
-%If (Qt_2_1_0 -)
- QRect cellGeometry(int,int) const;
+%If (TQt_2_1_0 -)
+ TQRect cellGeometry(int,int) const;
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
bool hasHeightForWidth() const;
int heightForWidth(int) const;
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
int minimumHeightForWidth(int) const;
%End
- QSizePolicy::ExpandData expanding() const;
+ TQSizePolicy::ExpandData expanding() const;
void invalidate();
- void addItem(QLayoutItem * /Transfer/);
+ void addItem(TQLayoutItem * /Transfer/);
%End
-%If (Qt_2_1_0 -)
- void addItem(QLayoutItem * /Transfer/,int,int);
+%If (TQt_2_1_0 -)
+ void addItem(TQLayoutItem * /Transfer/,int,int);
%End
-%If (Qt_2_00 -)
- void addMultiCell(QLayoutItem * /Transfer/,int,int,int,int,int = 0);
+%If (TQt_2_00 -)
+ void addMultiCell(TQLayoutItem * /Transfer/,int,int,int,int,int = 0);
%End
- void addWidget(QWidget *,int,int,int = 0);
- void addMultiCellWidget(QWidget *,int,int,int,int,int = 0);
- void addLayout(QLayout * /Transfer/,int,int);
-%If (Qt_2_2_0 -)
- void addMultiCellLayout(QLayout * /Transfer/,int,int,int,int,int = 0);
+ void addWidget(TQWidget *,int,int,int = 0);
+ void addMultiCellWidget(TQWidget *,int,int,int,int,int = 0);
+ void addLayout(TQLayout * /Transfer/,int,int);
+%If (TQt_2_2_0 -)
+ void addMultiCellLayout(TQLayout * /Transfer/,int,int,int,int,int = 0);
%End
void addRowSpacing(int,int);
void addColSpacing(int,int);
void expand(int,int);
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
enum Corner {
TopLeft,
TopRight,
@@ -458,32 +458,32 @@ public:
void setOrigin(Corner);
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
Corner origin() const;
%End
-%If (Qt_2_00 -)
- QLayoutIterator iterator();
- void setGeometry(const QRect &);
+%If (TQt_2_00 -)
+ TQLayoutIterator iterator();
+ void setGeometry(const TQRect &);
%End
protected:
-%If (- Qt_2_00)
- QChain *mainVerticalChain();
- QChain *mainHorizontalChain();
+%If (- TQt_2_00)
+ TQChain *mainVerticalChain();
+ TQChain *mainHorizontalChain();
void initGM();
%End
-%If (Qt_2_00 -)
- bool findWidget(QWidget *,int *,int *);
- void add(QLayoutItem * /Transfer/,int,int);
+%If (TQt_2_00 -)
+ bool findWidget(TQWidget *,int *,int *);
+ void add(TQLayoutItem * /Transfer/,int,int);
%End
private:
- QGridLayout(const QGridLayout &);
+ TQGridLayout(const TQGridLayout &);
};
-class QBoxLayout : QLayout
+class TQBoxLayout : TQLayout
{
%TypeHeaderCode
#include <qlayout.h>
@@ -499,99 +499,99 @@ public:
Up = BottomToTop
};
- QBoxLayout(QWidget * /TransferThis/,Direction,int = 0,int = -1,const char * = 0);
-%If (Qt_2_00 -)
- QBoxLayout(QLayout * /TransferThis/,Direction,int = -1,const char * = 0);
+ TQBoxLayout(TQWidget * /TransferThis/,Direction,int = 0,int = -1,const char * = 0);
+%If (TQt_2_00 -)
+ TQBoxLayout(TQLayout * /TransferThis/,Direction,int = -1,const char * = 0);
%End
- QBoxLayout(Direction,int = -1,const char * = 0);
+ TQBoxLayout(Direction,int = -1,const char * = 0);
Direction direction() const;
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
void setDirection(Direction);
%End
void addSpacing(int);
void addStretch(int = 0);
-%If (- Qt_2_00)
- void addWidget(QWidget *,int = 0,int = AlignCenter);
+%If (- TQt_2_00)
+ void addWidget(TQWidget *,int = 0,int = AlignCenter);
%End
- void addLayout(QLayout * /Transfer/,int = 0);
+ void addLayout(TQLayout * /Transfer/,int = 0);
void addStrut(int);
-%If (Qt_2_00 -)
- void addItem(QLayoutItem * /Transfer/);
- void addWidget(QWidget *,int = 0,int = 0);
-%If (Qt_2_1_0 -)
+%If (TQt_2_00 -)
+ void addItem(TQLayoutItem * /Transfer/);
+ void addWidget(TQWidget *,int = 0,int = 0);
+%If (TQt_2_1_0 -)
void insertSpacing(int,int);
void insertStretch(int,int = 0);
- void insertWidget(int,QWidget *,int = 0,int = 0);
- void insertLayout(int,QLayout * /Transfer/,int = 0);
- int findWidget(QWidget *);
-%End
- bool setStretchFactor(QWidget *,int);
- QSize sizeHint() const;
- QSize minimumSize() const;
- QSize maximumSize() const;
+ void insertWidget(int,TQWidget *,int = 0,int = 0);
+ void insertLayout(int,TQLayout * /Transfer/,int = 0);
+ int findWidget(TQWidget *);
+%End
+ bool setStretchFactor(TQWidget *,int);
+ TQSize sizeHint() const;
+ TQSize minimumSize() const;
+ TQSize maximumSize() const;
bool hasHeightForWidth() const;
int heightForWidth(int) const;
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
int minimumHeightForWidth(int) const;
%End
- QSizePolicy::ExpandData expanding() const;
+ TQSizePolicy::ExpandData expanding() const;
void invalidate();
- QLayoutIterator iterator();
- void setGeometry(const QRect &);
+ TQLayoutIterator iterator();
+ void setGeometry(const TQRect &);
%End
protected:
-%If (- Qt_2_00)
- QChain *mainVerticalChain();
- QChain *mainHorizontalChain();
+%If (- TQt_2_00)
+ TQChain *mainVerticalChain();
+ TQChain *mainHorizontalChain();
void initGM();
%End
-%If (Qt_2_1_0 -)
- void insertItem(int,QLayoutItem * /Transfer/);
+%If (TQt_2_1_0 -)
+ void insertItem(int,TQLayoutItem * /Transfer/);
%End
private:
- QBoxLayout(const QBoxLayout &);
+ TQBoxLayout(const TQBoxLayout &);
};
-class QHBoxLayout : QBoxLayout
+class TQHBoxLayout : TQBoxLayout
{
%TypeHeaderCode
#include <qlayout.h>
%End
public:
- QHBoxLayout(QWidget * /TransferThis/,int = 0,int = -1,const char * = 0);
-%If (Qt_2_00 -)
- QHBoxLayout(QLayout * /TransferThis/,int = -1,const char * = 0);
+ TQHBoxLayout(TQWidget * /TransferThis/,int = 0,int = -1,const char * = 0);
+%If (TQt_2_00 -)
+ TQHBoxLayout(TQLayout * /TransferThis/,int = -1,const char * = 0);
%End
- QHBoxLayout(int = -1,const char * = 0);
+ TQHBoxLayout(int = -1,const char * = 0);
private:
-%If (Qt_3_1_0 -)
- QHBoxLayout(const QHBoxLayout &);
+%If (TQt_3_1_0 -)
+ TQHBoxLayout(const TQHBoxLayout &);
%End
};
-class QVBoxLayout : QBoxLayout
+class TQVBoxLayout : TQBoxLayout
{
%TypeHeaderCode
#include <qlayout.h>
%End
public:
- QVBoxLayout(QWidget * /TransferThis/,int = 0,int = -1,const char * = 0);
-%If (Qt_2_00 -)
- QVBoxLayout(QLayout * /TransferThis/,int = -1,const char * = 0);
+ TQVBoxLayout(TQWidget * /TransferThis/,int = 0,int = -1,const char * = 0);
+%If (TQt_2_00 -)
+ TQVBoxLayout(TQLayout * /TransferThis/,int = -1,const char * = 0);
%End
- QVBoxLayout(int = -1,const char * = 0);
+ TQVBoxLayout(int = -1,const char * = 0);
private:
-%If (Qt_3_1_0 -)
- QVBoxLayout(const QVBoxLayout &);
+%If (TQt_3_1_0 -)
+ TQVBoxLayout(const TQVBoxLayout &);
%End
};