diff options
-rw-r--r-- | qtinterface/tqt.h.cmake | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/qtinterface/tqt.h.cmake b/qtinterface/tqt.h.cmake index bbace6e..94c0c28 100644 --- a/qtinterface/tqt.h.cmake +++ b/qtinterface/tqt.h.cmake @@ -50,6 +50,8 @@ Boston, MA 02110-1301, USA. #include <qglobal.h> +#ifndef TQT_REAL_TQT + #ifdef QT_NO_SQL #define TQT_NO_SQL #endif /* QT_NO_SQL */ @@ -80,9 +82,13 @@ Boston, MA 02110-1301, USA. #define TQT_VERSION_STR QT_VERSION_STR #define TQT_PRODUCT_LICENSEE QT_PRODUCT_LICENSEE +#endif + #define qint64 long #define quint64 unsigned long +#ifndef TQT_REAL_TQT + #define tqtr tr #define tqaccess access #define tqcolorTable colorTable @@ -212,6 +218,92 @@ Boston, MA 02110-1301, USA. #define TQMOTIFPLUSSTYLE_OBJECT_NAME_STRING "QMotifPlusStyle" +#else + +#define TQPOINT_OBJECT_NAME_STRING "TQPoint" +#define TQBYTEARRAY_OBJECT_NAME_STRING "TQByteArray" +#define TQPIXMAP_OBJECT_NAME_STRING "TQPixmap" +#define TQSTRING_OBJECT_NAME_STRING "TQString" +#define TQSTRINGLIST_OBJECT_NAME_STRING "TQStringList" +#define TQLAYOUT_OBJECT_NAME_STRING "TQLayout" +#define TQBOXLAYOUT_OBJECT_NAME_STRING "TQBoxLayout" +#define TQHBOXLAYOUT_OBJECT_NAME_STRING "TQHBoxLayout" +#define TQVBOXLAYOUT_OBJECT_NAME_STRING "TQVBoxLayout" +#define TQGRIDLAYOUT_OBJECT_NAME_STRING "TQGridLayout" +#define TQHBOX_OBJECT_NAME_STRING "TQHBox" +#define TQVBOX_OBJECT_NAME_STRING "TQVBox" +#define TQGRID_OBJECT_NAME_STRING "TQGrid" +#define TQTABWIDGET_OBJECT_NAME_STRING "TQTabWidget" +#define TQCHECKBOX_OBJECT_NAME_STRING "TQCheckBox" +#define TQLINEEDIT_OBJECT_NAME_STRING "TQLineEdit" +#define TQTEXTEDIT_OBJECT_NAME_STRING "TQTextEdit" +#define TQOBJECT_OBJECT_NAME_STRING "TQObject" +#define TQWIDGET_OBJECT_NAME_STRING "TQWidget" +#define TQGLWIDGET_OBJECT_NAME_STRING "TQGLWidget" +#define TQLABEL_OBJECT_NAME_STRING "TQLabel" +#define TQTIMER_OBJECT_NAME_STRING "TQTimer" +#define TQFRAME_OBJECT_NAME_STRING "TQFrame" +#define TQACCEL_OBJECT_NAME_STRING "TQAccel" +#define TQDIALOG_OBJECT_NAME_STRING "TQDialog" +#define TQDIAL_OBJECT_NAME_STRING "TQDial" +#define TQACTION_OBJECT_NAME_STRING "TQAction" +#define TQACTIONGROUP_OBJECT_NAME_STRING "TQActionGroup" +#define TQLCDNUMBER_OBJECT_NAME_STRING "TQLCDNumber" +#define TQPROGRESSBAR_OBJECT_NAME_STRING "TQProgressBar" +#define TQTABDIALOG_OBJECT_NAME_STRING "TQTabDialog" +#define TQTABWIDGET_OBJECT_NAME_STRING "TQTabWidget" +#define TQDOCKWINDOW_OBJECT_NAME_STRING "TQDockWindow" +#define TQGROUPBOX_OBJECT_NAME_STRING "TQGroupBox" +#define TQCOMBOBOX_OBJECT_NAME_STRING "TQComboBox" +#define TQSPINBOX_OBJECT_NAME_STRING "TQSpinBox" +#define TQSPINWIDGET_OBJECT_NAME_STRING "TQSpinWidget" +#define TQLISTBOX_OBJECT_NAME_STRING "TQListBox" +#define TQTOOLBOX_OBJECT_NAME_STRING "TQToolBox" +#define TQTOOLBOXBUTTON_OBJECT_NAME_STRING "TQToolBoxButton" +#define TQVGROUPBOX_OBJECT_NAME_STRING "TQVGroupBox" +#define TQSPLITTER_OBJECT_NAME_STRING "TQSplitter" +#define TQSPLITTERHANDLE_OBJECT_NAME_STRING "TQSplitterHandle" +#define TQBUTTON_OBJECT_NAME_STRING "TQButton" +#define TQGRIDVIEW_OBJECT_NAME_STRING "TQGridView" +#define TQSLIDER_OBJECT_NAME_STRING "TQSlider" +#define TQPUSHBUTTON_OBJECT_NAME_STRING "TQPushButton" +#define TQTOOLBUTTON_OBJECT_NAME_STRING "TQToolButton" +#define TQRADIOBUTTON_OBJECT_NAME_STRING "TQRadioButton" +#define TQPOPUPMENU_OBJECT_NAME_STRING "TQPopupMenu" +#define TQTOOLBAR_OBJECT_NAME_STRING "TQToolBar" +#define TQMENUBAR_OBJECT_NAME_STRING "TQMenuBar" +#define TQTABBAR_OBJECT_NAME_STRING "TQTabBar" +#define TQLISTVIEW_OBJECT_NAME_STRING "TQListView" +#define TQSCROLLBAR_OBJECT_NAME_STRING "TQScrollBar" +#define TQSCROLLVIEW_OBJECT_NAME_STRING "TQScrollView" +#define TQRANGECONTROL_OBJECT_NAME_STRING "TQRangeControl" +#define TQCANVASITEM_OBJECT_NAME_STRING "TQCanvasItem" +#define TQICONVIEW_OBJECT_NAME_STRING "TQIconView" +#define TQMULTILINEEDIT_OBJECT_NAME_STRING "TQMultiLineEdit" +#define TQINTVALIDATOR_OBJECT_NAME_STRING "TQIntValidator" +#define TQDATEEDIT_OBJECT_NAME_STRING "TQDateEdit" +#define TQTIMEEDIT_OBJECT_NAME_STRING "TQTimeEdit" +#define TQDATETIMEEDIT_OBJECT_NAME_STRING "TQDateTimeEdit" +#define TQHEADER_OBJECT_NAME_STRING "TQHeader" +#define TQSIZEGRIP_OBJECT_NAME_STRING "TQSizeGrip" +#define TQDOCKWINDOWHANDLE_OBJECT_NAME_STRING "TQDockWindowHandle" +#define TQHIDEDOCK_OBJECT_NAME_STRING "TQHideDock" +#define TQTABLE_OBJECT_NAME_STRING "TQTable" +#define TQWIZARD_OBJECT_NAME_STRING "TQWizard" +#define TQDATATABLE_OBJECT_NAME_STRING "TQDataTable" +#define TQDATABROWSER_OBJECT_NAME_STRING "TQDataBrowser" +#define TQDATAVIEW_OBJECT_NAME_STRING "TQDataView" +#define TQMAINWINDOW_OBJECT_NAME_STRING "TQMainWindow" +#define TQWIDGETSTACK_OBJECT_NAME_STRING "TQWidgetStack" +#define TQBUTTONGROUP_OBJECT_NAME_STRING "TQButtonGroup" +#define TQTEXTVIEW_OBJECT_NAME_STRING "TQTextView" +#define TQTEXTBROWSER_OBJECT_NAME_STRING "TQTextBrowser" +#define TQLAYOUTWIDGET_OBJECT_NAME_STRING "TQLayoutWidget" + +#define TQMOTIFPLUSSTYLE_OBJECT_NAME_STRING "TQMotifPlusStyle" + +#endif + #define TQAlignCenter AlignCenter #define TQNoBrush NoBrush #define aboutTQt aboutQt @@ -238,6 +330,8 @@ Boston, MA 02110-1301, USA. #define tqcolor0 color0 #define tqcolor1 color1 +#ifndef TQT_REAL_TQT + #define IID_TQUnknown IID_QUnknown #define IID_TQComponentInformation IID_QComponentInformation #define IID_TQWidgetFactory IID_QWidgetFactory @@ -760,6 +854,8 @@ Boston, MA 02110-1301, USA. #define TQXmlDefaultHandler QXmlDefaultHandler #define TQUnknownInterface QUnknownInterface +#endif + #define tqRound qRound #define tqstrlen qstrlen #define tqstrncmp qstrncmp @@ -779,6 +875,8 @@ Boston, MA 02110-1301, USA. #define WPaintOnScreen ((WFlags)0) +#ifndef TQT_REAL_TQT + #define TQ_INT8 Q_INT8 #define TQ_INT16 Q_INT16 #define TQ_INT32 Q_INT32 @@ -793,6 +891,8 @@ Boston, MA 02110-1301, USA. #define TQ_ULONG Q_ULONG #define TQ_ULLONG Q_ULLONG +#endif + #define tqRed qRed #define tqGreen qGreen #define tqBlue qBlue |