diff options
Diffstat (limited to 'sip/qt/qwidget.sip')
-rw-r--r-- | sip/qt/qwidget.sip | 442 |
1 files changed, 221 insertions, 221 deletions
diff --git a/sip/qt/qwidget.sip b/sip/qt/qwidget.sip index 72b4304..c6da89c 100644 --- a/sip/qt/qwidget.sip +++ b/sip/qt/qwidget.sip @@ -1,29 +1,29 @@ -// This is the SIP interface definition for QWidget. +// This is the SIP interface definition for TQWidget. // // 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>QWidget</Title> +<Sect2><Title>TQWidget</Title> <FuncSynopsis> - <FuncDef>QWExtra *<Function>extraData</Function></FuncDef> + <FuncDef>TQWExtra *<Function>extraData</Function></FuncDef> <ParamDef></ParamDef> </FuncSynopsis> <Para> @@ -31,7 +31,7 @@ Not implemented. </Para> <FuncSynopsis> - <FuncDef>QFocusData *<Function>focusData</Function></FuncDef> + <FuncDef>TQFocusData *<Function>focusData</Function></FuncDef> <ParamDef></ParamDef> </FuncSynopsis> <Para> @@ -57,109 +57,109 @@ This has been renamed to <Literal>raiseW</Literal> in Python. %End -class QWidget : QObject, QPaintDevice +class TQWidget : TQObject, TQPaintDevice { %TypeHeaderCode #include <qwidget.h> %End public: - QWidget(QWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0); + TQWidget(TQWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0); WId winId() const; bool isTopLevel() const; -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) bool isDialog() const; %End bool isPopup() const; bool isDesktop() const; bool isModal() const; bool isEnabled() const; - bool isEnabledTo(QWidget *) const; + bool isEnabledTo(TQWidget *) const; bool isEnabledToTLW() const; - const QRect &geometry() const; + const TQRect &geometry() const; int x() const; int y() const; - QPoint pos() const; - QSize size() const; + TQPoint pos() const; + TQSize size() const; int width() const; int height() const; - QRect rect() const; - QRect childrenRect() const; - QSize minimumSize() const; - QSize maximumSize() const; - void setMinimumSize(const QSize &); - void setMaximumSize(const QSize &); + TQRect rect() const; + TQRect childrenRect() const; + TQSize minimumSize() const; + TQSize maximumSize() const; + void setMinimumSize(const TQSize &); + void setMaximumSize(const TQSize &); void setMinimumWidth(int); void setMinimumHeight(int); void setMaximumWidth(int); void setMaximumHeight(int); - QSize sizeIncrement() const; - void setSizeIncrement(const QSize &); - void setFixedSize(const QSize &); + TQSize sizeIncrement() const; + void setSizeIncrement(const TQSize &); + void setFixedSize(const TQSize &); void setFixedSize(int,int); void setFixedWidth(int); void setFixedHeight(int); - QPoint mapToGlobal(const QPoint &) const; - QPoint mapFromGlobal(const QPoint &) const; - QPoint mapToParent(const QPoint &) const; - QPoint mapFromParent(const QPoint &) const; -%If (Qt_2_2_0 -) - QPoint mapTo(QWidget *,const QPoint &) const; - QPoint mapFrom(QWidget *,const QPoint &) const; + TQPoint mapToGlobal(const TQPoint &) const; + TQPoint mapFromGlobal(const TQPoint &) const; + TQPoint mapToParent(const TQPoint &) const; + TQPoint mapFromParent(const TQPoint &) const; +%If (TQt_2_2_0 -) + TQPoint mapTo(TQWidget *,const TQPoint &) const; + TQPoint mapFrom(TQWidget *,const TQPoint &) const; %End - QWidget *topLevelWidget() const; + TQWidget *topLevelWidget() const; BackgroundMode backgroundMode() const; -%If (- Qt_3_0_0) - const QColor &backgroundColor() const; - virtual void setBackgroundColor(const QColor &); - const QPixmap *backgroundPixmap(); - virtual void setBackgroundPixmap(const QPixmap &); +%If (- TQt_3_0_0) + const TQColor &backgroundColor() const; + virtual void setBackgroundColor(const TQColor &); + const TQPixmap *backgroundPixmap(); + virtual void setBackgroundPixmap(const TQPixmap &); %End - const QColor &foregroundColor() const; + const TQColor &foregroundColor() const; -%If (Qt_3_0_0 -) - const QColor &eraseColor() const; - virtual void setEraseColor(const QColor &); +%If (TQt_3_0_0 -) + const TQColor &eraseColor() const; + virtual void setEraseColor(const TQColor &); - const QPixmap *erasePixmap() const; - virtual void setErasePixmap(const QPixmap &); + const TQPixmap *erasePixmap() const; + virtual void setErasePixmap(const TQPixmap &); %End - const QColorGroup &colorGroup() const; - const QPalette &palette() const; -%If (Qt_2_2_0 -) + const TQColorGroup &colorGroup() const; + const TQPalette &palette() const; +%If (TQt_2_2_0 -) bool ownPalette() const; %End - virtual void setPalette(const QPalette &); -%If (Qt_2_1_0 -) + virtual void setPalette(const TQPalette &); +%If (TQt_2_1_0 -) void unsetPalette(); %End -%If (Qt_3_0_0 -) - const QColor &paletteForegroundColor() const; - void setPaletteForegroundColor(const QColor &); +%If (TQt_3_0_0 -) + const TQColor &paletteForegroundColor() const; + void setPaletteForegroundColor(const TQColor &); - const QColor &paletteBackgroundColor() const; - virtual void setPaletteBackgroundColor(const QColor &); + const TQColor &paletteBackgroundColor() const; + virtual void setPaletteBackgroundColor(const TQColor &); - const QPixmap *paletteBackgroundPixmap() const; - virtual void setPaletteBackgroundPixmap(const QPixmap &); + const TQPixmap *paletteBackgroundPixmap() const; + virtual void setPaletteBackgroundPixmap(const TQPixmap &); - const QBrush &backgroundBrush() const; + const TQBrush &backgroundBrush() const; %End -%If (Qt_2_2_0 -) +%If (TQt_2_2_0 -) bool ownFont() const; %End - virtual void setFont(const QFont &); - QFontMetrics fontMetrics() const; - QFontInfo fontInfo() const; + virtual void setFont(const TQFont &); + TQFontMetrics fontMetrics() const; + TQFontInfo fontInfo() const; -%If (- Qt_3_0_0) +%If (- TQt_3_0_0) enum PropagationMode { NoChildren, @@ -172,14 +172,14 @@ public: PropagationMode palettePropagation() const; %End - const QCursor &cursor() const; -%If (Qt_2_2_0 -) + const TQCursor &cursor() const; +%If (TQt_2_2_0 -) bool ownCursor() const; %End - virtual void setCursor(const QCursor &); - const QPixmap *icon() const; + virtual void setCursor(const TQCursor &); + const TQPixmap *icon() const; bool hasMouseTracking() const; -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) bool hasMouse() const; %End @@ -188,60 +188,60 @@ public: bool isFocusEnabled() const; FocusPolicy focusPolicy() const; bool hasFocus() const; - static void setTabOrder(QWidget *,QWidget *); - QWidget *focusProxy() const; + static void setTabOrder(TQWidget *,TQWidget *); + TQWidget *focusProxy() const; -%If (Qt_3_2_0 -) +%If (TQt_3_2_0 -) void setInputMethodEnabled(bool); bool isInputMethodEnabled() const; %End void grabMouse(); - void grabMouse(const QCursor &); + void grabMouse(const TQCursor &); void releaseMouse(); void grabKeyboard(); void releaseKeyboard(); - static QWidget *mouseGrabber(); - static QWidget *keyboardGrabber(); + static TQWidget *mouseGrabber(); + static TQWidget *keyboardGrabber(); bool isUpdatesEnabled() const; bool isVisible() const; - bool isVisibleTo(QWidget *) const; + bool isVisibleTo(TQWidget *) const; bool isVisibleToTLW() const; - virtual QSize sizeHint() const; -%If (- Qt_3_1_0) + virtual TQSize sizeHint() const; +%If (- TQt_3_1_0) virtual void adjustSize(); %End void erase(); void erase(int,int,int,int); - void erase(const QRect &); + void erase(const TQRect &); void scroll(int,int); - QWidget *focusWidget() const; + TQWidget *focusWidget() const; bool acceptDrops() const; -%If (- Qt_3_0_0) - QWidget *parentWidget() const; +%If (- TQt_3_0_0) + TQWidget *parentWidget() const; bool testWFlags(WFlags) const; %End -%If (Qt_3_0_0 -) - QWidget *parentWidget(bool = 0) const; +%If (TQt_3_0_0 -) + TQWidget *parentWidget(bool = 0) const; WState testWState(WState) const; WFlags testWFlags(WFlags) const; %End - static QWidget *find(WId); + static TQWidget *find(WId); -%If (Qt_3_0_0 -) - QWidget *childAt(int,int,bool = 0) const; - QWidget *childAt(const QPoint &,bool = 0) const; +%If (TQt_3_0_0 -) + TQWidget *childAt(int,int,bool = 0) const; + TQWidget *childAt(const TQPoint &,bool = 0) const; %End -%If (Qt_3_3_0 -) +%If (TQt_3_3_0 -) void setWindowOpacity(double); double windowOpacity() const; %End -%If (- Qt_2_00) +%If (- TQt_2_00) GUIStyle style() const; virtual void setStyle(GUIStyle); - const QRect &frameGeometry() const; + const TQRect &frameGeometry() const; void setMinimumSize(int,int); void setMaximumSize(int,int); void setSizeIncrement(int,int); @@ -262,13 +262,13 @@ public: }; void setBackgroundMode(BackgroundMode); - const QFont &font() const; + const TQFont &font() const; void setFontPropagation(PropagationMode); void setPalettePropagation(PropagationMode); const char *caption() const; const char *iconText() const; - void setMask(QBitmap); - void setMask(const QRegion &); + void setMask(TQBitmap); + void setMask(const TQRegion &); enum FocusPolicy { @@ -282,24 +282,24 @@ public: void setFocusPolicy(FocusPolicy); void setFocus(); void clearFocus(); - void setFocusProxy(QWidget *); + void setFocusProxy(TQWidget *); virtual bool close(bool = 0); - void recreate(QWidget *,WFlags,const QPoint &,bool = 0); + void recreate(TQWidget *,WFlags,const TQPoint &,bool = 0); void drawText(int,int,const char *); - void drawText(const QPoint &,const char *); + void drawText(const TQPoint &,const char *); void setAcceptDrops(bool); %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) void setName(const char *); - QStyle &style() const; - void setStyle(QStyle *); -%If (Qt_3_0_0 -) - QStyle *setStyle(const QString &); -%End - QRect frameGeometry() const; - QSize frameSize() const; - QRegion childrenRegion() const; + TQStyle &style() const; + void setStyle(TQStyle *); +%If (TQt_3_0_0 -) + TQStyle *setStyle(const TQString &); +%End + TQRect frameGeometry() const; + TQSize frameSize() const; + TQRegion childrenRegion() const; int minimumWidth() const; int minimumHeight() const; int maximumWidth() const; @@ -307,11 +307,11 @@ public: virtual void setMinimumSize(int,int); virtual void setMaximumSize(int,int); virtual void setSizeIncrement(int,int); - QSize baseSize() const; - void setBaseSize(const QSize &); + TQSize baseSize() const; + void setBaseSize(const TQSize &); void setBaseSize(int,int); -%If (- Qt_2_2_0) +%If (- TQt_2_2_0) enum BackgroundMode { FixedColor, @@ -332,7 +332,7 @@ public: PaletteHighlightedText }; %End -%If (Qt_2_2_0 - Qt_3_0_0) +%If (TQt_2_2_0 - TQt_3_0_0) enum BackgroundMode { FixedColor, @@ -357,21 +357,21 @@ public: %End virtual void setBackgroundMode(BackgroundMode); -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) void setBackgroundMode(BackgroundMode,BackgroundMode); %End - QFont font() const; -%If (- Qt_3_0_0) - void setPalette(const QPalette &,bool); - void setFont(const QFont &,bool); + TQFont font() const; +%If (- TQt_3_0_0) + void setPalette(const TQPalette &,bool); + void setFont(const TQFont &,bool); virtual void setFontPropagation(PropagationMode); virtual void setPalettePropagation(PropagationMode); %End virtual void unsetCursor(); - QString caption() const; - QString iconText() const; - virtual void setMask(const QBitmap &); - virtual void setMask(const QRegion &); + TQString caption() const; + TQString iconText() const; + virtual void setMask(const TQBitmap &); + virtual void setMask(const TQRegion &); enum FocusPolicy { @@ -384,47 +384,47 @@ public: virtual void setActiveWindow(); virtual void setFocusPolicy(FocusPolicy); - virtual void setFocusProxy(QWidget *); + virtual void setFocusProxy(TQWidget *); virtual bool close(bool); // Obsolete. - QRect visibleRect() const; + TQRect visibleRect() const; bool isMinimized() const; - virtual QSize minimumSizeHint() const; - virtual QSizePolicy sizePolicy() const; -%If (Qt_2_2_0 -) + virtual TQSize minimumSizeHint() const; + virtual TQSizePolicy sizePolicy() const; +%If (TQt_2_2_0 -) bool isHidden() const; bool isMaximized() const; %End -%If (Qt_3_1_0 -) +%If (TQt_3_1_0 -) bool isShown() const; bool isFullScreen() const; %End -%If (Qt_3_3_0 -) +%If (TQt_3_3_0 -) uint windowState() const; void setWindowState(uint); %End -%If (Qt_3_0_0 -) - virtual void setSizePolicy(QSizePolicy); +%If (TQt_3_0_0 -) + virtual void setSizePolicy(TQSizePolicy); %End -%If (Qt_3_1_0 -) - void setSizePolicy(QSizePolicy::SizeType,QSizePolicy::SizeType, +%If (TQt_3_1_0 -) + void setSizePolicy(TQSizePolicy::SizeType,TQSizePolicy::SizeType, bool = 0); %End -%If (Qt_2_2_0 - Qt_3_0_0) - void setSizePolicy(QSizePolicy); +%If (TQt_2_2_0 - TQt_3_0_0) + void setSizePolicy(TQSizePolicy); %End virtual int heightForWidth(int) const; -%If (Qt_3_2_0 -) - QRegion clipRegion() const; +%If (TQt_3_2_0 -) + TQRegion clipRegion() const; %End - QLayout *layout() const; + TQLayout *layout() const; void updateGeometry(); - virtual void reparent(QWidget * /GetWrapper/,WFlags,const QPoint &, + virtual void reparent(TQWidget * /GetWrapper/,WFlags,const TQPoint &, bool = 0); %MethodCode if (sipCpp -> parent() != a0) @@ -436,12 +436,12 @@ public: } Py_BEGIN_ALLOW_THREADS - sipSelfWasArg ? sipCpp->QWidget::reparent(a0, a1, *a2, a3) : sipCpp->reparent(a0, a1, *a2, a3); + sipSelfWasArg ? sipCpp->TQWidget::reparent(a0, a1, *a2, a3) : sipCpp->reparent(a0, a1, *a2, a3); Py_END_ALLOW_THREADS %End -%If (Qt_2_1_0 -) - void reparent(QWidget * /GetWrapper/,const QPoint &,bool = 0); +%If (TQt_2_1_0 -) + void reparent(TQWidget * /GetWrapper/,const TQPoint &,bool = 0); %MethodCode if (sipCpp -> parent() != a0) { @@ -457,188 +457,188 @@ public: %End %End - void erase(const QRegion &); - void scroll(int,int,const QRect &); - void drawText(int,int,const QString &); - void drawText(const QPoint &,const QString &); + void erase(const TQRegion &); + void scroll(int,int,const TQRect &); + void drawText(int,int,const TQString &); + void drawText(const TQPoint &,const TQString &); virtual void setAcceptDrops(bool); virtual void setAutoMask(bool); bool autoMask() const; virtual bool customWhatsThis() const; -%If (- Qt_3_0_0) +%If (- TQt_3_0_0) bool testWState(uint) const; %End %End -%If (Qt_2_1_0 -) - QRect microFocusHint() const; +%If (TQt_2_1_0 -) + TQRect microFocusHint() const; void unsetFont(); %End -%If (Qt_2_1_0 -) +%If (TQt_2_1_0 -) enum BackgroundOrigin { WidgetOrigin, ParentOrigin, -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) WindowOrigin, %End -%If (Qt_3_1_0 -) +%If (TQt_3_1_0 -) AncestorOrigin, %End }; %End -%If (Qt_2_1_0 - Qt_3_0_0) +%If (TQt_2_1_0 - TQt_3_0_0) void setBackgroundOrigin(BackgroundOrigin); %End -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) virtual void setBackgroundOrigin(BackgroundOrigin); %End -%If (Qt_2_1_0 -) +%If (TQt_2_1_0 -) BackgroundOrigin backgroundOrigin() const; %End -%If (Qt_3_1_0 -) - QPoint backgroundOffset() const; +%If (TQt_3_1_0 -) + TQPoint backgroundOffset() const; %End public slots: -%If (Qt_3_1_0 -) +%If (TQt_3_1_0 -) virtual void adjustSize(); %End virtual void setEnabled(bool); -%If (Qt_2_2_0 -) +%If (TQt_2_2_0 -) void setDisabled(bool); %End void update(); void update(int,int,int,int); - void update(const QRect &); + void update(const TQRect &); void repaint(int,int,int,int,bool = 1); - void repaint(const QRect &,bool = 1); + void repaint(const TQRect &,bool = 1); virtual void show(); virtual void hide(); -%If (Qt_3_1_0 -) +%If (TQt_3_1_0 -) void setShown(bool); void setHidden(bool); %End void raise() /PyName=raiseW/; void lower() /PyName=lowerW/; virtual void move(int,int); - void move(const QPoint &); + void move(const TQPoint &); virtual void resize(int,int); - void resize(const QSize &); + void resize(const TQSize &); virtual void setGeometry(int,int,int,int); -%If (- Qt_2_00) +%If (- TQt_2_00) void setCaption(const char *); - void setIcon(const QPixmap &); + void setIcon(const TQPixmap &); void setIconText(const char *); void setMouseTracking(bool); void setUpdatesEnabled(bool); void repaint(bool = 1); void iconify(); - void setGeometry(const QRect &); + void setGeometry(const TQRect &); %End -%If (Qt_2_00 -) - virtual void setCaption(const QString &); - virtual void setIcon(const QPixmap &); - virtual void setIconText(const QString &); +%If (TQt_2_00 -) + virtual void setCaption(const TQString &); + virtual void setIcon(const TQPixmap &); + virtual void setIconText(const TQString &); virtual void setMouseTracking(bool); virtual void setFocus(); void clearFocus(); virtual void setUpdatesEnabled(bool); void repaint(); void repaint(bool); - void repaint(const QRegion &,bool = 1); + void repaint(const TQRegion &,bool = 1); virtual void showMinimized(); virtual void showMaximized(); virtual void showNormal(); virtual void polish(); bool close(); - virtual void setGeometry(const QRect &); + virtual void setGeometry(const TQRect &); %End -%If (Qt_2_1_0 -) +%If (TQt_2_1_0 -) void showFullScreen(); void constPolish() const; %End -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) // This was added before v3 but I can't be bothered to work out exactly // when. - void stackUnder(QWidget *); + void stackUnder(TQWidget *); %End protected: - bool event(QEvent *); - virtual void mousePressEvent(QMouseEvent *); - virtual void mouseReleaseEvent(QMouseEvent *); - virtual void mouseDoubleClickEvent(QMouseEvent *); - virtual void mouseMoveEvent(QMouseEvent *); - virtual void keyPressEvent(QKeyEvent *); - virtual void keyReleaseEvent(QKeyEvent *); - virtual void focusInEvent(QFocusEvent *); - virtual void focusOutEvent(QFocusEvent *); - virtual void enterEvent(QEvent *); - virtual void leaveEvent(QEvent *); - virtual void paintEvent(QPaintEvent *); - virtual void moveEvent(QMoveEvent *); - virtual void resizeEvent(QResizeEvent *); - virtual void closeEvent(QCloseEvent *); -%If (Qt_3_0_0 -) - virtual void contextMenuEvent(QContextMenuEvent *); - virtual void imStartEvent(QIMEvent *); - virtual void imComposeEvent(QIMEvent *); - virtual void imEndEvent(QIMEvent *); - virtual void tabletEvent(QTabletEvent *); + bool event(TQEvent *); + virtual void mousePressEvent(TQMouseEvent *); + virtual void mouseReleaseEvent(TQMouseEvent *); + virtual void mouseDoubleClickEvent(TQMouseEvent *); + virtual void mouseMoveEvent(TQMouseEvent *); + virtual void keyPressEvent(TQKeyEvent *); + virtual void keyReleaseEvent(TQKeyEvent *); + virtual void focusInEvent(TQFocusEvent *); + virtual void focusOutEvent(TQFocusEvent *); + virtual void enterEvent(TQEvent *); + virtual void leaveEvent(TQEvent *); + virtual void paintEvent(TQPaintEvent *); + virtual void moveEvent(TQMoveEvent *); + virtual void resizeEvent(TQResizeEvent *); + virtual void closeEvent(TQCloseEvent *); +%If (TQt_3_0_0 -) + virtual void contextMenuEvent(TQContextMenuEvent *); + virtual void imStartEvent(TQIMEvent *); + virtual void imComposeEvent(TQIMEvent *); + virtual void imEndEvent(TQIMEvent *); + virtual void tabletEvent(TQTabletEvent *); %End virtual void enabledChange(bool); -%If (- Qt_3_0_0) - virtual void backgroundColorChange(const QColor &); - virtual void backgroundPixmapChange(const QPixmap &); +%If (- TQt_3_0_0) + virtual void backgroundColorChange(const TQColor &); + virtual void backgroundPixmapChange(const TQPixmap &); %End - virtual void paletteChange(const QPalette &); - virtual void fontChange(const QFont &); -%If (Qt_3_0_0 -) + virtual void paletteChange(const TQPalette &); + virtual void fontChange(const TQFont &); +%If (TQt_3_0_0 -) virtual void windowActivationChange(bool); void resetInputContext(); %End WFlags getWFlags() const; void clearWFlags(WFlags); virtual bool focusNextPrevChild(bool); -// QWExtra *extraData(); -// QFocusData *focusData(); +// TQWExtra *extraData(); +// TQFocusData *focusData(); -%If (- Qt_2_00) +%If (- TQt_2_00) virtual void styleChange(GUIStyle); void create(WId); void create(WId,bool,bool); void destroy(bool,bool); void setWFlags(WFlags); - void setFRect(const QRect &); - void setCRect(const QRect &); + void setFRect(const TQRect &); + void setCRect(const TQRect &); void setSizeGrip(bool); %End -%If (Qt_2_00 -) - virtual void wheelEvent(QWheelEvent *); -%If (Qt_DRAGANDDROP) - virtual void dragEnterEvent(QDragEnterEvent *); - virtual void dragMoveEvent(QDragMoveEvent *); - virtual void dragLeaveEvent(QDragLeaveEvent *); - virtual void dropEvent(QDropEvent *); +%If (TQt_2_00 -) + virtual void wheelEvent(TQWheelEvent *); +%If (TQt_DRAGANDDROP) + virtual void dragEnterEvent(TQDragEnterEvent *); + virtual void dragMoveEvent(TQDragMoveEvent *); + virtual void dragLeaveEvent(TQDragLeaveEvent *); + virtual void dropEvent(TQDropEvent *); %End - virtual void showEvent(QShowEvent *); - virtual void hideEvent(QHideEvent *); -%If (- Qt_3_0_0) - virtual void customEvent(QCustomEvent *); + virtual void showEvent(TQShowEvent *); + virtual void hideEvent(TQHideEvent *); +%If (- TQt_3_0_0) + virtual void customEvent(TQCustomEvent *); %End virtual void updateMask(); - virtual void styleChange(QStyle &); + virtual void styleChange(TQStyle &); int metric(int) const; virtual void create(WId = 0,bool = 1,bool = 1); virtual void destroy(bool = 1,bool = 1); @@ -646,19 +646,19 @@ protected: virtual void setWState(uint); void clearWState(uint); virtual void setWFlags(WFlags); -%If (- Qt_3_0_0) - virtual void setFRect(const QRect &); - virtual void setCRect(const QRect &); +%If (- TQt_3_0_0) + virtual void setFRect(const TQRect &); + virtual void setCRect(const TQRect &); %End virtual void setKeyCompression(bool); -%If (- Qt_3_0_0) +%If (- TQt_3_0_0) virtual void setMicroFocusHint(int,int,int,int,bool = 1); %End -%If (Qt_3_0_0 -) - virtual void setMicroFocusHint(int,int,int,int,bool = 1,QFont * = 0); +%If (TQt_3_0_0 -) + virtual void setMicroFocusHint(int,int,int,int,bool = 1,TQFont * = 0); %End %End private: - QWidget(const QWidget &); + TQWidget(const TQWidget &); }; |