summaryrefslogtreecommitdiffstats
path: root/sip/qt/qframe.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qframe.sip')
-rw-r--r--sip/qt/qframe.sip100
1 files changed, 50 insertions, 50 deletions
diff --git a/sip/qt/qframe.sip b/sip/qt/qframe.sip
index 9e2a4e2..1bc9308 100644
--- a/sip/qt/qframe.sip
+++ b/sip/qt/qframe.sip
@@ -1,70 +1,70 @@
-// This is the SIP interface definition for QFrame.
+// This is the SIP interface definition for TQFrame.
//
// 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>QFrame</Title>
+<Sect2><Title>TQFrame</Title>
<Para>
-<Literal>QFrame</Literal> is fully implemented.
+<Literal>TQFrame</Literal> is fully implemented.
</Para>
</Sect2>
%End
-class QFrame : QWidget
+class TQFrame : TQWidget
{
%TypeHeaderCode
#include <qframe.h>
%End
public:
-%If (- Qt_3_0_0)
- QFrame(QWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0,
+%If (- TQt_3_0_0)
+ TQFrame(TQWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0,
bool = 1);
%End
-%If (Qt_3_0_0 -)
- QFrame(QWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0);
+%If (TQt_3_0_0 -)
+ TQFrame(TQWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0);
%End
int frameStyle() const;
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setFrameStyle(int);
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
virtual void setFrameStyle(int);
%End
int frameWidth() const;
- QRect contentsRect() const;
+ TQRect contentsRect() const;
-%If (- Qt_2_00)
+%If (- TQt_2_00)
bool lineShapesOk() const;
%End
- QSize sizeHint() const;
-%If (Qt_2_00 - Qt_3_0_0)
- QSizePolicy sizePolicy() const;
+ TQSize sizeHint() const;
+%If (TQt_2_00 - TQt_3_0_0)
+ TQSizePolicy sizePolicy() const;
%End
-%If (- Qt_2_00)
+%If (- TQt_2_00)
enum {
NoFrame,
Box,
@@ -79,7 +79,7 @@ public:
MShadow
};
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
enum Shape {
NoFrame,
Box,
@@ -89,22 +89,22 @@ public:
VLine,
StyledPanel,
PopupPanel,
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
MenuBarPanel,
ToolBarPanel,
%End
-%If (Qt_3_0_1 -)
+%If (TQt_3_0_1 -)
LineEditPanel,
TabWidgetPanel,
%End
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
GroupBoxPanel,
%End
MShape
};
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
enum Shadow {
Plain,
Raised,
@@ -113,68 +113,68 @@ public:
};
%End
-%If (- Qt_2_00)
+%If (- TQt_2_00)
int frameShape() const;
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
Shape frameShape() const;
void setFrameShape(Shape);
%End
-%If (- Qt_2_00)
+%If (- TQt_2_00)
int frameShadow() const;
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
Shadow frameShadow() const;
void setFrameShadow(Shadow);
%End
int lineWidth() const;
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setLineWidth(int);
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
virtual void setLineWidth(int);
%End
int margin() const;
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setMargin(int);
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
virtual void setMargin(int);
%End
int midLineWidth() const;
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setMidLineWidth(int);
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
virtual void setMidLineWidth(int);
%End
- QRect frameRect() const;
-%If (Qt_2_00 -)
- virtual void setFrameRect(const QRect &);
+ TQRect frameRect() const;
+%If (TQt_2_00 -)
+ virtual void setFrameRect(const TQRect &);
%End
protected:
-%If (- Qt_2_00)
- void setFrameRect(const QRect &);
+%If (- TQt_2_00)
+ void setFrameRect(const TQRect &);
%End
- void paintEvent(QPaintEvent *);
- void resizeEvent(QResizeEvent *);
- virtual void drawFrame(QPainter *);
- virtual void drawContents(QPainter *);
+ void paintEvent(TQPaintEvent *);
+ void resizeEvent(TQResizeEvent *);
+ virtual void drawFrame(TQPainter *);
+ virtual void drawContents(TQPainter *);
virtual void frameChanged();
-%If (Qt_2_00 - Qt_3_0_0)
+%If (TQt_2_00 - TQt_3_0_0)
void updateMask();
- virtual void drawFrameMask(QPainter *);
- virtual void drawContentsMask(QPainter *);
+ virtual void drawFrameMask(TQPainter *);
+ virtual void drawContentsMask(TQPainter *);
%End
-%If (Qt_3_1_0 -)
- void styleChange(QStyle &);
+%If (TQt_3_1_0 -)
+ void styleChange(TQStyle &);
%End
private:
- QFrame(const QFrame &);
+ TQFrame(const TQFrame &);
};