summaryrefslogtreecommitdiffstats
path: root/sip/qt/qlayout.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qlayout.sip')
-rw-r--r--sip/qt/qlayout.sip139
1 files changed, 0 insertions, 139 deletions
diff --git a/sip/qt/qlayout.sip b/sip/qt/qlayout.sip
index 46db606..82b86f2 100644
--- a/sip/qt/qlayout.sip
+++ b/sip/qt/qlayout.sip
@@ -98,46 +98,6 @@ This is a wrapper around the <Literal>TQLayoutIterator</Literal>
%End
-%If (- TQt_2_00)
-
-class TQLayout : TQObject
-{
-%TypeHeaderCode
-#include <tqlayout.h>
-%End
-
-public:
- enum
- {
- unlimited = TQCOORD_MAX
- };
-
- int defaultBorder() const;
- virtual bool activate();
- void freeze(int,int);
- void freeze();
- void setMenuBar(TQMenuBar *);
- TQWidget *mainWidget();
-
-protected:
- TQLayout(TQWidget * /TransferThis/,int,int,const char *);
- TQLayout(int = -1,const char * = 0);
-
- TQGManager *basicManager();
- virtual TQChain *mainVerticalChain() = 0;
- virtual TQChain *mainHorizontalChain() = 0;
- virtual void initGM() = 0;
- void addChildLayout(TQLayout *);
-
-private:
- TQLayout(const TQLayout &);
-};
-
-%End
-
-
-%If (TQt_2_00 -)
-
class TQGLayoutIterator
{
%TypeHeaderCode
@@ -272,9 +232,7 @@ public:
FreeResize,
Minimum,
Fixed,
-%If (TQt_3_1_0 -)
Auto
-%End
};
TQLayout(TQWidget * /TransferThis/,int = 0,int = -1,const char * = 0);
@@ -287,17 +245,9 @@ public:
virtual void setMargin(int);
virtual void setSpacing(int);
-%If (- TQt_3_1_0)
- enum {
- unlimited
- };
-%End
-
-%If (TQt_3_0_0 -)
int defaultBorder() const;
void freeze(int,int);
void freeze();
-%End
void setResizeMode(ResizeMode);
ResizeMode resizeMode() const;
@@ -311,19 +261,15 @@ public:
virtual void setAutoAdd(bool);
bool autoAdd() const;
-%If (TQt_2_1_0 -)
void invalidate();
-%End
TQRect geometry() const;
bool activate();
void add(TQWidget *);
virtual void addItem(TQLayoutItem * /Transfer/) = 0;
-%If (TQt_3_1_0 -)
void remove(TQWidget *);
void removeItem(TQLayoutItem * /TransferBack/);
-%End
TQSizePolicy::ExpandData expanding() const;
TQSize minimumSize() const;
@@ -338,34 +284,24 @@ public:
TQSize totalSizeHint() const;
TQLayout *layout();
-%If (TQt_2_1_0 -)
bool supportsMargin() const;
-%End
-%If (TQt_2_2_0 -)
void setEnabled(bool);
bool isEnabled() const;
-%End
protected:
bool eventFilter(TQObject *,TQEvent *);
-%If (TQt_3_0_0 -)
void childEvent(TQChildEvent *);
-%End
void addChildLayout(TQLayout *);
void deleteAllItems();
-%If (TQt_2_1_0 -)
void setSupportsMargin(bool);
TQRect alignmentRect(const TQRect &) const;
-%End
private:
TQLayout(const TQLayout &);
};
-%End
-
class TQGridLayout : TQLayout
{
@@ -374,81 +310,47 @@ class TQGridLayout : TQLayout
%End
public:
-%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 (TQt_2_00 - TQt_2_1_0)
- TQGridLayout(TQLayout * /TransferThis/,int,int,int = -1,const char * = 0);
-%End
-%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 (TQt_2_00 -)
TQSize sizeHint() const;
TQSize minimumSize() const;
TQSize maximumSize() const;
-%End
-%If (- TQt_2_00)
- void setRowStretch(int,int);
- void setColStretch(int,int);
-%End
-%If (TQt_2_00 -)
virtual void setRowStretch(int,int);
virtual void setColStretch(int,int);
-%End
-%If (TQt_2_1_0 -)
int rowStretch(int) const;
int colStretch(int) const;
-%End
-%If (TQt_3_2_0 -)
void setRowSpacing(int,int);
void setColSpacing(int,int);
int rowSpacing(int) const;
int colSpacing(int) const;
-%End
int numRows() const;
int numCols() const;
-%If (TQt_2_1_0 -)
TQRect cellGeometry(int,int) const;
-%End
-%If (TQt_2_00 -)
bool hasHeightForWidth() const;
int heightForWidth(int) const;
-%If (TQt_3_1_0 -)
int minimumHeightForWidth(int) const;
-%End
TQSizePolicy::ExpandData expanding() const;
void invalidate();
void addItem(TQLayoutItem * /Transfer/);
-%End
-%If (TQt_2_1_0 -)
void addItem(TQLayoutItem * /Transfer/,int,int);
-%End
-%If (TQt_2_00 -)
void addMultiCell(TQLayoutItem * /Transfer/,int,int,int,int,int = 0);
-%End
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 (TQt_2_00 -)
enum Corner {
TopLeft,
TopRight,
@@ -457,26 +359,13 @@ public:
};
void setOrigin(Corner);
-%End
-%If (TQt_3_0_0 -)
Corner origin() const;
-%End
-%If (TQt_2_00 -)
TQLayoutIterator iterator();
void setGeometry(const TQRect &);
-%End
protected:
-%If (- TQt_2_00)
- TQChain *mainVerticalChain();
- TQChain *mainHorizontalChain();
- void initGM();
-%End
-
-%If (TQt_2_00 -)
bool findWidget(TQWidget *,int *,int *);
void add(TQLayoutItem * /Transfer/,int,int);
-%End
private:
TQGridLayout(const TQGridLayout &);
@@ -500,57 +389,37 @@ public:
};
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
TQBoxLayout(Direction,int = -1,const char * = 0);
Direction direction() const;
-%If (TQt_2_1_0 -)
void setDirection(Direction);
-%End
void addSpacing(int);
void addStretch(int = 0);
-%If (- TQt_2_00)
- void addWidget(TQWidget *,int = 0,int = AlignCenter);
-%End
void addLayout(TQLayout * /Transfer/,int = 0);
void addStrut(int);
-%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,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 (TQt_3_1_0 -)
int minimumHeightForWidth(int) const;
-%End
TQSizePolicy::ExpandData expanding() const;
void invalidate();
TQLayoutIterator iterator();
void setGeometry(const TQRect &);
-%End
protected:
-%If (- TQt_2_00)
- TQChain *mainVerticalChain();
- TQChain *mainHorizontalChain();
- void initGM();
-%End
-%If (TQt_2_1_0 -)
void insertItem(int,TQLayoutItem * /Transfer/);
-%End
private:
TQBoxLayout(const TQBoxLayout &);
@@ -565,15 +434,11 @@ class TQHBoxLayout : TQBoxLayout
public:
TQHBoxLayout(TQWidget * /TransferThis/,int = 0,int = -1,const char * = 0);
-%If (TQt_2_00 -)
TQHBoxLayout(TQLayout * /TransferThis/,int = -1,const char * = 0);
-%End
TQHBoxLayout(int = -1,const char * = 0);
private:
-%If (TQt_3_1_0 -)
TQHBoxLayout(const TQHBoxLayout &);
-%End
};
@@ -585,13 +450,9 @@ class TQVBoxLayout : TQBoxLayout
public:
TQVBoxLayout(TQWidget * /TransferThis/,int = 0,int = -1,const char * = 0);
-%If (TQt_2_00 -)
TQVBoxLayout(TQLayout * /TransferThis/,int = -1,const char * = 0);
-%End
TQVBoxLayout(int = -1,const char * = 0);
private:
-%If (TQt_3_1_0 -)
TQVBoxLayout(const TQVBoxLayout &);
-%End
};