summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqt.h')
-rw-r--r--qtinterface/tqt.h86
1 files changed, 83 insertions, 3 deletions
diff --git a/qtinterface/tqt.h b/qtinterface/tqt.h
index 98d1b67..5e0c06b 100644
--- a/qtinterface/tqt.h
+++ b/qtinterface/tqt.h
@@ -1,6 +1,6 @@
/*
-Copyright (C) 2010 Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Copyright (C) 2010-2011 Timothy Pearson <kb9vqf@pearsoncomputing.net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
@@ -53,9 +53,18 @@ Boston, MA 02110-1301, USA.
#define tqaccess access
#define tqcolorTable colorTable
#define TQSO_Default Default
+#define SO_Default Default
+#define TQ_PrimitiveElement PrimitiveElement
#define tqqt_cast ::qt_cast
+#define TQ_StrongFocus QWidget::StrongFocus
+#define TQ_NoFocus QWidget::NoFocus
+#define TQ_WheelFocus QWidget::WheelFocus
+#define TQ_ClickFocus QWidget::ClickFocus
+#define TQ_TabFocus QWidget::TabFocus
+#define TQ_FocusPolicy QWidget::FocusPolicy
#define TQ_Horizontal Horizontal
#define TQ_Vertical Vertical
+#define TQ_Alignment Qt::AlignmentFlags
#define TQImage_ScaleFree QImage::ScaleFree
#define TQ_Key_Shift Key_Shift
#define TQ_Key_Control Key_Control
@@ -154,6 +163,8 @@ Boston, MA 02110-1301, USA.
#define TQCDEStyle QCDEStyle
#define TQCheckBox QCheckBox
#define TQCleanupHandler QCleanupHandler
+#define TQClipboard QClipboard
+#define TQSessionManager QSessionManager
#define TQSingleCleanupHandler QSingleCleanupHandler
#define TQSharedCleanupHandler QSharedCleanupHandler
#define TQShared QShared
@@ -241,6 +252,7 @@ Boston, MA 02110-1301, USA.
#define TQPaintEvent QPaintEvent
#define TQMoveEvent QMoveEvent
#define TQResizeEvent QResizeEvent
+#define TQRgb QRgb
#define TQCloseEvent QCloseEvent
#define TQIconDragEvent QIconDragEvent
#define TQShowEvent QShowEvent
@@ -332,6 +344,7 @@ Boston, MA 02110-1301, USA.
#define TQGLayoutIterator QGLayoutIterator
#define TQLayoutIterator QLayoutIterator
#define TQLayoutItem QLayoutItem
+#define TQLayoutWidget QLayoutWidget
#define TQSpacerItem QSpacerItem
#define TQWidgetItem QWidgetItem
#define TQLayout QLayout
@@ -566,6 +579,7 @@ Boston, MA 02110-1301, USA.
#define TQWizard QWizard
#define TQWMatrix QWMatrix
#define TQWorkspace QWorkspace
+#define TQXEmbed QXEmbed
#define TQXmlNamespaceSupport QXmlNamespaceSupport
#define TQXmlAttributes QXmlAttributes
#define TQXmlInputSource QXmlInputSource
@@ -580,6 +594,7 @@ Boston, MA 02110-1301, USA.
#define TQXmlLexicalHandler QXmlLexicalHandler
#define TQXmlDeclHandler QXmlDeclHandler
#define TQXmlDefaultHandler QXmlDefaultHandler
+#define TQUnknownInterface QUnknownInterface
#define tqRound qRound
#define tqstrlen qstrlen
@@ -693,11 +708,52 @@ Boston, MA 02110-1301, USA.
#define tqinvalidateHeight invalidateHeight
#define tqlayoutTabs layoutTabs
#define tqreplacement replacement
+#define tqsuperClass superClass
+#define tqinvertPixels invertPixels
+#define setqStatus setStatus
+#define tqparentNode parentNode
+#define tqsuperClassName superClassName
+#define tqclipboard clipboard
+#define tqfamilies families
+#define tqstartsWith startsWith
+#define tqrects rects
+#define tqsetFont setFont
+#define tqsetPalette setPalette
+#define tqpalette palette
+#define tqstyle style
+#define tqstyles styles
+#define tqsizePolicy sizePolicy
+#define tqparentMenu parentMenu
+#define tqsmoothSizes smoothSizes
+#define tqstandardSizes standardSizes
+#define tqresize resize
+#define tqstaticMetaObject staticMetaObject
+#define tqopen open
+#define tqtext text
+#define tqdrawPolyline drawPolyline
+#define tqbrush brush
-#define tqdrawControlMask drawControlMask
+#define tqdrawPrimitive drawPrimitive
+#define tqdrawControlMask drawControlMask
+#define tqsizeFromContents sizeFromContents
#define tqdrawComplexControlMask drawComplexControlMask
-#define TQUObject QUObject
+#define TQCOORD QCOORD
+#define TQCOORD_MAX QCOORD_MAX
+#define TQ_SETS Q_SETS
+#define TQ_PROPERTY Q_PROPERTY
+#define TQMIN QMIN
+#define TQMAX QMAX
+#define tqqt_cast qt_cast
+#define tqMakePair qMakePair
+#define qt_tqfind_obj_child qt_find_obj_child
+#define tqt_ucm_query_verification_data qt_ucm_query_verification_data
+
+#define TQUObject QUObject
+#define static_TQUType_int static_QUType_int
+#define static_TQUType_TQString static_QUType_QString
+#define static_TQUType_ptr static_QUType_ptr
+#define static_TQUType_bool static_QUType_bool
#define tqt_mo_access access
@@ -728,6 +784,12 @@ Boston, MA 02110-1301, USA.
#define TQT_TQVARIANT(x) (static_cast<TQVariant*>(static_cast<QVariant*>(x)))
#define TQT_TQMETAOBJECT(x) (static_cast<TQMetaObject*>(static_cast<QMetaObject*>(x)))
#define TQT_TQSTYLEOPTION(x) (static_cast<TQStyleOption*>(static_cast<TQStyleOption*>(x)))
+#define TQT_TQKEYEVENT(x) (static_cast<TQKeyEvent*>(static_cast<QKeyEvent*>(static_cast<QEvent*>(x))))
+#define TQT_TQSHOWEVENT(x) (static_cast<TQShowEvent*>(static_cast<QShowEvent*>(static_cast<QEvent*>(x))))
+#define TQT_TQMOUSEEVENT(x) (static_cast<TQMouseEvent*>(static_cast<QMouseEvent*>(static_cast<QEvent*>(x))))
+#define TQT_TQFOCUSEVENT(x) (static_cast<TQFocusEvent*>(static_cast<QFocusEvent*>(static_cast<QEvent*>(x))))
+#define TQT_TQPAINTEVENT(x) (static_cast<TQPaintEvent*>(static_cast<QPaintEvent*>(static_cast<QEvent*>(x))))
+#define TQT_TQRESIZEEVENT(x) (static_cast<TQResizeEvent*>(static_cast<QResizeEvent*>(static_cast<QEvent*>(x))))
#define TQT_TQOBJECT_OBJECT(x) x
#define TQT_TQSIZEPOLICY_OBJECT(x) x
@@ -776,6 +838,24 @@ Boston, MA 02110-1301, USA.
// END BLOCK ONE
+#define tqarrowCursor Qt::arrowCursor
+#define tqupArrowCursor Qt::upArrowCursor
+#define tqcrossCursor Qt::crossCursor
+#define tqwaitCursor Qt::waitCursor
+#define tqibeamCursor Qt::ibeamCursor
+#define tqsizeVerCursor Qt::sizeVerCursor
+#define tqsizeHorCursor Qt::sizeHorCursor
+#define tqsizeBDiagCursor Qt::sizeBDiagCursor
+#define tqsizeFDiagCursor Qt::sizeFDiagCursor
+#define tqsizeAllCursor Qt::sizeAllCursor
+#define tqblankCursor Qt::blankCursor
+#define tqsplitVCursor Qt::splitVCursor
+#define tqsplitHCursor Qt::splitHCursor
+#define tqpointingHandCursor Qt::pointingHandCursor
+#define tqforbiddenCursor Qt::forbiddenCursor
+#define tqwhatsThisCursor Qt::whatsThisCursor
+#define tqbusyCursor Qt::busyCursor
+
#endif // USE_QT3
#ifdef USE_QT4