summaryrefslogtreecommitdiffstats
path: root/sip/qt/qmainwindow.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qmainwindow.sip')
-rw-r--r--sip/qt/qmainwindow.sip119
1 files changed, 0 insertions, 119 deletions
diff --git a/sip/qt/qmainwindow.sip b/sip/qt/qmainwindow.sip
index 19535ca..b271b6c 100644
--- a/sip/qt/qmainwindow.sip
+++ b/sip/qt/qmainwindow.sip
@@ -73,12 +73,7 @@ class TQMainWindow : TQWidget
%End
public:
-%If (- TQt_2_00)
- TQMainWindow(TQWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0);
-%End
-%If (TQt_2_00 -)
TQMainWindow(TQWidget * /TransferThis/ = 0,const char * = 0,WFlags = WType_TopLevel);
-%End
TQMenuBar *menuBar() const;
TQStatusBar *statusBar() const;
@@ -86,52 +81,7 @@ public:
virtual void setCentralWidget(TQWidget *);
TQWidget *centralWidget() const;
-%If (- TQt_2_1_0)
- enum ToolBarDock {
- Unmanaged,
- TornOff,
- Top,
- Bottom,
- Right,
- Left
- };
-%End
-%If (TQt_2_1_0 - TQt_3_0_0)
- enum ToolBarDock {
- Unmanaged,
- TornOff,
- Top,
- Bottom,
- Right,
- Left,
- Minimized
- };
-%End
-
-%If (- TQt_2_00)
- void setDockEnabled(ToolBarDock,bool);
- void addToolBar(TQToolBar *,const char *,ToolBarDock = Top,bool = 0);
-%End
-%If (TQt_2_00 - TQt_3_0_0)
- virtual void setDockEnabled(ToolBarDock,bool);
- void addToolBar(TQToolBar *,ToolBarDock = Top,bool = 0);
- void addToolBar(TQToolBar *,const TQString &,ToolBarDock = Top,bool = 0);
- void moveToolBar(TQToolBar *,ToolBarDock = Top);
-%End
-%If (TQt_2_1_0 - TQt_3_0_0)
- void setDockEnabled(TQToolBar *,ToolBarDock,bool);
- bool isDockEnabled(TQToolBar *,ToolBarDock) const;
- void moveToolBar(TQToolBar *,ToolBarDock,bool,int,int = -1);
- bool toolBarsMovable() const;
-%End
-%If (TQt_3_0_0 -)
virtual void setDockEnabled(Dock,bool);
-%End
-%If (- TQt_3_0_0)
- bool isDockEnabled(ToolBarDock) const;
- void removeToolBar(TQToolBar *);
-%End
-%If (TQt_3_0_0 -)
bool isDockEnabled(Dock) const;
bool isDockEnabled(TQDockArea *) const;
virtual void setDockEnabled(TQDockWindow *,Dock,bool);
@@ -144,53 +94,29 @@ public:
virtual void moveDockWindow(TQDockWindow *,Dock = DockTop);
virtual void moveDockWindow(TQDockWindow *,Dock,bool,int,int = -1);
virtual void removeDockWindow(TQDockWindow *);
-%End
void show();
-%If (TQt_3_1_0 -)
void hide();
-%End
-%If (TQt_2_1_0 -)
TQSize sizeHint() const;
TQSize minimumSizeHint() const;
-%End
bool rightJustification() const;
bool usesBigPixmaps() const;
-%If (TQt_2_1_0 -)
bool usesTextLabel() const;
-%End
-%If (TQt_3_0_0 -)
bool dockWindowsMovable() const;
-%End
-%If (TQt_2_1_0 -)
bool opaqueMoving() const;
-%End
bool eventFilter(TQObject *,TQEvent *);
-%If (TQt_3_0_0 -)
bool getLocation(TQDockWindow *,Dock &,int &,bool &,int &) const;
-%End
-%If (TQt_2_1_0 - TQt_3_0_0)
- bool getLocation(TQToolBar *,ToolBarDock &,int &,bool &,int &) const;
-%End
-%If (TQt_2_1_0 - TQt_3_0_0)
- TQPtrList<TQToolBar> toolBars(ToolBarDock) const;
-%End
-%If (TQt_3_0_0 -)
TQPtrList<TQDockWindow> dockWindows(Dock) const;
TQPtrList<TQDockWindow> dockWindows() const;
void lineUpDockWindows(bool = 0);
-%End
-%If (TQt_2_1_0 -)
void lineUpToolBars(bool = 0);
bool isDockMenuEnabled() const;
-%End
-%If (TQt_3_0_0 -)
bool hasDockWindow(TQDockWindow *);
TQPtrList<TQToolBar> toolBars(Dock) const;
@@ -212,79 +138,34 @@ public:
};
TQPopupMenu *createDockWindowMenu(DockWindows = AllDockWindows) const;
-%End
public slots:
-%If (- TQt_2_00)
- void setRightJustification(bool);
- void setUsesBigPixmaps(bool);
-%End
-%If (TQt_2_00 -)
virtual void setRightJustification(bool);
virtual void setUsesBigPixmaps(bool);
-%End
-%If (TQt_2_1_0 - TQt_3_0_0)
- void setUsesTextLabel(bool);
- void setToolBarsMovable(bool);
- void setOpaqueMoving(bool);
- void setDockMenuEnabled(bool);
-%End
-%If (TQt_3_0_0 -)
virtual void setUsesTextLabel(bool);
virtual void setDockWindowsMovable(bool);
virtual void setOpaqueMoving(bool);
virtual void setDockMenuEnabled(bool);
-%End
-%If (TQt_2_00 - TQt_3_0_0)
- void whatsThis();
-%End
-%If (TQt_3_0_0 -)
virtual void whatsThis();
virtual void setAppropriate(TQDockWindow *,bool);
virtual void customize();
-%End
signals:
void pixmapSizeChanged(bool);
-%If (TQt_2_1_0 -)
void usesTextLabelChanged(bool);
-%End
-%If (TQt_2_1_0 - TQt_3_0_0)
- void startMovingToolBar(TQToolBar *);
- void endMovingToolBar(TQToolBar *);
- void toolBarPositionChanged(TQToolBar *);
-%End
-%If (TQt_3_0_0 -)
void dockWindowPositionChanged(TQDockWindow *);
-%End
protected slots:
-%If (- TQt_2_00)
- void setUpLayout();
-%End
-%If (TQt_2_00 -)
virtual void setUpLayout();
-%End
-%If (TQt_3_0_0 -)
virtual bool showDockMenu(const TQPoint &);
void menuAboutToShow();
-%End
protected:
void paintEvent(TQPaintEvent *);
-%If (TQt_2_00 -)
void childEvent(TQChildEvent *);
-%End
bool event(TQEvent *);
-%If (TQt_2_00 - TQt_3_0_0)
- void resizeEvent(TQResizeEvent *);
-%End
-%If (TQt_2_00 -)
void styleChange(TQStyle &);
-%End
private:
-%If (TQt_2_00 -)
TQMainWindow(const TQMainWindow &);
-%End
};