summaryrefslogtreecommitdiffstats
path: root/sip/qt/qtabbar.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qtabbar.sip')
-rw-r--r--sip/qt/qtabbar.sip86
1 files changed, 0 insertions, 86 deletions
diff --git a/sip/qt/qtabbar.sip b/sip/qt/qtabbar.sip
index 09850e4..10e886d 100644
--- a/sip/qt/qtabbar.sip
+++ b/sip/qt/qtabbar.sip
@@ -39,8 +39,6 @@ This returns a list of <Literal>TQTab</Literal> instances.
%End
-%If (TQt_3_0_0 -)
-
class TQTab : TQt
{
%TypeHeaderCode
@@ -65,34 +63,6 @@ public:
int identifier() const;
};
-%End
-
-%If (- TQt_3_0_0)
-
-class TQTab
-{
-%TypeHeaderCode
-#include <tqtabbar.h>
-%End
-
-public:
- TQTab();
-%If (TQt_2_1_0 -)
- TQTab(const TQString &);
- TQTab(const TQIconSet &,const TQString & = TQString::null);
-%End
- virtual ~TQTab();
-
- TQString label;
- TQRect r;
- bool enabled;
- int id;
- TQIconSet *iconset;
-};
-
-%End
-
-
class TQTabBar : TQWidget
{
%TypeHeaderCode
@@ -110,115 +80,61 @@ public:
};
Shape shape() const;
-%If (- TQt_2_00)
- void setShape(Shape);
-%End
-%If (TQt_2_00 -)
virtual void setShape(Shape);
-%End
void show();
virtual int addTab(TQTab * /Transfer/);
-%If (TQt_2_00 -)
virtual int insertTab(TQTab * /Transfer/,int = -1);
virtual void removeTab(TQTab *);
-%End
-%If (- TQt_2_00)
- void setTabEnabled(int,bool);
-%End
-%If (TQt_2_00 -)
virtual void setTabEnabled(int,bool);
-%End
bool isTabEnabled(int) const;
TQSize sizeHint() const;
-%If (TQt_2_2_0 -)
TQSize minimumSizeHint() const;
-%End
-%If (TQt_2_00 -)
TQSizePolicy sizePolicy() const;
-%End
int currentTab() const;
int keyboardFocusTab() const;
-%If (- TQt_3_0_0)
- TQTab *tab(int);
-%End
-%If (TQt_3_0_0 -)
TQTab *tab(int) const;
TQTab *tabAt(int) const;
int indexOf(int) const;
-%End
-%If (TQt_2_2_0 -)
int count() const;
-%End
-%If (TQt_2_00 -)
virtual void layoutTabs();
-%End
-%If (TQt_3_0_0 -)
virtual TQTab *selectTab(const TQPoint &) const;
void removeToolTip(int);
void setToolTip(int,const TQString &);
TQString toolTip(int) const;
-%End
public slots:
-%If (- TQt_2_00)
- void setCurrentTab(int);
- void setCurrentTab(TQTab *);
-%End
-%If (TQt_2_00 -)
virtual void setCurrentTab(int);
virtual void setCurrentTab(TQTab *);
-%End
signals:
void selected(int);
-%If (TQt_3_2_0 -)
void layoutChanged();
-%End
protected:
virtual void paint(TQPainter *,TQTab *,bool) const;
-%If (TQt_2_00 -)
virtual void paintLabel(TQPainter *,const TQRect &,TQTab *,bool) const;
-%End
-
-%If (- TQt_3_0_0)
- virtual TQTab *selectTab(const TQPoint &) const;
-%End
-%If (TQt_2_00 - TQt_3_0_0)
- void updateMask();
-%End
-%If (TQt_2_1_0 -)
void focusInEvent(TQFocusEvent *);
void focusOutEvent(TQFocusEvent *);
void resizeEvent(TQResizeEvent *);
-%End
void paintEvent(TQPaintEvent *);
void mousePressEvent(TQMouseEvent *);
-%If (TQt_3_0_0 -)
void mouseMoveEvent(TQMouseEvent *);
-%End
void mouseReleaseEvent(TQMouseEvent *);
void keyPressEvent(TQKeyEvent *);
-%If (TQt_2_1_0 -)
void styleChange(TQStyle &);
-%End
-%If (TQt_3_0_0 -)
void fontChange(const TQFont &);
-%End
-%If (TQt_3_1_0 -)
bool event(TQEvent *);
-%End
SIP_PYLIST tabList() [TQPtrList<TQTab> *()];
%MethodCode
@@ -260,7 +176,5 @@ protected:
%End
private:
-%If (TQt_2_1_0 -)
TQTabBar(const TQTabBar &);
-%End
};