summaryrefslogtreecommitdiffstats
path: root/sip/qt/qnamespace.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qnamespace.sip
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'sip/qt/qnamespace.sip')
-rw-r--r--sip/qt/qnamespace.sip208
1 files changed, 104 insertions, 104 deletions
diff --git a/sip/qt/qnamespace.sip b/sip/qt/qnamespace.sip
index cddd3b5..7bd009c 100644
--- a/sip/qt/qnamespace.sip
+++ b/sip/qt/qnamespace.sip
@@ -1,62 +1,62 @@
-// This is the SIP interface definition for the Qt v2+ Qt class.
+// This is the SIP interface definition for the TQt v2+ TQt class.
//
// 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>Qt (Qt v2+)</Title>
+<Sect2><Title>TQt (TQt v2+)</Title>
<Para>
-<Literal>Qt</Literal> is fully implemented.
+<Literal>TQt</Literal> is fully implemented.
</Para>
</Sect2>
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
-class Qt
+class TQt
{
%TypeHeaderCode
#include <qnamespace.h>
%End
public:
- static const QColor &color0;
- static const QColor &color1;
- static const QColor &black;
- static const QColor &white;
- static const QColor &darkGray;
- static const QColor &gray;
- static const QColor &lightGray;
- static const QColor &red;
- static const QColor &green;
- static const QColor &blue;
- static const QColor &cyan;
- static const QColor &magenta;
- static const QColor &yellow;
- static const QColor &darkRed;
- static const QColor &darkGreen;
- static const QColor &darkBlue;
- static const QColor &darkCyan;
- static const QColor &darkMagenta;
- static const QColor &darkYellow;
+ static const TQColor &color0;
+ static const TQColor &color1;
+ static const TQColor &black;
+ static const TQColor &white;
+ static const TQColor &darkGray;
+ static const TQColor &gray;
+ static const TQColor &lightGray;
+ static const TQColor &red;
+ static const TQColor &green;
+ static const TQColor &blue;
+ static const TQColor &cyan;
+ static const TQColor &magenta;
+ static const TQColor &yellow;
+ static const TQColor &darkRed;
+ static const TQColor &darkGreen;
+ static const TQColor &darkBlue;
+ static const TQColor &darkCyan;
+ static const TQColor &darkMagenta;
+ static const TQColor &darkYellow;
enum ButtonState {
NoButton,
@@ -67,11 +67,11 @@ public:
ShiftButton,
ControlButton,
AltButton,
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
MetaButton,
%End
KeyButtonMask,
-%If (Qt_2_2_0 -)
+%If (TQt_2_2_0 -)
Keypad,
%End
};
@@ -81,14 +81,14 @@ public:
Vertical
};
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
enum SortOrder {
Ascending,
Descending
};
%End
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
enum AlignmentFlags {
AlignLeft,
AlignRight,
@@ -106,7 +106,7 @@ public:
};
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
enum AlignmentFlags {
AlignAuto,
AlignLeft,
@@ -135,7 +135,7 @@ public:
typedef uint WState;
// WidgetState isn't part of the public API but is used in code
- // generated by uic/pyuic, so we implement the minimum required.
+ // generated by uic/pyuic, so we implement the minimum retquired.
enum WidgetState {
WState_Polished
};
@@ -145,10 +145,10 @@ public:
enum WidgetFlags {
WType_TopLevel,
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
WType_Modal,
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
WType_Dialog,
%End
WType_Popup,
@@ -166,20 +166,20 @@ public:
WStyle_MinMax,
WStyle_Tool,
WStyle_StaysOnTop,
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
WStyle_Dialog,
%End
-%If (- Qt_2_1_0)
+%If (- TQt_2_1_0)
WStyle_Reserved2,
WStyle_Reserved3,
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
WStyle_ContextHelp,
%End
-%If (Qt_2_1_0 - Qt_3_0_0)
+%If (TQt_2_1_0 - TQt_3_0_0)
WStyle_NoBorderEx,
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
WStyle_Reserved,
%End
WStyle_Mask,
@@ -190,37 +190,37 @@ public:
WPaintClever,
WResizeNoErase, // Obsolete
WMouseNoMask,
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
WNorthWestGravity,
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
WStaticContents,
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
WRepaintNoErase, // Obsolete
WX11BypassWM,
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
WWinOwnDC,
%End
-%If (Qt_2_2_0 -)
+%If (TQt_2_2_0 -)
WGroupLeader,
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
WShowModal,
WNoMousePropagation,
WSubWindow,
%End
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
WStyle_Splash,
%End
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
WNoAutoErase,
%End
};
-%If (Qt_3_3_0 -)
+%If (TQt_3_3_0 -)
enum WindowState {
WindowNoState,
@@ -259,7 +259,7 @@ public:
OpaqueMode
};
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
enum PaintUnit {
PixelUnit,
LoMetricUnit,
@@ -271,18 +271,18 @@ public:
%End
enum GUIStyle {
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
MacStyle,
%End
WindowsStyle,
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
Win3Style,
PMStyle,
%End
MotifStyle
};
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
enum SequenceMatch {
NoMatch,
PartialMatch,
@@ -291,7 +291,7 @@ public:
%End
enum Modifier {
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
META,
%End
SHIFT,
@@ -316,7 +316,7 @@ public:
Key_Pause,
Key_Print,
Key_SysReq,
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
Key_Clear,
%End
@@ -380,7 +380,7 @@ public:
Key_Menu,
Key_Hyper_L,
Key_Hyper_R,
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
Key_Help,
Key_Direction_L,
Key_Direction_R,
@@ -554,7 +554,7 @@ public:
Key_thorn,
Key_ydiaeresis,
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
Key_Back,
Key_Forward,
Key_Stop,
@@ -642,12 +642,12 @@ public:
DotLine,
DashDotLine,
DashDotDotLine,
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
MPenStyle
%End
};
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
enum PenCapStyle {
FlatCap,
SquareCap,
@@ -682,32 +682,32 @@ public:
CustomPattern
};
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
enum MacintoshVersion {
MV_Unknown,
MV_9,
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
MV_10_DOT_0,
%End
MV_10_DOT_1,
MV_10_DOT_2,
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
MV_10_DOT_3,
%End
-%If (Qt_3_3_5 -)
+%If (TQt_3_3_5 -)
MV_10_DOT_4,
%End
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
MV_CHEETAH,
MV_PUMA,
%End
MV_JAGUAR,
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
MV_PANTHER,
%End
-%If (Qt_3_3_5 -)
+%If (TQt_3_3_5 -)
MV_TIGER,
%End
};
@@ -717,38 +717,38 @@ public:
WV_32s,
WV_95,
WV_98,
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
WV_Me,
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
WV_DOS_based,
%End
WV_NT,
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
WV_2000,
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
WV_XP,
%End
-%If (Qt_3_3_0 -)
+%If (TQt_3_3_0 -)
WV_2003,
%End
-%If (Qt_3_3_6 -)
+%If (TQt_3_3_6 -)
WV_VISTA,
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
WV_NT_based,
%End
-%If (Qt_3_3_0 -)
+%If (TQt_3_3_0 -)
WV_CE,
WV_CENET,
WV_CE_based,
%End
};
-%If (Qt_2_2_0 -)
+%If (TQt_2_2_0 -)
enum UIEffect {
UI_General,
UI_AnimateMenu,
@@ -756,13 +756,13 @@ public:
UI_AnimateCombo,
UI_AnimateTooltip,
UI_FadeTooltip,
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
UI_AnimateToolBox,
%End
};
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
enum CursorShape {
ArrowCursor,
UpArrowCursor,
@@ -780,7 +780,7 @@ public:
PointingHandCursor,
ForbiddenCursor,
WhatsThisCursor,
-%If (Qt_3_3_0 -)
+%If (TQt_3_3_0 -)
BusyCursor,
%End
LastCursor,
@@ -788,47 +788,47 @@ public:
};
%End
- static const QCursor &arrowCursor;
- static const QCursor &upArrowCursor;
- static const QCursor &crossCursor;
- static const QCursor &waitCursor;
- static const QCursor &ibeamCursor;
- static const QCursor &sizeVerCursor;
- static const QCursor &sizeHorCursor;
- static const QCursor &sizeBDiagCursor;
- static const QCursor &sizeFDiagCursor;
- static const QCursor &sizeAllCursor;
- static const QCursor &blankCursor;
- static const QCursor &splitVCursor;
- static const QCursor &splitHCursor;
- static const QCursor &pointingHandCursor;
-%If (Qt_2_1_0 -)
- static const QCursor &forbiddenCursor;
+ static const TQCursor &arrowCursor;
+ static const TQCursor &upArrowCursor;
+ static const TQCursor &crossCursor;
+ static const TQCursor &waitCursor;
+ static const TQCursor &ibeamCursor;
+ static const TQCursor &sizeVerCursor;
+ static const TQCursor &sizeHorCursor;
+ static const TQCursor &sizeBDiagCursor;
+ static const TQCursor &sizeFDiagCursor;
+ static const TQCursor &sizeAllCursor;
+ static const TQCursor &blankCursor;
+ static const TQCursor &splitVCursor;
+ static const TQCursor &splitHCursor;
+ static const TQCursor &pointingHandCursor;
+%If (TQt_2_1_0 -)
+ static const TQCursor &forbiddenCursor;
%End
-%If (Qt_3_0_0 -)
- static const QCursor &whatsThisCursor;
+%If (TQt_3_0_0 -)
+ static const TQCursor &whatsThisCursor;
%End
-%If (Qt_3_3_0 -)
- static const QCursor &busyCursor;
+%If (TQt_3_3_0 -)
+ static const TQCursor &busyCursor;
%End
enum TextFormat {
PlainText,
RichText,
AutoText,
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
LogText,
%End
};
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
enum AnchorAttribute {
AnchorName,
AnchorHref
};
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
enum Dock {
DockUnmanaged,
DockTornOff,
@@ -845,7 +845,7 @@ public:
LocalDate
};
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
enum TimeSpec {
LocalTime,
UTC
@@ -885,7 +885,7 @@ public:
ExactMatch
};
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
enum Corner {
TopLeft,
TopRight,