summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/canvas/ntqcanvas.h2
-rw-r--r--src/codecs/ntqeucjpcodec.h2
-rw-r--r--src/codecs/ntqeuckrcodec.h2
-rw-r--r--src/codecs/ntqgb18030codec.h2
-rw-r--r--src/codecs/ntqjiscodec.h2
-rw-r--r--src/codecs/ntqjpunicode.h2
-rw-r--r--src/codecs/ntqrtlcodec.h2
-rw-r--r--src/codecs/ntqsjiscodec.h2
-rw-r--r--src/codecs/ntqtextcodec.h6
-rw-r--r--src/codecs/ntqtextcodecfactory.h2
-rw-r--r--src/codecs/ntqtextcodecplugin.h2
-rw-r--r--src/codecs/ntqtsciicodec.h2
-rw-r--r--src/codecs/ntqutfcodec.h4
-rw-r--r--src/codecs/qtextcodecinterface_p.h2
-rw-r--r--src/codecs/qtextcodecplugin.cpp4
-rw-r--r--src/dialogs/ntqcolordialog.h2
-rw-r--r--src/dialogs/ntqdialog.h2
-rw-r--r--src/dialogs/ntqerrormessage.h2
-rw-r--r--src/dialogs/ntqfiledialog.h6
-rw-r--r--src/dialogs/ntqfontdialog.h2
-rw-r--r--src/dialogs/ntqinputdialog.h2
-rw-r--r--src/dialogs/ntqmessagebox.h2
-rw-r--r--src/dialogs/ntqprintdialog.h2
-rw-r--r--src/dialogs/ntqprogressdialog.h2
-rw-r--r--src/dialogs/ntqtabdialog.h2
-rw-r--r--src/dialogs/ntqwizard.h2
-rw-r--r--src/dialogs/qfiledialog.cpp2
-rw-r--r--src/embedded/qgfxdriverinterface_p.h2
-rw-r--r--src/embedded/qkbddriverinterface_p.h2
-rw-r--r--src/embedded/qmousedriverinterface_p.h2
-rw-r--r--src/inputmethod/ntqinputcontextfactory.h2
-rw-r--r--src/inputmethod/ntqinputcontextplugin.h2
-rw-r--r--src/inputmethod/qinputcontextinterface_p.h2
-rw-r--r--src/inputmethod/qinputcontextplugin.cpp4
-rw-r--r--src/kernel/ntqaccel.h2
-rw-r--r--src/kernel/ntqaccessible.h8
-rw-r--r--src/kernel/ntqapplication.h6
-rw-r--r--src/kernel/ntqasyncimageio.h8
-rw-r--r--src/kernel/ntqasyncio.h10
-rw-r--r--src/kernel/ntqbitmap.h2
-rw-r--r--src/kernel/ntqbrush.h6
-rw-r--r--src/kernel/ntqclipboard.h2
-rw-r--r--src/kernel/ntqcolor.h22
-rw-r--r--src/kernel/ntqconnection.h2
-rw-r--r--src/kernel/ntqcursor.h8
-rw-r--r--src/kernel/ntqdesktopwidget.h2
-rw-r--r--src/kernel/ntqdragobject.h14
-rw-r--r--src/kernel/ntqdrawutil.h30
-rw-r--r--src/kernel/ntqdropsite.h2
-rw-r--r--src/kernel/ntqevent.h48
-rw-r--r--src/kernel/ntqeventloop.h2
-rw-r--r--src/kernel/ntqfocusdata.h2
-rw-r--r--src/kernel/ntqfont.h10
-rw-r--r--src/kernel/ntqfontdatabase.h2
-rw-r--r--src/kernel/ntqfontinfo.h2
-rw-r--r--src/kernel/ntqfontmetrics.h2
-rw-r--r--src/kernel/ntqgplugin.h16
-rw-r--r--src/kernel/ntqguardedptr.h2
-rw-r--r--src/kernel/ntqiconset.h4
-rw-r--r--src/kernel/ntqimage.h14
-rw-r--r--src/kernel/ntqimageformatplugin.h2
-rw-r--r--src/kernel/ntqinputcontext.h2
-rw-r--r--src/kernel/ntqkeysequence.h12
-rw-r--r--src/kernel/ntqlayout.h20
-rw-r--r--src/kernel/ntqlocalfs.h2
-rw-r--r--src/kernel/ntqmetaobject.h6
-rw-r--r--src/kernel/ntqmime.h8
-rw-r--r--src/kernel/ntqmovie.h2
-rw-r--r--src/kernel/ntqnamespace.h4
-rw-r--r--src/kernel/ntqnetworkprotocol.h6
-rw-r--r--src/kernel/ntqobject.h4
-rw-r--r--src/kernel/ntqobjectcleanuphandler.h2
-rw-r--r--src/kernel/ntqobjectdefs.h4
-rw-r--r--src/kernel/ntqobjectdict.h2
-rw-r--r--src/kernel/ntqobjectlist.h10
-rw-r--r--src/kernel/ntqpaintdevice.h14
-rw-r--r--src/kernel/ntqpaintdevicemetrics.h2
-rw-r--r--src/kernel/ntqpainter.h2
-rw-r--r--src/kernel/ntqpalette.h12
-rw-r--r--src/kernel/ntqpen.h6
-rw-r--r--src/kernel/ntqpicture.h10
-rw-r--r--src/kernel/ntqpixmap.h14
-rw-r--r--src/kernel/ntqpixmapcache.h2
-rw-r--r--src/kernel/ntqpngio.h2
-rw-r--r--src/kernel/ntqpoint.h6
-rw-r--r--src/kernel/ntqpointarray.h8
-rw-r--r--src/kernel/ntqpolygonscanner.h2
-rw-r--r--src/kernel/ntqprinter.h2
-rw-r--r--src/kernel/ntqprocess.h2
-rw-r--r--src/kernel/ntqrect.h14
-rw-r--r--src/kernel/ntqregion.h10
-rw-r--r--src/kernel/ntqsessionmanager.h2
-rw-r--r--src/kernel/ntqsignal.h2
-rw-r--r--src/kernel/ntqsignalmapper.h2
-rw-r--r--src/kernel/ntqsignalslotimp.h8
-rw-r--r--src/kernel/ntqsimplerichtext.h2
-rw-r--r--src/kernel/ntqsize.h6
-rw-r--r--src/kernel/ntqsizegrip.h2
-rw-r--r--src/kernel/ntqsizepolicy.h2
-rw-r--r--src/kernel/ntqsocketnotifier.h2
-rw-r--r--src/kernel/ntqsound.h6
-rw-r--r--src/kernel/ntqstyle.h18
-rw-r--r--src/kernel/ntqstylesheet.h12
-rw-r--r--src/kernel/ntqthread.h4
-rw-r--r--src/kernel/ntqtimer.h2
-rw-r--r--src/kernel/ntqtranslator.h4
-rw-r--r--src/kernel/ntqurl.h2
-rw-r--r--src/kernel/ntqurlinfo.h2
-rw-r--r--src/kernel/ntqurloperator.h2
-rw-r--r--src/kernel/ntqvariant.h10
-rw-r--r--src/kernel/ntqwidget.h6
-rw-r--r--src/kernel/ntqwidgetintdict.h8
-rw-r--r--src/kernel/ntqwidgetlist.h4
-rw-r--r--src/kernel/ntqwindowdefs.h20
-rw-r--r--src/kernel/ntqwmatrix.h8
-rw-r--r--src/kernel/qaccel.cpp8
-rw-r--r--src/kernel/qapplication.cpp24
-rw-r--r--src/kernel/qapplication_p.h6
-rw-r--r--src/kernel/qapplication_x11.cpp36
-rw-r--r--src/kernel/qclipboard_x11.cpp2
-rw-r--r--src/kernel/qfont_x11.cpp2
-rw-r--r--src/kernel/qimageformatinterface_p.h2
-rw-r--r--src/kernel/qimageformatplugin.cpp4
-rw-r--r--src/kernel/qinternal_p.h4
-rw-r--r--src/kernel/qlayoutengine.cpp10
-rw-r--r--src/kernel/qlayoutengine_p.h10
-rw-r--r--src/kernel/qmetaobject.cpp2
-rw-r--r--src/kernel/qnetworkprotocol.cpp2
-rw-r--r--src/kernel/qobject.cpp4
-rw-r--r--src/kernel/qpixmap_x11.cpp2
-rw-r--r--src/kernel/qpsprinter.cpp2
-rw-r--r--src/kernel/qpsprinter_p.h2
-rw-r--r--src/kernel/qrichtext.cpp2
-rw-r--r--src/kernel/qrichtext_p.h92
-rw-r--r--src/kernel/qtextengine_p.h2
-rw-r--r--src/kernel/qtextlayout_p.h4
-rw-r--r--src/kernel/qucomextra_p.h10
-rw-r--r--src/kernel/qwidget_x11.cpp4
-rw-r--r--src/network/ntqdns.h2
-rw-r--r--src/network/ntqftp.h2
-rw-r--r--src/network/ntqhostaddress.h2
-rw-r--r--src/network/ntqhttp.h2
-rw-r--r--src/network/ntqnetwork.h2
-rw-r--r--src/network/ntqserversocket.h2
-rw-r--r--src/network/ntqsocket.h2
-rw-r--r--src/network/ntqsocketdevice.h2
-rw-r--r--src/opengl/ntqgl.h2
-rw-r--r--src/opengl/ntqglcolormap.h2
-rw-r--r--src/sql/drivers/cache/qsqlcachedresult.h2
-rw-r--r--src/sql/drivers/mysql/qsql_mysql.h2
-rw-r--r--src/sql/drivers/odbc/qsql_odbc.h2
-rw-r--r--src/sql/drivers/psql/qsql_psql.h2
-rw-r--r--src/sql/ntqdatabrowser.h2
-rw-r--r--src/sql/ntqdatatable.h2
-rw-r--r--src/sql/ntqdataview.h2
-rw-r--r--src/sql/ntqeditorfactory.h2
-rw-r--r--src/sql/ntqsql.h2
-rw-r--r--src/sql/ntqsqlcursor.h2
-rw-r--r--src/sql/ntqsqldatabase.h2
-rw-r--r--src/sql/ntqsqldriver.h2
-rw-r--r--src/sql/ntqsqldriverplugin.h2
-rw-r--r--src/sql/ntqsqleditorfactory.h2
-rw-r--r--src/sql/ntqsqlerror.h2
-rw-r--r--src/sql/ntqsqlfield.h2
-rw-r--r--src/sql/ntqsqlform.h2
-rw-r--r--src/sql/ntqsqlindex.h2
-rw-r--r--src/sql/ntqsqlpropertymap.h2
-rw-r--r--src/sql/ntqsqlquery.h4
-rw-r--r--src/sql/ntqsqlrecord.h8
-rw-r--r--src/sql/ntqsqlresult.h2
-rw-r--r--src/sql/ntqsqlselectcursor.h2
-rw-r--r--src/sql/qsqldatabase.cpp4
-rw-r--r--src/sql/qsqldriverinterface_p.h2
-rw-r--r--src/sql/qsqldriverplugin.cpp4
-rw-r--r--src/sql/qsqlextension_p.h2
-rw-r--r--src/sql/qsqlmanager_p.h2
-rw-r--r--src/styles/ntqcdestyle.h2
-rw-r--r--src/styles/ntqcommonstyle.h2
-rw-r--r--src/styles/ntqcompactstyle.h2
-rw-r--r--src/styles/ntqinterlacestyle.h2
-rw-r--r--src/styles/ntqmotifplusstyle.h2
-rw-r--r--src/styles/ntqmotifstyle.h2
-rw-r--r--src/styles/ntqplatinumstyle.h2
-rw-r--r--src/styles/ntqsgistyle.h2
-rw-r--r--src/styles/ntqstylefactory.h2
-rw-r--r--src/styles/ntqstyleplugin.h2
-rw-r--r--src/styles/ntqwindowsstyle.h2
-rw-r--r--src/styles/qstyleinterface_p.h2
-rw-r--r--src/styles/qstyleplugin.cpp4
-rw-r--r--src/table/ntqtable.h2
-rw-r--r--src/table/qtable.cpp2
-rw-r--r--src/tools/ntqbitarray.h14
-rw-r--r--src/tools/ntqbuffer.h2
-rw-r--r--src/tools/ntqcstring.h84
-rw-r--r--src/tools/ntqdatastream.h2
-rw-r--r--src/tools/ntqdatetime.h30
-rw-r--r--src/tools/ntqdir.h2
-rw-r--r--src/tools/ntqfile.h2
-rw-r--r--src/tools/ntqfileinfo.h2
-rw-r--r--src/tools/ntqgarray.h2
-rw-r--r--src/tools/ntqgcache.h4
-rw-r--r--src/tools/ntqgdict.h4
-rw-r--r--src/tools/ntqglist.h12
-rw-r--r--src/tools/ntqglobal.h74
-rw-r--r--src/tools/ntqgvector.h6
-rw-r--r--src/tools/ntqiodevice.h2
-rw-r--r--src/tools/ntqlibrary.h2
-rw-r--r--src/tools/ntqlocale.h2
-rw-r--r--src/tools/ntqmap.h4
-rw-r--r--src/tools/ntqmutex.h4
-rw-r--r--src/tools/ntqptrcollection.h2
-rw-r--r--src/tools/ntqregexp.h2
-rw-r--r--src/tools/ntqsemaphore.h2
-rw-r--r--src/tools/ntqsettings.h2
-rw-r--r--src/tools/ntqshared.h2
-rw-r--r--src/tools/ntqstring.h84
-rw-r--r--src/tools/ntqstringlist.h8
-rw-r--r--src/tools/ntqstrlist.h4
-rw-r--r--src/tools/ntqstrvec.h4
-rw-r--r--src/tools/ntqtextstream.h36
-rw-r--r--src/tools/ntqthreadstorage.h2
-rw-r--r--src/tools/ntquuid.h6
-rw-r--r--src/tools/ntqwaitcondition.h2
-rw-r--r--src/tools/ntqwinexport.h88
-rw-r--r--src/tools/qcom_p.h36
-rw-r--r--src/tools/qcomlibrary_p.h2
-rw-r--r--src/tools/qcomponentfactory_p.h2
-rw-r--r--src/tools/qgpluginmanager_p.h4
-rw-r--r--src/tools/qmutexpool.cpp2
-rw-r--r--src/tools/qmutexpool_p.h4
-rw-r--r--src/tools/qstring.cpp2
-rw-r--r--src/tools/qstringlist.cpp4
-rw-r--r--src/tools/qucom_p.h80
-rw-r--r--src/widgets/ntqaction.h4
-rw-r--r--src/widgets/ntqbutton.h2
-rw-r--r--src/widgets/ntqbuttongroup.h2
-rw-r--r--src/widgets/ntqcheckbox.h2
-rw-r--r--src/widgets/ntqcombobox.h2
-rw-r--r--src/widgets/ntqdatetimeedit.h8
-rw-r--r--src/widgets/ntqdial.h2
-rw-r--r--src/widgets/ntqdockarea.h8
-rw-r--r--src/widgets/ntqdockwindow.h2
-rw-r--r--src/widgets/ntqframe.h2
-rw-r--r--src/widgets/ntqgrid.h2
-rw-r--r--src/widgets/ntqgridview.h2
-rw-r--r--src/widgets/ntqgroupbox.h2
-rw-r--r--src/widgets/ntqhbox.h2
-rw-r--r--src/widgets/ntqhbuttongroup.h2
-rw-r--r--src/widgets/ntqheader.h4
-rw-r--r--src/widgets/ntqhgroupbox.h2
-rw-r--r--src/widgets/ntqiconview.h8
-rw-r--r--src/widgets/ntqlabel.h2
-rw-r--r--src/widgets/ntqlcdnumber.h2
-rw-r--r--src/widgets/ntqlineedit.h2
-rw-r--r--src/widgets/ntqlistbox.h8
-rw-r--r--src/widgets/ntqlistview.h8
-rw-r--r--src/widgets/ntqmainwindow.h6
-rw-r--r--src/widgets/ntqmenubar.h2
-rw-r--r--src/widgets/ntqmenudata.h6
-rw-r--r--src/widgets/ntqmultilineedit.h2
-rw-r--r--src/widgets/ntqpopupmenu.h2
-rw-r--r--src/widgets/ntqprogressbar.h2
-rw-r--r--src/widgets/ntqpushbutton.h2
-rw-r--r--src/widgets/ntqradiobutton.h2
-rw-r--r--src/widgets/ntqrangecontrol.h4
-rw-r--r--src/widgets/ntqscrollbar.h2
-rw-r--r--src/widgets/ntqscrollview.h2
-rw-r--r--src/widgets/ntqslider.h2
-rw-r--r--src/widgets/ntqspinbox.h2
-rw-r--r--src/widgets/ntqsplashscreen.h2
-rw-r--r--src/widgets/ntqsplitter.h10
-rw-r--r--src/widgets/ntqstatusbar.h2
-rw-r--r--src/widgets/ntqsyntaxhighlighter.h2
-rw-r--r--src/widgets/ntqtabbar.h4
-rw-r--r--src/widgets/ntqtabwidget.h2
-rw-r--r--src/widgets/ntqtextbrowser.h2
-rw-r--r--src/widgets/ntqtextedit.h4
-rw-r--r--src/widgets/ntqtextview.h2
-rw-r--r--src/widgets/ntqtoolbar.h2
-rw-r--r--src/widgets/ntqtoolbox.h2
-rw-r--r--src/widgets/ntqtoolbutton.h2
-rw-r--r--src/widgets/ntqtooltip.h4
-rw-r--r--src/widgets/ntqvalidator.h8
-rw-r--r--src/widgets/ntqvbox.h2
-rw-r--r--src/widgets/ntqvbuttongroup.h2
-rw-r--r--src/widgets/ntqvgroupbox.h2
-rw-r--r--src/widgets/ntqwhatsthis.h2
-rw-r--r--src/widgets/ntqwidgetplugin.h4
-rw-r--r--src/widgets/ntqwidgetstack.h2
-rw-r--r--src/widgets/qdatetimeedit.cpp2
-rw-r--r--src/widgets/qdockarea.cpp2
-rw-r--r--src/widgets/qeffects_p.h4
-rw-r--r--src/widgets/qiconview.cpp4
-rw-r--r--src/widgets/qtitlebar_p.h2
-rw-r--r--src/widgets/qwidgetplugin.cpp8
-rw-r--r--src/widgets/qwidgetresizehandler_p.h2
-rw-r--r--src/workspace/ntqworkspace.h2
-rw-r--r--src/xml/ntqdom.h2
-rw-r--r--src/xml/ntqxml.h2
-rw-r--r--src/xml/qsvgdevice_p.h2
300 files changed, 920 insertions, 920 deletions
diff --git a/src/canvas/ntqcanvas.h b/src/canvas/ntqcanvas.h
index 1b18dab4e..9bf3d729c 100644
--- a/src/canvas/ntqcanvas.h
+++ b/src/canvas/ntqcanvas.h
@@ -55,7 +55,7 @@
#define TQM_EXPORT_CANVAS
#define TQM_TEMPLATE_EXTERN_CANVAS
#else
-#define TQM_EXPORT_CANVAS Q_EXPORT
+#define TQM_EXPORT_CANVAS TQ_EXPORT
#define TQM_TEMPLATE_EXTERN_CANVAS Q_TEMPLATE_EXTERN
#endif
diff --git a/src/codecs/ntqeucjpcodec.h b/src/codecs/ntqeucjpcodec.h
index eb140e947..6ccbcddb2 100644
--- a/src/codecs/ntqeucjpcodec.h
+++ b/src/codecs/ntqeucjpcodec.h
@@ -80,7 +80,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_CODECS_JP
#else
-#define Q_EXPORT_CODECS_JP Q_EXPORT
+#define Q_EXPORT_CODECS_JP TQ_EXPORT
#endif
class Q_EXPORT_CODECS_JP TQEucJpCodec : public TQTextCodec {
diff --git a/src/codecs/ntqeuckrcodec.h b/src/codecs/ntqeuckrcodec.h
index 00b260293..fcd97a964 100644
--- a/src/codecs/ntqeuckrcodec.h
+++ b/src/codecs/ntqeuckrcodec.h
@@ -75,7 +75,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_CODECS_KR
#else
-#define Q_EXPORT_CODECS_KR Q_EXPORT
+#define Q_EXPORT_CODECS_KR TQ_EXPORT
#endif
class Q_EXPORT_CODECS_KR TQEucKrCodec : public TQTextCodec {
diff --git a/src/codecs/ntqgb18030codec.h b/src/codecs/ntqgb18030codec.h
index 5369a6c35..676a08a18 100644
--- a/src/codecs/ntqgb18030codec.h
+++ b/src/codecs/ntqgb18030codec.h
@@ -51,7 +51,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_CODECS_CN
#else
-#define Q_EXPORT_CODECS_CN Q_EXPORT
+#define Q_EXPORT_CODECS_CN TQ_EXPORT
#endif
class Q_EXPORT_CODECS_CN TQGb18030Codec : public TQTextCodec {
diff --git a/src/codecs/ntqjiscodec.h b/src/codecs/ntqjiscodec.h
index c464df003..b96d0aec2 100644
--- a/src/codecs/ntqjiscodec.h
+++ b/src/codecs/ntqjiscodec.h
@@ -80,7 +80,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_CODECS_JP
#else
-#define Q_EXPORT_CODECS_JP Q_EXPORT
+#define Q_EXPORT_CODECS_JP TQ_EXPORT
#endif
class Q_EXPORT_CODECS_JP TQJisCodec : public TQTextCodec {
diff --git a/src/codecs/ntqjpunicode.h b/src/codecs/ntqjpunicode.h
index 689c0abb0..2daa893b7 100644
--- a/src/codecs/ntqjpunicode.h
+++ b/src/codecs/ntqjpunicode.h
@@ -79,7 +79,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_CODECS_JP
#else
-#define Q_EXPORT_CODECS_JP Q_EXPORT
+#define Q_EXPORT_CODECS_JP TQ_EXPORT
#endif
class Q_EXPORT_CODECS_JP TQJpUnicodeConv {
diff --git a/src/codecs/ntqrtlcodec.h b/src/codecs/ntqrtlcodec.h
index 859da5cad..f40161250 100644
--- a/src/codecs/ntqrtlcodec.h
+++ b/src/codecs/ntqrtlcodec.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_CODEC_HEBREW
-class Q_EXPORT TQHebrewCodec : public TQTextCodec {
+class TQ_EXPORT TQHebrewCodec : public TQTextCodec {
public:
virtual int mibEnum() const;
const char* name() const;
diff --git a/src/codecs/ntqsjiscodec.h b/src/codecs/ntqsjiscodec.h
index 9187672f4..a1acc053e 100644
--- a/src/codecs/ntqsjiscodec.h
+++ b/src/codecs/ntqsjiscodec.h
@@ -80,7 +80,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_CODECS_JP
#else
-#define Q_EXPORT_CODECS_JP Q_EXPORT
+#define Q_EXPORT_CODECS_JP TQ_EXPORT
#endif
class Q_EXPORT_CODECS_JP TQSjisCodec : public TQTextCodec {
diff --git a/src/codecs/ntqtextcodec.h b/src/codecs/ntqtextcodec.h
index ad49b5870..6d0267603 100644
--- a/src/codecs/ntqtextcodec.h
+++ b/src/codecs/ntqtextcodec.h
@@ -51,19 +51,19 @@ class TQTextCodec;
class TQIODevice;
class TQFont;
-class Q_EXPORT TQTextEncoder {
+class TQ_EXPORT TQTextEncoder {
public:
virtual ~TQTextEncoder();
virtual TQCString fromUnicode(const TQString& uc, int& lenInOut) = 0;
};
-class Q_EXPORT TQTextDecoder {
+class TQ_EXPORT TQTextDecoder {
public:
virtual ~TQTextDecoder();
virtual TQString toUnicode(const char* chars, int len) = 0;
};
-class Q_EXPORT TQTextCodec {
+class TQ_EXPORT TQTextCodec {
public:
virtual ~TQTextCodec();
diff --git a/src/codecs/ntqtextcodecfactory.h b/src/codecs/ntqtextcodecfactory.h
index 947d32f7a..621e2e01b 100644
--- a/src/codecs/ntqtextcodecfactory.h
+++ b/src/codecs/ntqtextcodecfactory.h
@@ -47,7 +47,7 @@
class TQTextCodec;
-class Q_EXPORT TQTextCodecFactory
+class TQ_EXPORT TQTextCodecFactory
{
public:
static TQTextCodec *createForName( const TQString & );
diff --git a/src/codecs/ntqtextcodecplugin.h b/src/codecs/ntqtextcodecplugin.h
index 70c1ce12c..094290545 100644
--- a/src/codecs/ntqtextcodecplugin.h
+++ b/src/codecs/ntqtextcodecplugin.h
@@ -50,7 +50,7 @@
class TQTextCodec;
class TQTextCodecPluginPrivate;
-class Q_EXPORT TQTextCodecPlugin : public TQGPlugin
+class TQ_EXPORT TQTextCodecPlugin : public TQGPlugin
{
TQ_OBJECT
public:
diff --git a/src/codecs/ntqtsciicodec.h b/src/codecs/ntqtsciicodec.h
index d9486f237..bbea40f2d 100644
--- a/src/codecs/ntqtsciicodec.h
+++ b/src/codecs/ntqtsciicodec.h
@@ -74,7 +74,7 @@
#ifndef TQT_NO_CODECS
-class Q_EXPORT TQTsciiCodec : public TQTextCodec {
+class TQ_EXPORT TQTsciiCodec : public TQTextCodec {
public:
virtual int mibEnum() const;
const char* name() const;
diff --git a/src/codecs/ntqutfcodec.h b/src/codecs/ntqutfcodec.h
index 9c6408af1..c6303a3c4 100644
--- a/src/codecs/ntqutfcodec.h
+++ b/src/codecs/ntqutfcodec.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_TEXTCODEC
-class Q_EXPORT TQUtf8Codec : public TQTextCodec {
+class TQ_EXPORT TQUtf8Codec : public TQTextCodec {
public:
virtual int mibEnum() const;
const char* name() const;
@@ -63,7 +63,7 @@ public:
int heuristicContentMatch(const char* chars, int len) const;
};
-class Q_EXPORT TQUtf16Codec : public TQTextCodec {
+class TQ_EXPORT TQUtf16Codec : public TQTextCodec {
public:
virtual int mibEnum() const;
const char* name() const;
diff --git a/src/codecs/qtextcodecinterface_p.h b/src/codecs/qtextcodecinterface_p.h
index cba2cdd61..5a8baa04a 100644
--- a/src/codecs/qtextcodecinterface_p.h
+++ b/src/codecs/qtextcodecinterface_p.h
@@ -68,7 +68,7 @@ class TQTextCodec;
#endif
-struct Q_EXPORT TQTextCodecFactoryInterface : public TQFeatureListInterface
+struct TQ_EXPORT TQTextCodecFactoryInterface : public TQFeatureListInterface
{
virtual TQTextCodec *createForMib( int mib ) = 0;
virtual TQTextCodec *createForName( const TQString &name ) = 0;
diff --git a/src/codecs/qtextcodecplugin.cpp b/src/codecs/qtextcodecplugin.cpp
index e4f0d6afe..d59e8684d 100644
--- a/src/codecs/qtextcodecplugin.cpp
+++ b/src/codecs/qtextcodecplugin.cpp
@@ -55,7 +55,7 @@
Writing a text codec plugin is achieved by subclassing this base
class, reimplementing the pure virtual functions names(),
createForName(), mibEnums() and createForMib(), and exporting the
- class with the \c Q_EXPORT_PLUGIN macro. See the \link
+ class with the \c TQ_EXPORT_PLUGIN macro. See the \link
plugins-howto.html TQt Plugins documentation \endlink for details.
See the \link http://www.iana.org/assignments/character-sets IANA
@@ -166,7 +166,7 @@ TQTextCodec *TQTextCodecPluginPrivate::createForName( const TQString &name )
/*!
Constructs a text codec plugin. This is invoked automatically by
- the \c Q_EXPORT_PLUGIN macro.
+ the \c TQ_EXPORT_PLUGIN macro.
*/
TQTextCodecPlugin::TQTextCodecPlugin()
: TQGPlugin( d = new TQTextCodecPluginPrivate( this ) )
diff --git a/src/dialogs/ntqcolordialog.h b/src/dialogs/ntqcolordialog.h
index 07c695fe8..0941a020d 100644
--- a/src/dialogs/ntqcolordialog.h
+++ b/src/dialogs/ntqcolordialog.h
@@ -49,7 +49,7 @@
class TQColorDialogPrivate;
-class Q_EXPORT TQColorDialog : public TQDialog
+class TQ_EXPORT TQColorDialog : public TQDialog
{
TQ_OBJECT
diff --git a/src/dialogs/ntqdialog.h b/src/dialogs/ntqdialog.h
index dc20b730d..37582e557 100644
--- a/src/dialogs/ntqdialog.h
+++ b/src/dialogs/ntqdialog.h
@@ -52,7 +52,7 @@ TQ_OBJECT
class TQPushButton;
class TQDialogPrivate;
-class Q_EXPORT TQDialog : public TQWidget
+class TQ_EXPORT TQDialog : public TQWidget
{
friend class TQPushButton;
TQ_OBJECT
diff --git a/src/dialogs/ntqerrormessage.h b/src/dialogs/ntqerrormessage.h
index f17db5ea2..6c776d2d5 100644
--- a/src/dialogs/ntqerrormessage.h
+++ b/src/dialogs/ntqerrormessage.h
@@ -54,7 +54,7 @@ class TQStringList;
template<class type> class TQDict;
-class Q_EXPORT TQErrorMessage: public TQDialog {
+class TQ_EXPORT TQErrorMessage: public TQDialog {
TQ_OBJECT
public:
TQErrorMessage( TQWidget* parent, const char* name=0 );
diff --git a/src/dialogs/ntqfiledialog.h b/src/dialogs/ntqfiledialog.h
index a26cdd662..a2eb6324e 100644
--- a/src/dialogs/ntqfiledialog.h
+++ b/src/dialogs/ntqfiledialog.h
@@ -67,7 +67,7 @@ class TQFileDialogTQFileListView;
#ifndef TQT_NO_FILEDIALOG
-class Q_EXPORT TQFileIconProvider : public TQObject
+class TQ_EXPORT TQFileIconProvider : public TQObject
{
TQ_OBJECT
public:
@@ -81,7 +81,7 @@ private: // Disabled copy constructor and operator=
#endif
};
-class Q_EXPORT TQFilePreview
+class TQ_EXPORT TQFilePreview
{
public:
TQFilePreview();
@@ -89,7 +89,7 @@ public:
};
-class Q_EXPORT TQFileDialog : public TQDialog
+class TQ_EXPORT TQFileDialog : public TQDialog
{
TQ_OBJECT
TQ_ENUMS( Mode ViewMode PreviewMode )
diff --git a/src/dialogs/ntqfontdialog.h b/src/dialogs/ntqfontdialog.h
index 88321cb42..743738170 100644
--- a/src/dialogs/ntqfontdialog.h
+++ b/src/dialogs/ntqfontdialog.h
@@ -62,7 +62,7 @@
class TQFontDialogPrivate;
-class Q_EXPORT TQFontDialog: public TQDialog
+class TQ_EXPORT TQFontDialog: public TQDialog
{
TQ_OBJECT
diff --git a/src/dialogs/ntqinputdialog.h b/src/dialogs/ntqinputdialog.h
index afbdf0f1a..125b3556d 100644
--- a/src/dialogs/ntqinputdialog.h
+++ b/src/dialogs/ntqinputdialog.h
@@ -53,7 +53,7 @@ class TQSpinBox;
class TQComboBox;
class TQInputDialogPrivate;
-class Q_EXPORT TQInputDialog : public TQDialog
+class TQ_EXPORT TQInputDialog : public TQDialog
{
TQ_OBJECT
diff --git a/src/dialogs/ntqmessagebox.h b/src/dialogs/ntqmessagebox.h
index e41f20101..b4fc27d8f 100644
--- a/src/dialogs/ntqmessagebox.h
+++ b/src/dialogs/ntqmessagebox.h
@@ -51,7 +51,7 @@ class TQLabel;
class TQPushButton;
struct TQMessageBoxData;
-class Q_EXPORT TQMessageBox : public TQDialog
+class TQ_EXPORT TQMessageBox : public TQDialog
{
TQ_OBJECT
TQ_ENUMS( Icon )
diff --git a/src/dialogs/ntqprintdialog.h b/src/dialogs/ntqprintdialog.h
index 696897602..c578e0ff3 100644
--- a/src/dialogs/ntqprintdialog.h
+++ b/src/dialogs/ntqprintdialog.h
@@ -51,7 +51,7 @@ class TQGroupBox;
class TQPrintDialogPrivate;
class TQListView;
-class Q_EXPORT TQPrintDialog : public TQDialog
+class TQ_EXPORT TQPrintDialog : public TQDialog
{
TQ_OBJECT
public:
diff --git a/src/dialogs/ntqprogressdialog.h b/src/dialogs/ntqprogressdialog.h
index effc6c965..eb5e065a1 100644
--- a/src/dialogs/ntqprogressdialog.h
+++ b/src/dialogs/ntqprogressdialog.h
@@ -53,7 +53,7 @@ class TQPushButton;
class TQTimer;
class TQProgressDialogData;
-class Q_EXPORT TQProgressDialog : public TQDialog
+class TQ_EXPORT TQProgressDialog : public TQDialog
{
TQ_OBJECT
TQ_PROPERTY( bool wasCancelled READ wasCancelled DESIGNABLE false STORED false ) // ### remove in 4.0
diff --git a/src/dialogs/ntqtabdialog.h b/src/dialogs/ntqtabdialog.h
index dd91a4bcd..8d6b67ccd 100644
--- a/src/dialogs/ntqtabdialog.h
+++ b/src/dialogs/ntqtabdialog.h
@@ -52,7 +52,7 @@ class TQTabBar;
class TQTab;
class TQTabDialogPrivate;
-class Q_EXPORT TQTabDialog : public TQDialog
+class TQ_EXPORT TQTabDialog : public TQDialog
{
TQ_OBJECT
public:
diff --git a/src/dialogs/ntqwizard.h b/src/dialogs/ntqwizard.h
index 281ab3f7d..b09e90202 100644
--- a/src/dialogs/ntqwizard.h
+++ b/src/dialogs/ntqwizard.h
@@ -51,7 +51,7 @@
class TQHBoxLayout;
class TQWizardPrivate;
-class Q_EXPORT TQWizard : public TQDialog
+class TQ_EXPORT TQWizard : public TQDialog
{
TQ_OBJECT
TQ_PROPERTY( TQFont titleFont READ titleFont WRITE setTitleFont )
diff --git a/src/dialogs/qfiledialog.cpp b/src/dialogs/qfiledialog.cpp
index 6de17f9db..835742d2a 100644
--- a/src/dialogs/qfiledialog.cpp
+++ b/src/dialogs/qfiledialog.cpp
@@ -3398,7 +3398,7 @@ void TQFileDialog::rereadDir()
*/
extern bool tqt_resolve_symlinks; // defined in qapplication.cpp
-bool Q_EXPORT tqt_use_native_dialogs = TRUE;
+bool TQ_EXPORT tqt_use_native_dialogs = TRUE;
/*!
This is a convenience static function that returns an existing file
diff --git a/src/embedded/qgfxdriverinterface_p.h b/src/embedded/qgfxdriverinterface_p.h
index 310f2262e..55a3c0b23 100644
--- a/src/embedded/qgfxdriverinterface_p.h
+++ b/src/embedded/qgfxdriverinterface_p.h
@@ -64,7 +64,7 @@
class TQScreen;
-struct Q_EXPORT TQGfxDriverInterface : public TQFeatureListInterface
+struct TQ_EXPORT TQGfxDriverInterface : public TQFeatureListInterface
{
virtual TQScreen* create( const TQString& driver, int displayId ) = 0;
};
diff --git a/src/embedded/qkbddriverinterface_p.h b/src/embedded/qkbddriverinterface_p.h
index 002d70141..9ab7f0c6b 100644
--- a/src/embedded/qkbddriverinterface_p.h
+++ b/src/embedded/qkbddriverinterface_p.h
@@ -64,7 +64,7 @@
class TQWSKeyboardHandler;
-struct Q_EXPORT TQKbdDriverInterface : public TQFeatureListInterface
+struct TQ_EXPORT TQKbdDriverInterface : public TQFeatureListInterface
{
virtual TQWSKeyboardHandler* create( const TQString& driver, const TQString& device ) = 0;
};
diff --git a/src/embedded/qmousedriverinterface_p.h b/src/embedded/qmousedriverinterface_p.h
index d4caea4b5..b07cdcde5 100644
--- a/src/embedded/qmousedriverinterface_p.h
+++ b/src/embedded/qmousedriverinterface_p.h
@@ -64,7 +64,7 @@
class TQWSMouseHandler;
-struct Q_EXPORT TQMouseDriverInterface : public TQFeatureListInterface
+struct TQ_EXPORT TQMouseDriverInterface : public TQFeatureListInterface
{
virtual TQWSMouseHandler* create( const TQString& driver, const TQString &device ) = 0;
};
diff --git a/src/inputmethod/ntqinputcontextfactory.h b/src/inputmethod/ntqinputcontextfactory.h
index 9e0160630..ed3536f10 100644
--- a/src/inputmethod/ntqinputcontextfactory.h
+++ b/src/inputmethod/ntqinputcontextfactory.h
@@ -45,7 +45,7 @@
class TQInputContext;
class TQWidget;
-class Q_EXPORT TQInputContextFactory
+class TQ_EXPORT TQInputContextFactory
{
public:
static TQStringList keys();
diff --git a/src/inputmethod/ntqinputcontextplugin.h b/src/inputmethod/ntqinputcontextplugin.h
index 5c99341de..4026b9cf3 100644
--- a/src/inputmethod/ntqinputcontextplugin.h
+++ b/src/inputmethod/ntqinputcontextplugin.h
@@ -47,7 +47,7 @@
class TQInputContext;
class TQInputContextPluginPrivate;
-class Q_EXPORT TQInputContextPlugin : public TQGPlugin
+class TQ_EXPORT TQInputContextPlugin : public TQGPlugin
{
TQ_OBJECT
public:
diff --git a/src/inputmethod/qinputcontextinterface_p.h b/src/inputmethod/qinputcontextinterface_p.h
index fc2b50969..d42f81c50 100644
--- a/src/inputmethod/qinputcontextinterface_p.h
+++ b/src/inputmethod/qinputcontextinterface_p.h
@@ -73,7 +73,7 @@ class TQInputContext;
#define IID_QInputContextFactory TQUuid(0x9ef05c7f, 0x0272, 0x11d9, 0x84, 0x6c, 0x00, 0x0d, 0x60, 0x77, 0xa7, 0x8d)
#endif
-struct Q_EXPORT TQInputContextFactoryInterface : public TQFeatureListInterface
+struct TQ_EXPORT TQInputContextFactoryInterface : public TQFeatureListInterface
{
virtual TQInputContext *create( const TQString &key ) = 0;
virtual TQStringList languages( const TQString &key ) = 0;
diff --git a/src/inputmethod/qinputcontextplugin.cpp b/src/inputmethod/qinputcontextplugin.cpp
index 452d9238e..1e2a6701e 100644
--- a/src/inputmethod/qinputcontextplugin.cpp
+++ b/src/inputmethod/qinputcontextplugin.cpp
@@ -55,7 +55,7 @@
Writing a input context plugin is achieved by subclassing this
base class, reimplementing the pure virtual functions keys(),
create(), languages(), displayName() description() and exporting
- the class with the \c Q_EXPORT_PLUGIN macro. See the \link
+ the class with the \c TQ_EXPORT_PLUGIN macro. See the \link
plugins-howto.html TQt Plugins documentation \endlink for details.
\sa TQInputContext
@@ -209,7 +209,7 @@ TQString TQInputContextPluginPrivate::description( const TQString &key )
/*!
Constructs a input context plugin. This is invoked automatically by the
- \c Q_EXPORT_PLUGIN macro.
+ \c TQ_EXPORT_PLUGIN macro.
*/
TQInputContextPlugin::TQInputContextPlugin()
: TQGPlugin( d = new TQInputContextPluginPrivate( this ) )
diff --git a/src/kernel/ntqaccel.h b/src/kernel/ntqaccel.h
index 42ee4f77a..ef578242a 100644
--- a/src/kernel/ntqaccel.h
+++ b/src/kernel/ntqaccel.h
@@ -50,7 +50,7 @@
class TQAccelPrivate;
-class Q_EXPORT TQAccel : public TQObject // accelerator class
+class TQ_EXPORT TQAccel : public TQObject // accelerator class
{
TQ_OBJECT
public:
diff --git a/src/kernel/ntqaccessible.h b/src/kernel/ntqaccessible.h
index 7df830ffd..fb826d4f0 100644
--- a/src/kernel/ntqaccessible.h
+++ b/src/kernel/ntqaccessible.h
@@ -51,7 +51,7 @@
struct TQAccessibleInterface;
-class Q_EXPORT TQAccessible
+class TQ_EXPORT TQAccessible
{
private:
#ifdef Q_WS_MAC
@@ -231,7 +231,7 @@ public:
// {EC86CB9C-5DA0-4c43-A739-13EBDF1C6B14}
#define IID_QAccessible TQUuid( 0xec86cb9c, 0x5da0, 0x4c43, 0xa7, 0x39, 0x13, 0xeb, 0xdf, 0x1c, 0x6b, 0x14 )
-struct Q_EXPORT TQAccessibleInterface : public TQAccessible, public TQUnknownInterface
+struct TQ_EXPORT TQAccessibleInterface : public TQAccessible, public TQUnknownInterface
{
// check for valid pointers
virtual bool isValid() const = 0;
@@ -265,12 +265,12 @@ struct Q_EXPORT TQAccessibleInterface : public TQAccessible, public TQUnknownInt
#define IID_QAccessibleFactory TQUuid( 0x49f4c6a7, 0x412f, 0x41de, 0x9e, 0x24, 0x64, 0x88, 0x43, 0x42, 0x1f, 0xd3 )
#endif
-struct Q_EXPORT TQAccessibleFactoryInterface : public TQAccessible, public TQFeatureListInterface
+struct TQ_EXPORT TQAccessibleFactoryInterface : public TQAccessible, public TQFeatureListInterface
{
virtual TQRESULT createAccessibleInterface( const TQString &, TQObject *, TQAccessibleInterface** ) = 0;
};
-class Q_EXPORT TQAccessibleObject : public TQObject, public TQAccessibleInterface
+class TQ_EXPORT TQAccessibleObject : public TQObject, public TQAccessibleInterface
{
public:
TQAccessibleObject( TQObject *object );
diff --git a/src/kernel/ntqapplication.h b/src/kernel/ntqapplication.h
index e00289ab6..d657e2647 100644
--- a/src/kernel/ntqapplication.h
+++ b/src/kernel/ntqapplication.h
@@ -68,10 +68,10 @@ class TQThread;
class TQApplication;
-extern Q_EXPORT TQApplication *tqApp; // global application object
+extern TQ_EXPORT TQApplication *tqApp; // global application object
-class Q_EXPORT TQApplication : public TQObject
+class TQ_EXPORT TQApplication : public TQObject
{
TQ_OBJECT
public:
@@ -441,7 +441,7 @@ private:
#endif // TQT_THREAD_SUPPORT
friend class TQTranslator;
friend class TQEventLoop;
- friend Q_EXPORT void tqt_ucm_initialize( TQApplication * );
+ friend TQ_EXPORT void tqt_ucm_initialize( TQApplication * );
#if defined(Q_WS_WIN)
friend bool qt_sendSpontaneousEvent( TQObject*, TQEvent* );
#endif
diff --git a/src/kernel/ntqasyncimageio.h b/src/kernel/ntqasyncimageio.h
index b307490ea..54255978a 100644
--- a/src/kernel/ntqasyncimageio.h
+++ b/src/kernel/ntqasyncimageio.h
@@ -51,7 +51,7 @@
#pragma GCC system_header
#endif
-class Q_EXPORT TQImageConsumer {
+class TQ_EXPORT TQImageConsumer {
public:
virtual void end()=0;
@@ -67,14 +67,14 @@ public:
virtual void setSize( int, int ) = 0;
};
-class Q_EXPORT TQImageFormat {
+class TQ_EXPORT TQImageFormat {
public:
virtual ~TQImageFormat();
virtual int decode( TQImage& img, TQImageConsumer* consumer,
const uchar* buffer, int length ) = 0;
};
-class Q_EXPORT TQImageFormatType {
+class TQ_EXPORT TQImageFormatType {
public:
virtual ~TQImageFormatType();
virtual TQImageFormat* decoderFor( const uchar* buffer, int length ) = 0;
@@ -84,7 +84,7 @@ protected:
};
class TQImageDecoderPrivate;
-class Q_EXPORT TQImageDecoder {
+class TQ_EXPORT TQImageDecoder {
public:
TQImageDecoder( TQImageConsumer* c );
~TQImageDecoder();
diff --git a/src/kernel/ntqasyncio.h b/src/kernel/ntqasyncio.h
index b585032f4..1fea830be 100644
--- a/src/kernel/ntqasyncio.h
+++ b/src/kernel/ntqasyncio.h
@@ -51,7 +51,7 @@
class TQIODevice;
-class Q_EXPORT TQAsyncIO {
+class TQ_EXPORT TQAsyncIO {
public:
virtual ~TQAsyncIO();
void connect(TQObject*, const char *member);
@@ -63,7 +63,7 @@ private:
TQSignal signal;
};
-class Q_EXPORT TQDataSink : public TQAsyncIO {
+class TQ_EXPORT TQDataSink : public TQAsyncIO {
public:
// Call this to know how much I can take.
virtual int readyToReceive()=0;
@@ -72,7 +72,7 @@ public:
void maybeReady();
};
-class Q_EXPORT TQDataSource : public TQAsyncIO {
+class TQ_EXPORT TQDataSource : public TQAsyncIO {
public:
virtual int readyToSend()=0; // returns -1 when never any more ready
virtual void sendTo(TQDataSink*, int count)=0;
@@ -83,7 +83,7 @@ public:
virtual void rewind();
};
-class Q_EXPORT TQIODeviceSource : public TQDataSource {
+class TQ_EXPORT TQIODeviceSource : public TQDataSource {
const int buf_size;
uchar *buffer;
TQIODevice* iod;
@@ -100,7 +100,7 @@ public:
void rewind();
};
-class Q_EXPORT TQDataPump : public TQObject {
+class TQ_EXPORT TQDataPump : public TQObject {
TQ_OBJECT
int interval;
TQTimer timer;
diff --git a/src/kernel/ntqbitmap.h b/src/kernel/ntqbitmap.h
index a4e49a362..22307b551 100644
--- a/src/kernel/ntqbitmap.h
+++ b/src/kernel/ntqbitmap.h
@@ -46,7 +46,7 @@
#endif // QT_H
-class Q_EXPORT TQBitmap : public TQPixmap
+class TQ_EXPORT TQBitmap : public TQPixmap
{
public:
TQBitmap();
diff --git a/src/kernel/ntqbrush.h b/src/kernel/ntqbrush.h
index 6c13f2308..93b375a68 100644
--- a/src/kernel/ntqbrush.h
+++ b/src/kernel/ntqbrush.h
@@ -47,7 +47,7 @@
#endif // QT_H
-class Q_EXPORT TQBrush: public TQt
+class TQ_EXPORT TQBrush: public TQt
{
friend class TQPainter;
public:
@@ -87,8 +87,8 @@ private:
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQBrush & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQBrush & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQBrush & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQBrush & );
#endif
#endif // TQBRUSH_H
diff --git a/src/kernel/ntqclipboard.h b/src/kernel/ntqclipboard.h
index 34e9ed509..390508889 100644
--- a/src/kernel/ntqclipboard.h
+++ b/src/kernel/ntqclipboard.h
@@ -50,7 +50,7 @@
class TQMimeSource;
-class Q_EXPORT TQClipboard : public TQObject
+class TQ_EXPORT TQClipboard : public TQObject
{
TQ_OBJECT
private:
diff --git a/src/kernel/ntqcolor.h b/src/kernel/ntqcolor.h
index 30acc281f..d45dd4f5a 100644
--- a/src/kernel/ntqcolor.h
+++ b/src/kernel/ntqcolor.h
@@ -48,32 +48,32 @@
const TQRgb TQT_RGB_MASK = 0x00ffffff; // masks RGB values
-Q_EXPORT inline int tqRed( TQRgb rgb ) // get red part of RGB
+TQ_EXPORT inline int tqRed( TQRgb rgb ) // get red part of RGB
{ return (int)((rgb >> 16) & 0xff); }
-Q_EXPORT inline int tqGreen( TQRgb rgb ) // get green part of RGB
+TQ_EXPORT inline int tqGreen( TQRgb rgb ) // get green part of RGB
{ return (int)((rgb >> 8) & 0xff); }
-Q_EXPORT inline int tqBlue( TQRgb rgb ) // get blue part of RGB
+TQ_EXPORT inline int tqBlue( TQRgb rgb ) // get blue part of RGB
{ return (int)(rgb & 0xff); }
-Q_EXPORT inline int tqAlpha( TQRgb rgb ) // get alpha part of RGBA
+TQ_EXPORT inline int tqAlpha( TQRgb rgb ) // get alpha part of RGBA
{ return (int)((rgb >> 24) & 0xff); }
-Q_EXPORT inline TQRgb tqRgb( int r, int g, int b )// set RGB value
+TQ_EXPORT inline TQRgb tqRgb( int r, int g, int b )// set RGB value
{ return (0xff << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); }
-Q_EXPORT inline TQRgb tqRgba( int r, int g, int b, int a )// set RGBA value
+TQ_EXPORT inline TQRgb tqRgba( int r, int g, int b, int a )// set RGBA value
{ return ((a & 0xff) << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); }
-Q_EXPORT inline int tqGray( int r, int g, int b )// convert R,G,B to gray 0..255
+TQ_EXPORT inline int tqGray( int r, int g, int b )// convert R,G,B to gray 0..255
{ return (r*11+g*16+b*5)/32; }
-Q_EXPORT inline int tqGray( TQRgb rgb ) // convert RGB to gray 0..255
+TQ_EXPORT inline int tqGray( TQRgb rgb ) // convert RGB to gray 0..255
{ return tqGray( tqRed(rgb), tqGreen(rgb), tqBlue(rgb) ); }
-class Q_EXPORT TQColor
+class TQ_EXPORT TQColor
{
public:
enum Spec { Rgb, Hsv };
@@ -222,8 +222,8 @@ inline bool TQColor::operator!=( const TQColor &c ) const
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQColor & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQColor & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQColor & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQColor & );
#endif
#endif // TQCOLOR_H
diff --git a/src/kernel/ntqconnection.h b/src/kernel/ntqconnection.h
index e505fcd7b..b259d9866 100644
--- a/src/kernel/ntqconnection.h
+++ b/src/kernel/ntqconnection.h
@@ -45,7 +45,7 @@
#include "ntqobject.h"
#endif // QT_H
-class Q_EXPORT TQConnection
+class TQ_EXPORT TQConnection
{
public:
TQConnection( const TQObject *, int, const char *memberName, int memberType );
diff --git a/src/kernel/ntqcursor.h b/src/kernel/ntqcursor.h
index 38f55c48c..8e7b10ce2 100644
--- a/src/kernel/ntqcursor.h
+++ b/src/kernel/ntqcursor.h
@@ -51,7 +51,7 @@
*/
#ifdef TQT_NO_CURSOR
-class Q_EXPORT TQCursor : public TQt
+class TQ_EXPORT TQCursor : public TQt
{
public:
static TQPoint pos();
@@ -68,7 +68,7 @@ private:
struct TQCursorData;
-class Q_EXPORT TQCursor : public TQt
+class TQ_EXPORT TQCursor : public TQt
{
public:
TQCursor(); // create default arrow cursor
@@ -126,8 +126,8 @@ private:
TQCursor stream functions
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQCursor & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQCursor & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQCursor & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQCursor & );
#endif
#endif // TQT_NO_CURSOR
diff --git a/src/kernel/ntqdesktopwidget.h b/src/kernel/ntqdesktopwidget.h
index 9fd400458..51fbc8230 100644
--- a/src/kernel/ntqdesktopwidget.h
+++ b/src/kernel/ntqdesktopwidget.h
@@ -46,7 +46,7 @@
class TQApplication;
class TQDesktopWidgetPrivate; /* Don't touch! */
-class Q_EXPORT TQDesktopWidget : public TQWidget
+class TQ_EXPORT TQDesktopWidget : public TQWidget
{
TQ_OBJECT
public:
diff --git a/src/kernel/ntqdragobject.h b/src/kernel/ntqdragobject.h
index a255d0fe5..bc63a07d5 100644
--- a/src/kernel/ntqdragobject.h
+++ b/src/kernel/ntqdragobject.h
@@ -54,7 +54,7 @@ class TQImageDragData;
#ifndef TQT_NO_MIME
-class Q_EXPORT TQDragObject: public TQObject, public TQMimeSource {
+class TQ_EXPORT TQDragObject: public TQObject, public TQMimeSource {
TQ_OBJECT
public:
TQDragObject( TQWidget * dragSource = 0, const char * name = 0 );
@@ -92,7 +92,7 @@ private:
#endif
};
-class Q_EXPORT TQStoredDrag: public TQDragObject {
+class TQ_EXPORT TQStoredDrag: public TQDragObject {
TQ_OBJECT
TQStoredDragData * d;
@@ -113,7 +113,7 @@ private:
#endif
};
-class Q_EXPORT TQTextDrag: public TQDragObject {
+class TQ_EXPORT TQTextDrag: public TQDragObject {
TQ_OBJECT
TQTextDragPrivate* d;
public:
@@ -139,7 +139,7 @@ private:
#endif
};
-class Q_EXPORT TQImageDrag: public TQDragObject {
+class TQ_EXPORT TQImageDrag: public TQDragObject {
TQ_OBJECT
TQImage img;
TQStrList ofmts;
@@ -167,7 +167,7 @@ private:
};
-class Q_EXPORT TQUriDrag: public TQStoredDrag {
+class TQ_EXPORT TQUriDrag: public TQStoredDrag {
TQ_OBJECT
public:
@@ -196,7 +196,7 @@ private:
#endif
};
-class Q_EXPORT TQColorDrag : public TQStoredDrag
+class TQ_EXPORT TQColorDrag : public TQStoredDrag
{
TQ_OBJECT
TQColor color;
@@ -227,7 +227,7 @@ typedef TQUriDrag TQUrlDrag;
// member functions.
//
-class Q_EXPORT TQDragManager: public TQObject {
+class TQ_EXPORT TQDragManager: public TQObject {
TQ_OBJECT
private:
diff --git a/src/kernel/ntqdrawutil.h b/src/kernel/ntqdrawutil.h
index c315cb5b2..fb6f70257 100644
--- a/src/kernel/ntqdrawutil.h
+++ b/src/kernel/ntqdrawutil.h
@@ -58,52 +58,52 @@ class TQPixmap;
// Standard shade drawing
//
-Q_EXPORT void qDrawShadeLine( TQPainter *p, int x1, int y1, int x2, int y2,
+TQ_EXPORT void qDrawShadeLine( TQPainter *p, int x1, int y1, int x2, int y2,
const TQColorGroup &g, bool sunken = TRUE,
int lineWidth = 1, int midLineWidth = 0 );
-Q_EXPORT void qDrawShadeLine( TQPainter *p, const TQPoint &p1, const TQPoint &p2,
+TQ_EXPORT void qDrawShadeLine( TQPainter *p, const TQPoint &p1, const TQPoint &p2,
const TQColorGroup &g, bool sunken = TRUE,
int lineWidth = 1, int midLineWidth = 0 );
-Q_EXPORT void qDrawShadeRect( TQPainter *p, int x, int y, int w, int h,
+TQ_EXPORT void qDrawShadeRect( TQPainter *p, int x, int y, int w, int h,
const TQColorGroup &, bool sunken=FALSE,
int lineWidth = 1, int midLineWidth = 0,
const TQBrush *fill = 0 );
-Q_EXPORT void qDrawShadeRect( TQPainter *p, const TQRect &r,
+TQ_EXPORT void qDrawShadeRect( TQPainter *p, const TQRect &r,
const TQColorGroup &, bool sunken=FALSE,
int lineWidth = 1, int midLineWidth = 0,
const TQBrush *fill = 0 );
-Q_EXPORT void qDrawShadePanel( TQPainter *p, int x, int y, int w, int h,
+TQ_EXPORT void qDrawShadePanel( TQPainter *p, int x, int y, int w, int h,
const TQColorGroup &, bool sunken=FALSE,
int lineWidth = 1, const TQBrush *fill = 0 );
-Q_EXPORT void qDrawShadePanel( TQPainter *p, const TQRect &r,
+TQ_EXPORT void qDrawShadePanel( TQPainter *p, const TQRect &r,
const TQColorGroup &, bool sunken=FALSE,
int lineWidth = 1, const TQBrush *fill = 0 );
-Q_EXPORT void qDrawWinButton( TQPainter *p, int x, int y, int w, int h,
+TQ_EXPORT void qDrawWinButton( TQPainter *p, int x, int y, int w, int h,
const TQColorGroup &g, bool sunken = FALSE,
const TQBrush *fill = 0 );
-Q_EXPORT void qDrawWinButton( TQPainter *p, const TQRect &r,
+TQ_EXPORT void qDrawWinButton( TQPainter *p, const TQRect &r,
const TQColorGroup &g, bool sunken = FALSE,
const TQBrush *fill = 0 );
-Q_EXPORT void qDrawWinPanel( TQPainter *p, int x, int y, int w, int h,
+TQ_EXPORT void qDrawWinPanel( TQPainter *p, int x, int y, int w, int h,
const TQColorGroup &, bool sunken=FALSE,
const TQBrush *fill = 0 );
-Q_EXPORT void qDrawWinPanel( TQPainter *p, const TQRect &r,
+TQ_EXPORT void qDrawWinPanel( TQPainter *p, const TQRect &r,
const TQColorGroup &, bool sunken=FALSE,
const TQBrush *fill = 0 );
-Q_EXPORT void qDrawPlainRect( TQPainter *p, int x, int y, int w, int h, const TQColor &,
+TQ_EXPORT void qDrawPlainRect( TQPainter *p, int x, int y, int w, int h, const TQColor &,
int lineWidth = 1, const TQBrush *fill = 0 );
-Q_EXPORT void qDrawPlainRect( TQPainter *p, const TQRect &r, const TQColor &,
+TQ_EXPORT void qDrawPlainRect( TQPainter *p, const TQRect &r, const TQColor &,
int lineWidth = 1, const TQBrush *fill = 0 );
@@ -111,16 +111,16 @@ Q_EXPORT void qDrawPlainRect( TQPainter *p, const TQRect &r, const TQColor &,
// Other obsolete drawing functions.
// Use TQStyle::itemRect(), TQStyle::drawItem() and TQStyle::drawArrow() instead.
//
-Q_EXPORT TQRect qItemRect( TQPainter *p, TQt::GUIStyle gs, int x, int y, int w, int h,
+TQ_EXPORT TQRect qItemRect( TQPainter *p, TQt::GUIStyle gs, int x, int y, int w, int h,
int flags, bool enabled,
const TQPixmap *pixmap, const TQString& text, int len=-1 );
-Q_EXPORT void qDrawItem( TQPainter *p, TQt::GUIStyle gs, int x, int y, int w, int h,
+TQ_EXPORT void qDrawItem( TQPainter *p, TQt::GUIStyle gs, int x, int y, int w, int h,
int flags, const TQColorGroup &g, bool enabled,
const TQPixmap *pixmap, const TQString& text,
int len=-1, const TQColor* penColor = 0 );
-Q_EXPORT void qDrawArrow( TQPainter *p, TQt::ArrowType type, TQt::GUIStyle style, bool down,
+TQ_EXPORT void qDrawArrow( TQPainter *p, TQt::ArrowType type, TQt::GUIStyle style, bool down,
int x, int y, int w, int h,
const TQColorGroup &g, bool enabled );
diff --git a/src/kernel/ntqdropsite.h b/src/kernel/ntqdropsite.h
index 952be802c..3e95cdc3f 100644
--- a/src/kernel/ntqdropsite.h
+++ b/src/kernel/ntqdropsite.h
@@ -49,7 +49,7 @@
class TQWidget;
-class Q_EXPORT TQDropSite {
+class TQ_EXPORT TQDropSite {
public:
TQDropSite( TQWidget* parent );
virtual ~TQDropSite();
diff --git a/src/kernel/ntqevent.h b/src/kernel/ntqevent.h
index d5db5ce82..ae344371e 100644
--- a/src/kernel/ntqevent.h
+++ b/src/kernel/ntqevent.h
@@ -49,7 +49,7 @@
#include "ntqpair.h"
#endif // QT_H
-class Q_EXPORT TQEvent: public TQt // event base class
+class TQ_EXPORT TQEvent: public TQt // event base class
{
public:
enum Type {
@@ -162,7 +162,7 @@ private:
};
-class Q_EXPORT TQTimerEvent : public TQEvent
+class TQ_EXPORT TQTimerEvent : public TQEvent
{
public:
TQTimerEvent( int timerId )
@@ -173,7 +173,7 @@ protected:
};
-class Q_EXPORT TQMouseEvent : public TQEvent
+class TQ_EXPORT TQMouseEvent : public TQEvent
{
public:
TQMouseEvent( Type type, const TQPoint &pos, int button, int state );
@@ -204,7 +204,7 @@ protected:
#ifndef TQT_NO_WHEELEVENT
-class Q_EXPORT TQWheelEvent : public TQEvent
+class TQ_EXPORT TQWheelEvent : public TQEvent
{
public:
TQWheelEvent( const TQPoint &pos, int delta, int state, Orientation orient = Vertical );
@@ -233,7 +233,7 @@ protected:
};
#endif
-class Q_EXPORT TQTabletEvent : public TQEvent
+class TQ_EXPORT TQTabletEvent : public TQEvent
{
public:
enum TabletDevice { NoDevice = -1, Puck, Stylus, Eraser };
@@ -272,7 +272,7 @@ protected:
};
-class Q_EXPORT TQKeyEvent : public TQEvent
+class TQ_EXPORT TQKeyEvent : public TQEvent
{
public:
TQKeyEvent( Type type, int key, int ascii, int state,
@@ -304,7 +304,7 @@ protected:
};
-class Q_EXPORT TQFocusEvent : public TQEvent
+class TQ_EXPORT TQFocusEvent : public TQEvent
{
public:
@@ -325,7 +325,7 @@ private:
};
-class Q_EXPORT TQPaintEvent : public TQEvent
+class TQ_EXPORT TQPaintEvent : public TQEvent
{
public:
TQPaintEvent( const TQRegion& paintRegion, bool erased = TRUE)
@@ -356,7 +356,7 @@ protected:
};
-class Q_EXPORT TQMoveEvent : public TQEvent
+class TQ_EXPORT TQMoveEvent : public TQEvent
{
public:
TQMoveEvent( const TQPoint &pos, const TQPoint &oldPos )
@@ -370,7 +370,7 @@ protected:
};
-class Q_EXPORT TQResizeEvent : public TQEvent
+class TQ_EXPORT TQResizeEvent : public TQEvent
{
public:
TQResizeEvent( const TQSize &size, const TQSize &oldSize )
@@ -384,7 +384,7 @@ protected:
};
-class Q_EXPORT TQCloseEvent : public TQEvent
+class TQ_EXPORT TQCloseEvent : public TQEvent
{
public:
TQCloseEvent()
@@ -397,7 +397,7 @@ protected:
};
-class Q_EXPORT TQIconDragEvent : public TQEvent
+class TQ_EXPORT TQIconDragEvent : public TQEvent
{
public:
TQIconDragEvent()
@@ -410,7 +410,7 @@ protected:
bool accpt;
};
-class Q_EXPORT TQShowEvent : public TQEvent
+class TQ_EXPORT TQShowEvent : public TQEvent
{
public:
TQShowEvent()
@@ -418,14 +418,14 @@ public:
};
-class Q_EXPORT TQHideEvent : public TQEvent
+class TQ_EXPORT TQHideEvent : public TQEvent
{
public:
TQHideEvent()
: TQEvent(Hide) {}
};
-class Q_EXPORT TQContextMenuEvent : public TQEvent
+class TQ_EXPORT TQContextMenuEvent : public TQEvent
{
public:
enum Reason { Mouse, Keyboard, Other };
@@ -461,7 +461,7 @@ protected:
};
-class Q_EXPORT TQIMEvent : public TQEvent
+class TQ_EXPORT TQIMEvent : public TQEvent
{
public:
TQIMEvent( Type type, const TQString &text, int cursorPosition )
@@ -479,7 +479,7 @@ private:
bool a;
};
-class Q_EXPORT TQIMComposeEvent : public TQIMEvent
+class TQ_EXPORT TQIMComposeEvent : public TQIMEvent
{
public:
TQIMComposeEvent( Type type, const TQString &text, int cursorPosition,
@@ -506,7 +506,7 @@ inline int TQIMEvent::selectionLength() const
// own DND event objects, write to qt-bugs@trolltech.com and we'll try to
// find a way to extend it so it covers your needs.
-class Q_EXPORT TQDropEvent : public TQEvent, public TQMimeSource
+class TQ_EXPORT TQDropEvent : public TQEvent, public TQMimeSource
{
public:
TQDropEvent( const TQPoint& pos, Type typ=Drop )
@@ -545,7 +545,7 @@ protected:
-class Q_EXPORT TQDragMoveEvent : public TQDropEvent
+class TQ_EXPORT TQDragMoveEvent : public TQDropEvent
{
public:
TQDragMoveEvent( const TQPoint& pos, Type typ=DragMove )
@@ -562,7 +562,7 @@ protected:
};
-class Q_EXPORT TQDragEnterEvent : public TQDragMoveEvent
+class TQ_EXPORT TQDragEnterEvent : public TQDragMoveEvent
{
public:
TQDragEnterEvent( const TQPoint& pos ) :
@@ -571,7 +571,7 @@ public:
/* An internal class */
-class Q_EXPORT TQDragResponseEvent : public TQEvent
+class TQ_EXPORT TQDragResponseEvent : public TQEvent
{
public:
TQDragResponseEvent( bool accepted )
@@ -582,7 +582,7 @@ protected:
};
-class Q_EXPORT TQDragLeaveEvent : public TQEvent
+class TQ_EXPORT TQDragLeaveEvent : public TQEvent
{
public:
TQDragLeaveEvent()
@@ -591,7 +591,7 @@ public:
#endif // TQT_NO_DRAGANDDROP
-class Q_EXPORT TQChildEvent : public TQEvent
+class TQ_EXPORT TQChildEvent : public TQEvent
{
public:
TQChildEvent( Type type, TQObject *child )
@@ -604,7 +604,7 @@ protected:
};
-class Q_EXPORT TQCustomEvent : public TQEvent
+class TQ_EXPORT TQCustomEvent : public TQEvent
{
public:
TQCustomEvent( int type );
diff --git a/src/kernel/ntqeventloop.h b/src/kernel/ntqeventloop.h
index cc76fb75b..9f802dbd2 100644
--- a/src/kernel/ntqeventloop.h
+++ b/src/kernel/ntqeventloop.h
@@ -64,7 +64,7 @@ class TQMutex;
#endif // TQT_THREAD_SUPPORT
-class Q_EXPORT TQEventLoop : public TQObject
+class TQ_EXPORT TQEventLoop : public TQObject
{
TQ_OBJECT
diff --git a/src/kernel/ntqfocusdata.h b/src/kernel/ntqfocusdata.h
index 8a44a5031..29c804c20 100644
--- a/src/kernel/ntqfocusdata.h
+++ b/src/kernel/ntqfocusdata.h
@@ -46,7 +46,7 @@
#endif // QT_H
-class Q_EXPORT TQFocusData {
+class TQ_EXPORT TQFocusData {
public:
TQWidget* focusWidget() const { return it.current(); }
diff --git a/src/kernel/ntqfont.h b/src/kernel/ntqfont.h
index cdbd069d6..6f347e411 100644
--- a/src/kernel/ntqfont.h
+++ b/src/kernel/ntqfont.h
@@ -51,7 +51,7 @@ class TQFontPrivate; /* don't touch */
class TQStringList;
class TQTextFormatCollection;
-class Q_EXPORT TQFont
+class TQ_EXPORT TQFont
{
public:
enum StyleHint {
@@ -341,8 +341,8 @@ private:
friend TQt::HANDLE qt_xft_handle(const TQFont &font);
#endif
#ifndef TQT_NO_DATASTREAM
- friend Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQFont & );
- friend Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQFont & );
+ friend TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQFont & );
+ friend TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQFont & );
#endif
TQFontPrivate *d;
@@ -364,8 +364,8 @@ inline void TQFont::setBold( bool enable )
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQFont & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQFont & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQFont & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQFont & );
#endif
diff --git a/src/kernel/ntqfontdatabase.h b/src/kernel/ntqfontdatabase.h
index 7ea425155..fd19761c6 100644
--- a/src/kernel/ntqfontdatabase.h
+++ b/src/kernel/ntqfontdatabase.h
@@ -64,7 +64,7 @@ class TQDiskFont;
class TQFontDatabasePrivate;
-class Q_EXPORT TQFontDatabase
+class TQ_EXPORT TQFontDatabase
{
public:
static TQValueList<int> standardSizes();
diff --git a/src/kernel/ntqfontinfo.h b/src/kernel/ntqfontinfo.h
index 175aaa320..25c269ff6 100644
--- a/src/kernel/ntqfontinfo.h
+++ b/src/kernel/ntqfontinfo.h
@@ -46,7 +46,7 @@
#endif // QT_H
-class Q_EXPORT TQFontInfo
+class TQ_EXPORT TQFontInfo
{
public:
TQFontInfo( const TQFont & );
diff --git a/src/kernel/ntqfontmetrics.h b/src/kernel/ntqfontmetrics.h
index 99bdbe0d1..e5a649759 100644
--- a/src/kernel/ntqfontmetrics.h
+++ b/src/kernel/ntqfontmetrics.h
@@ -53,7 +53,7 @@ class TQFontEngine;
class TQTextCodec;
class TQTextParag;
-class Q_EXPORT TQFontMetrics
+class TQ_EXPORT TQFontMetrics
{
public:
TQFontMetrics( const TQFont & );
diff --git a/src/kernel/ntqgplugin.h b/src/kernel/ntqgplugin.h
index 3b645ab2f..71f3e00db 100644
--- a/src/kernel/ntqgplugin.h
+++ b/src/kernel/ntqgplugin.h
@@ -57,15 +57,15 @@
#ifndef TQT_NO_COMPONENT
-#ifndef Q_EXTERN_C
+#ifndef TQ_EXTERN_C
#ifdef __cplusplus
-#define Q_EXTERN_C extern "C"
+#define TQ_EXTERN_C extern "C"
#else
-#define Q_EXTERN_C extern
+#define TQ_EXTERN_C extern
#endif
#endif
-#ifndef Q_EXPORT_PLUGIN
+#ifndef TQ_EXPORT_PLUGIN
#if defined(TQT_THREAD_SUPPORT)
#define QT_THREADED_BUILD 1
#define Q_PLUGIN_FLAGS_STRING "11"
@@ -99,18 +99,18 @@
# define Q_STDCALL
#endif
-#define Q_EXPORT_PLUGIN(PLUGIN) \
+#define TQ_EXPORT_PLUGIN(PLUGIN) \
Q_PLUGIN_VERIFICATION_DATA \
- Q_EXTERN_C Q_EXPORT \
+ TQ_EXTERN_C TQ_EXPORT \
const char * Q_STDCALL qt_ucm_query_verification_data() \
{ return qt_ucm_verification_data; } \
- Q_EXTERN_C Q_EXPORT TQUnknownInterface* Q_STDCALL ucm_instantiate() \
+ TQ_EXTERN_C TQ_EXPORT TQUnknownInterface* Q_STDCALL ucm_instantiate() \
Q_PLUGIN_INSTANTIATE( PLUGIN )
#endif
struct TQUnknownInterface;
-class Q_EXPORT TQGPlugin : public TQObject
+class TQ_EXPORT TQGPlugin : public TQObject
{
TQ_OBJECT
public:
diff --git a/src/kernel/ntqguardedptr.h b/src/kernel/ntqguardedptr.h
index 3d1fe4813..c0b7084a3 100644
--- a/src/kernel/ntqguardedptr.h
+++ b/src/kernel/ntqguardedptr.h
@@ -46,7 +46,7 @@
#endif // QT_H
// ### 4.0: rename to something without Private in it. Not really internal.
-class Q_EXPORT TQGuardedPtrPrivate : public TQObject, public TQShared
+class TQ_EXPORT TQGuardedPtrPrivate : public TQObject, public TQShared
{
TQ_OBJECT
public:
diff --git a/src/kernel/ntqiconset.h b/src/kernel/ntqiconset.h
index 3276f3213..d9a90460e 100644
--- a/src/kernel/ntqiconset.h
+++ b/src/kernel/ntqiconset.h
@@ -52,7 +52,7 @@ class TQIconFactory;
class TQIconSetPrivate;
// ### Remove all 'virtual' functions in TQIconSet (but not TQIconFactory) in TQt 4.0
-class Q_EXPORT TQIconSet
+class TQ_EXPORT TQIconSet
{
public:
// the implementation makes assumptions about the value of these
@@ -101,7 +101,7 @@ private:
TQIconSetPrivate *d;
};
-class Q_EXPORT TQIconFactory : private TQShared
+class TQ_EXPORT TQIconFactory : private TQShared
{
public:
TQIconFactory();
diff --git a/src/kernel/ntqimage.h b/src/kernel/ntqimage.h
index 214af452b..d571aae01 100644
--- a/src/kernel/ntqimage.h
+++ b/src/kernel/ntqimage.h
@@ -49,7 +49,7 @@
class TQImageDataMisc; // internal
#ifndef TQT_NO_IMAGE_TEXT
-class Q_EXPORT TQImageTextKeyLang {
+class TQ_EXPORT TQImageTextKeyLang {
public:
TQImageTextKeyLang(const char* k, const char* l) : key(k), lang(l) { }
TQImageTextKeyLang() { }
@@ -65,7 +65,7 @@ public:
#endif //TQT_NO_IMAGE_TEXT
-class Q_EXPORT TQImage
+class TQ_EXPORT TQImage
{
public:
enum Endian { IgnoreEndian, BigEndian, LittleEndian };
@@ -249,7 +249,7 @@ private:
#ifndef TQT_NO_IMAGEIO
bool doImageIO( TQImageIO* io, int quality ) const;
#endif
- friend Q_EXPORT void bitBlt( TQImage* dst, int dx, int dy,
+ friend TQ_EXPORT void bitBlt( TQImage* dst, int dx, int dy,
const TQImage* src, int sx, int sy,
int sw, int sh, int conversion_flags );
};
@@ -258,8 +258,8 @@ private:
// TQImage stream functions
#if !defined(TQT_NO_DATASTREAM) && !defined(TQT_NO_IMAGEIO)
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQImage & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQImage & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQImage & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQImage & );
#endif
#ifndef TQT_NO_IMAGEIO
@@ -270,7 +270,7 @@ typedef void (*image_io_handler)( TQImageIO * ); // image IO handler
struct TQImageIOData;
-class Q_EXPORT TQImageIO
+class TQ_EXPORT TQImageIO
{
public:
TQImageIO();
@@ -334,7 +334,7 @@ private: // Disabled copy constructor and operator=
#endif //TQT_NO_IMAGEIO
-Q_EXPORT void bitBlt( TQImage* dst, int dx, int dy, const TQImage* src,
+TQ_EXPORT void bitBlt( TQImage* dst, int dx, int dy, const TQImage* src,
int sx=0, int sy=0, int sw=-1, int sh=-1,
int conversion_flags=0 );
diff --git a/src/kernel/ntqimageformatplugin.h b/src/kernel/ntqimageformatplugin.h
index d595881c5..237817e9f 100644
--- a/src/kernel/ntqimageformatplugin.h
+++ b/src/kernel/ntqimageformatplugin.h
@@ -48,7 +48,7 @@
class TQImageFormat;
class TQImageFormatPluginPrivate;
-class Q_EXPORT TQImageFormatPlugin : public TQGPlugin
+class TQ_EXPORT TQImageFormatPlugin : public TQGPlugin
{
TQ_OBJECT
public:
diff --git a/src/kernel/ntqinputcontext.h b/src/kernel/ntqinputcontext.h
index d45657af6..0b1dfe90d 100644
--- a/src/kernel/ntqinputcontext.h
+++ b/src/kernel/ntqinputcontext.h
@@ -62,7 +62,7 @@ struct TQInputContextMenu {
};
-class Q_EXPORT TQInputContext : public TQObject
+class TQ_EXPORT TQInputContext : public TQObject
{
TQ_OBJECT
public:
diff --git a/src/kernel/ntqkeysequence.h b/src/kernel/ntqkeysequence.h
index 84475a17e..5036e69d3 100644
--- a/src/kernel/ntqkeysequence.h
+++ b/src/kernel/ntqkeysequence.h
@@ -55,13 +55,13 @@
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
class TQKeySequence;
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQKeySequence & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQKeySequence & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQKeySequence & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQKeySequence & );
#endif
class TQKeySequencePrivate;
-class Q_EXPORT TQKeySequence : public TQt
+class TQ_EXPORT TQKeySequence : public TQt
{
public:
TQKeySequence();
@@ -90,14 +90,14 @@ private:
TQKeySequencePrivate* d;
- friend Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQKeySequence & );
- friend Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQKeySequence & );
+ friend TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQKeySequence & );
+ friend TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQKeySequence & );
friend class TQAccelManager;
};
#else
-class Q_EXPORT TQKeySequence : public TQt
+class TQ_EXPORT TQKeySequence : public TQt
{
public:
TQKeySequence() {}
diff --git a/src/kernel/ntqlayout.h b/src/kernel/ntqlayout.h
index a9962e47c..6e0749098 100644
--- a/src/kernel/ntqlayout.h
+++ b/src/kernel/ntqlayout.h
@@ -66,7 +66,7 @@ class TQMenuBar;
class TQSpacerItem;
class TQWidget;
-class Q_EXPORT TQGLayoutIterator : public TQShared
+class TQ_EXPORT TQGLayoutIterator : public TQShared
{
public:
virtual ~TQGLayoutIterator();
@@ -75,7 +75,7 @@ public:
virtual TQLayoutItem *takeCurrent() = 0;
};
-class Q_EXPORT TQLayoutIterator
+class TQ_EXPORT TQLayoutIterator
{
public:
TQLayoutIterator( TQGLayoutIterator *i ) : it( i ) { }
@@ -101,7 +101,7 @@ private:
TQGLayoutIterator *it;
};
-class Q_EXPORT TQLayoutItem
+class TQ_EXPORT TQLayoutItem
{
public:
TQLayoutItem( int alignment = 0 ) : align( alignment ) { }
@@ -130,7 +130,7 @@ protected:
int align;
};
-class Q_EXPORT TQSpacerItem : public TQLayoutItem
+class TQ_EXPORT TQSpacerItem : public TQLayoutItem
{
public:
TQSpacerItem( int w, int h,
@@ -156,7 +156,7 @@ private:
TQRect rect;
};
-class Q_EXPORT TQWidgetItem : public TQLayoutItem
+class TQ_EXPORT TQWidgetItem : public TQLayoutItem
{
public:
TQWidgetItem( TQWidget *w ) : wid( w ) { }
@@ -176,7 +176,7 @@ private:
TQWidget *wid;
};
-class Q_EXPORT TQLayout : public TQObject, public TQLayoutItem
+class TQ_EXPORT TQLayout : public TQObject, public TQLayoutItem
{
TQ_OBJECT
TQ_ENUMS( ResizeMode )
@@ -288,7 +288,7 @@ inline void TQLayoutIterator::deleteCurrent()
delete takeCurrent();
}
-class Q_EXPORT TQGridLayout : public TQLayout
+class TQ_EXPORT TQGridLayout : public TQLayout
{
TQ_OBJECT
public:
@@ -365,7 +365,7 @@ private:
class TQBoxLayoutData;
class TQDockWindow;
-class Q_EXPORT TQBoxLayout : public TQLayout
+class TQ_EXPORT TQBoxLayout : public TQLayout
{
TQ_OBJECT
public:
@@ -431,7 +431,7 @@ private:
TQBoxLayout *createTmpCopy();
};
-class Q_EXPORT TQHBoxLayout : public TQBoxLayout
+class TQ_EXPORT TQHBoxLayout : public TQBoxLayout
{
TQ_OBJECT
public:
@@ -450,7 +450,7 @@ private: // Disabled copy constructor and operator=
#endif
};
-class Q_EXPORT TQVBoxLayout : public TQBoxLayout
+class TQ_EXPORT TQVBoxLayout : public TQBoxLayout
{
TQ_OBJECT
public:
diff --git a/src/kernel/ntqlocalfs.h b/src/kernel/ntqlocalfs.h
index 7676cec48..2ee4fad0d 100644
--- a/src/kernel/ntqlocalfs.h
+++ b/src/kernel/ntqlocalfs.h
@@ -48,7 +48,7 @@
#ifndef TQT_NO_NETWORKPROTOCOL
-class Q_EXPORT TQLocalFs : public TQNetworkProtocol
+class TQ_EXPORT TQLocalFs : public TQNetworkProtocol
{
TQ_OBJECT
diff --git a/src/kernel/ntqmetaobject.h b/src/kernel/ntqmetaobject.h
index 55d3962e3..d4ed34e14 100644
--- a/src/kernel/ntqmetaobject.h
+++ b/src/kernel/ntqmetaobject.h
@@ -79,7 +79,7 @@ struct TQMetaEnum // enumerator meta data
#ifndef TQT_NO_PROPERTIES
-class Q_EXPORT TQMetaProperty // property meta data
+class TQ_EXPORT TQMetaProperty // property meta data
{
public:
const char* type() const { return t; } // type of the property
@@ -139,7 +139,7 @@ struct TQClassInfo // class info meta data
const char* value; // - value of the info
};
-class Q_EXPORT TQMetaObject // meta object class
+class TQ_EXPORT TQMetaObject // meta object class
{
public:
TQMetaObject( const char * const class_name, TQMetaObject *superclass,
@@ -270,7 +270,7 @@ inline int TQMetaObject::propertyOffset() const
typedef TQMetaObject *(*TQtStaticMetaObjectFunction)();
-class Q_EXPORT TQMetaObjectCleanUp
+class TQ_EXPORT TQMetaObjectCleanUp
{
public:
TQMetaObjectCleanUp( const char *mo_name, TQtStaticMetaObjectFunction );
diff --git a/src/kernel/ntqmime.h b/src/kernel/ntqmime.h
index 08b5334b9..719f83b01 100644
--- a/src/kernel/ntqmime.h
+++ b/src/kernel/ntqmime.h
@@ -51,7 +51,7 @@
class TQImageDrag;
class TQTextDrag;
-class Q_EXPORT TQMimeSource
+class TQ_EXPORT TQMimeSource
{
friend class TQClipboardData;
@@ -93,7 +93,7 @@ inline int TQMimeSource::serialNumber() const
class TQStringList;
class TQMimeSourceFactoryData;
-class Q_EXPORT TQMimeSourceFactory {
+class TQ_EXPORT TQMimeSourceFactory {
public:
TQMimeSourceFactory();
virtual ~TQMimeSourceFactory();
@@ -134,7 +134,7 @@ private:
directly.
*/
-class Q_EXPORT TQWindowsMime {
+class TQ_EXPORT TQWindowsMime {
public:
TQWindowsMime();
virtual ~TQWindowsMime();
@@ -170,7 +170,7 @@ public:
directly.
*/
-class Q_EXPORT TQMacMime {
+class TQ_EXPORT TQMacMime {
char type;
public:
enum TQMacMimeType { MIME_DND=0x01, MIME_CLIP=0x02, MIME_QT_CONVERTOR=0x04, MIME_ALL=MIME_DND|MIME_CLIP };
diff --git a/src/kernel/ntqmovie.h b/src/kernel/ntqmovie.h
index 5c1b5f745..939f10c93 100644
--- a/src/kernel/ntqmovie.h
+++ b/src/kernel/ntqmovie.h
@@ -51,7 +51,7 @@ class TQDataSource;
class TQObject;
class TQMoviePrivate;
-class Q_EXPORT TQMovie {
+class TQ_EXPORT TQMovie {
public:
TQMovie();
TQMovie(int bufsize);
diff --git a/src/kernel/ntqnamespace.h b/src/kernel/ntqnamespace.h
index ef772989a..b044494b1 100644
--- a/src/kernel/ntqnamespace.h
+++ b/src/kernel/ntqnamespace.h
@@ -50,7 +50,7 @@ class TQColor;
class TQCursor;
-class Q_EXPORT TQt {
+class TQ_EXPORT TQt {
public:
QT_STATIC_CONST TQColor & color0;
QT_STATIC_CONST TQColor & color1;
@@ -1017,7 +1017,7 @@ public:
};
-class Q_EXPORT TQInternal {
+class TQ_EXPORT TQInternal {
public:
enum PaintDeviceFlags {
UndefinedDevice = 0x00,
diff --git a/src/kernel/ntqnetworkprotocol.h b/src/kernel/ntqnetworkprotocol.h
index 1877d168a..fa245f9c2 100644
--- a/src/kernel/ntqnetworkprotocol.h
+++ b/src/kernel/ntqnetworkprotocol.h
@@ -61,7 +61,7 @@ class TQUrlOperator;
class TQNetworkProtocolPrivate;
template <class T> class TQValueList;
-class Q_EXPORT TQNetworkProtocolFactoryBase
+class TQ_EXPORT TQNetworkProtocolFactoryBase
{
public:
TQNetworkProtocolFactoryBase();
@@ -84,7 +84,7 @@ public:
typedef TQDict< TQNetworkProtocolFactoryBase > TQNetworkProtocolDict;
-class Q_EXPORT TQNetworkProtocol : public TQObject
+class TQ_EXPORT TQNetworkProtocol : public TQObject
{
TQ_OBJECT
@@ -200,7 +200,7 @@ private: // Disabled copy constructor and operator=
class TQNetworkOperationPrivate;
-class Q_EXPORT TQNetworkOperation : public TQObject
+class TQ_EXPORT TQNetworkOperation : public TQObject
{
TQ_OBJECT
friend class TQUrlOperator;
diff --git a/src/kernel/ntqobject.h b/src/kernel/ntqobject.h
index c1760dfac..fc16c50bd 100644
--- a/src/kernel/ntqobject.h
+++ b/src/kernel/ntqobject.h
@@ -71,7 +71,7 @@ class TQThread;
class TQStyleControlElementData;
class TQStyleControlElementDataPrivate;
-class Q_EXPORT TQObject: public TQt
+class TQ_EXPORT TQObject: public TQt
{
TQ_OBJECT
TQ_PROPERTY( TQCString name READ name WRITE setName )
@@ -245,7 +245,7 @@ private:
#ifndef TQT_NO_USERDATA
-class Q_EXPORT TQObjectUserData {
+class TQ_EXPORT TQObjectUserData {
public:
virtual ~TQObjectUserData();
};
diff --git a/src/kernel/ntqobjectcleanuphandler.h b/src/kernel/ntqobjectcleanuphandler.h
index 74f4dae8d..82fe6d9b2 100644
--- a/src/kernel/ntqobjectcleanuphandler.h
+++ b/src/kernel/ntqobjectcleanuphandler.h
@@ -45,7 +45,7 @@
class TQObjectList;
-class Q_EXPORT TQObjectCleanupHandler : public TQObject
+class TQ_EXPORT TQObjectCleanupHandler : public TQObject
{
TQ_OBJECT
diff --git a/src/kernel/ntqobjectdefs.h b/src/kernel/ntqobjectdefs.h
index e274ee435..fac233ce3 100644
--- a/src/kernel/ntqobjectdefs.h
+++ b/src/kernel/ntqobjectdefs.h
@@ -162,11 +162,11 @@ class TQMemberDict;
extern TQMutex *tqt_sharedMetaObjectMutex;
-Q_EXPORT void *tqt_find_obj_child( TQObject *, const char *, const char * );
+TQ_EXPORT void *tqt_find_obj_child( TQObject *, const char *, const char * );
#define Q_CHILD(parent,type,name) \
((type*)tqt_find_obj_child(parent,#type,name))
-Q_EXPORT void *tqt_inheritedBy( TQMetaObject *super, const TQObject *cls );
+TQ_EXPORT void *tqt_inheritedBy( TQMetaObject *super, const TQObject *cls );
template <typename T>
TQ_INLINE_TEMPLATES T tqt_cast(const TQObject *object)
diff --git a/src/kernel/ntqobjectdict.h b/src/kernel/ntqobjectdict.h
index b3fcd282e..4ee49faf2 100644
--- a/src/kernel/ntqobjectdict.h
+++ b/src/kernel/ntqobjectdict.h
@@ -51,7 +51,7 @@
// The object dictionary is a collection of TQMetaObjects
//
-class Q_EXPORT TQObjectDictionary : public TQAsciiDict<TQMetaObject>
+class TQ_EXPORT TQObjectDictionary : public TQAsciiDict<TQMetaObject>
{
public:
TQObjectDictionary(int size=17,bool cs=TRUE,bool ck=TRUE)
diff --git a/src/kernel/ntqobjectlist.h b/src/kernel/ntqobjectlist.h
index 1cb73a55b..80c353f0d 100644
--- a/src/kernel/ntqobjectlist.h
+++ b/src/kernel/ntqobjectlist.h
@@ -48,12 +48,12 @@
#if defined(Q_TEMPLATEDLL)
-//Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQObject>;
-//Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrListIterator<TQObject>;
+//Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<TQObject>;
+//Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrListIterator<TQObject>;
#endif
-class Q_EXPORT TQObjectList : public TQPtrList<TQObject>
+class TQ_EXPORT TQObjectList : public TQPtrList<TQObject>
{
public:
TQObjectList() : TQPtrList<TQObject>() {}
@@ -63,7 +63,7 @@ public:
{ return (TQObjectList&)TQPtrList<TQObject>::operator=(list); }
};
-class Q_EXPORT TQObjectListIterator : public TQPtrListIterator<TQObject>
+class TQ_EXPORT TQObjectListIterator : public TQPtrListIterator<TQObject>
{
public:
TQObjectListIterator( const TQObjectList &l )
@@ -73,7 +73,7 @@ public:
TQPtrListIterator<TQObject>::operator=( i ); }
};
-class Q_EXPORT TQObjectListIt : public TQPtrListIterator<TQObject>
+class TQ_EXPORT TQObjectListIt : public TQPtrListIterator<TQObject>
{
public:
TQObjectListIt( const TQObjectList &l ) : TQPtrListIterator<TQObject>(l) {}
diff --git a/src/kernel/ntqpaintdevice.h b/src/kernel/ntqpaintdevice.h
index 68014152b..114cf8b1c 100644
--- a/src/kernel/ntqpaintdevice.h
+++ b/src/kernel/ntqpaintdevice.h
@@ -81,7 +81,7 @@ union TQPDevCmdParam {
-class Q_EXPORT TQPaintDevice // device for TQPainter
+class TQ_EXPORT TQPaintDevice // device for TQPainter
{
public:
virtual ~TQPaintDevice();
@@ -248,10 +248,10 @@ protected:
#ifndef TQMAC_NO_QUARTZ
virtual CGContextRef macCGContext(bool clipped=TRUE) const;
#endif
- friend Q_EXPORT void unclippedScaledBitBlt( TQPaintDevice *, int, int, int, int,
+ friend TQ_EXPORT void unclippedScaledBitBlt( TQPaintDevice *, int, int, int, int,
const TQPaintDevice *, int, int, int, int, TQt::RasterOp, bool, bool );
#else
- friend Q_EXPORT void bitBlt( TQPaintDevice *, int, int,
+ friend TQ_EXPORT void bitBlt( TQPaintDevice *, int, int,
const TQPaintDevice *,
int, int, int, int, TQt::RasterOp, bool );
#endif
@@ -293,12 +293,12 @@ private: // Disabled copy constructor and operator=
};
-Q_EXPORT
+TQ_EXPORT
void bitBlt( TQPaintDevice *dst, int dx, int dy,
const TQPaintDevice *src, int sx=0, int sy=0, int sw=-1, int sh=-1,
TQt::RasterOp = TQt::CopyROP, bool ignoreMask=FALSE );
-Q_EXPORT
+TQ_EXPORT
void bitBlt( TQPaintDevice *dst, int dx, int dy,
const TQImage *src, int sx=0, int sy=0, int sw=-1, int sh=-1,
int conversion_flags=0 );
@@ -306,7 +306,7 @@ void bitBlt( TQPaintDevice *dst, int dx, int dy,
#if defined(Q_WS_X11)
-struct Q_EXPORT TQPaintDeviceX11Data : public TQShared {
+struct TQ_EXPORT TQPaintDeviceX11Data : public TQShared {
Display* x_display;
int x_screen;
int x_depth;
@@ -408,7 +408,7 @@ inline bool TQPaintDevice::x11AppDefaultVisual()
#endif // Q_WS_X11
-Q_EXPORT
+TQ_EXPORT
inline void bitBlt( TQPaintDevice *dst, const TQPoint &dp,
const TQPaintDevice *src, const TQRect &sr =TQRect(0,0,-1,-1),
TQt::RasterOp rop=TQt::CopyROP, bool ignoreMask=FALSE )
diff --git a/src/kernel/ntqpaintdevicemetrics.h b/src/kernel/ntqpaintdevicemetrics.h
index e618a1d26..1db8ad7df 100644
--- a/src/kernel/ntqpaintdevicemetrics.h
+++ b/src/kernel/ntqpaintdevicemetrics.h
@@ -46,7 +46,7 @@
#endif // QT_H
-class Q_EXPORT TQPaintDeviceMetrics // paint device metrics
+class TQ_EXPORT TQPaintDeviceMetrics // paint device metrics
{
public:
TQPaintDeviceMetrics( const TQPaintDevice * );
diff --git a/src/kernel/ntqpainter.h b/src/kernel/ntqpainter.h
index 2f95272f3..96b5c13c3 100644
--- a/src/kernel/ntqpainter.h
+++ b/src/kernel/ntqpainter.h
@@ -67,7 +67,7 @@ class TQPainterPrivate;
class TQScreen;
#endif
-class Q_EXPORT TQPainter : public TQt
+class TQ_EXPORT TQPainter : public TQt
{
public:
enum CoordinateMode { CoordDevice, CoordPainter };
diff --git a/src/kernel/ntqpalette.h b/src/kernel/ntqpalette.h
index 7b0d6f0aa..ba673085f 100644
--- a/src/kernel/ntqpalette.h
+++ b/src/kernel/ntqpalette.h
@@ -52,7 +52,7 @@
class TQColorGroupPrivate;
-class Q_EXPORT TQColorGroup
+class TQ_EXPORT TQColorGroup
{
public:
TQColorGroup();
@@ -110,7 +110,7 @@ private:
};
-class Q_EXPORT TQPalette
+class TQ_EXPORT TQPalette
{
public:
TQPalette();
@@ -172,11 +172,11 @@ private:
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQColorGroup & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQColorGroup & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQColorGroup & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQColorGroup & );
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPalette & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQPalette & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPalette & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQPalette & );
#endif // TQT_NO_DATASTREAM
#endif // TQT_NO_PALETTE
diff --git a/src/kernel/ntqpen.h b/src/kernel/ntqpen.h
index b3e471f17..248fdc6cf 100644
--- a/src/kernel/ntqpen.h
+++ b/src/kernel/ntqpen.h
@@ -47,7 +47,7 @@
#endif // QT_H
-class Q_EXPORT TQPen: public TQt
+class TQ_EXPORT TQPen: public TQt
{
public:
TQPen();
@@ -95,8 +95,8 @@ private:
TQPen stream functions
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPen & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQPen & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPen & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQPen & );
#endif
#endif // TQPEN_H
diff --git a/src/kernel/ntqpicture.h b/src/kernel/ntqpicture.h
index 4acbdc33e..e6b5bc912 100644
--- a/src/kernel/ntqpicture.h
+++ b/src/kernel/ntqpicture.h
@@ -48,7 +48,7 @@
#ifndef TQT_NO_PICTURE
-class Q_EXPORT TQPicture : public TQPaintDevice // picture class
+class TQ_EXPORT TQPicture : public TQPaintDevice // picture class
{
public:
TQPicture( int formatVersion = -1 );
@@ -73,8 +73,8 @@ public:
TQPicture& operator= (const TQPicture&);
- friend Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPicture & );
- friend Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQPicture & );
+ friend TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPicture & );
+ friend TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQPicture & );
protected:
bool cmd( int, TQPainter *, TQPDevCmdParam * );
@@ -119,8 +119,8 @@ inline const char* TQPicture::data() const
TQPicture stream functions
*****************************************************************************/
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPicture & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQPicture & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPicture & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQPicture & );
#endif // TQT_NO_PICTURE
diff --git a/src/kernel/ntqpixmap.h b/src/kernel/ntqpixmap.h
index 5c23c7514..94d923626 100644
--- a/src/kernel/ntqpixmap.h
+++ b/src/kernel/ntqpixmap.h
@@ -57,7 +57,7 @@ class TQMultiCellPixmap;
#endif
-class Q_EXPORT TQPixmap : public TQPaintDevice, public TQt
+class TQ_EXPORT TQPixmap : public TQPaintDevice, public TQt
{
public:
enum ColorMode { Auto, Color, Mono };
@@ -247,13 +247,13 @@ private:
int sw, int sh, bool useDstAlpha );
#endif
static Optimization defOptim;
- friend Q_EXPORT void bitBlt( TQPaintDevice *, int, int,
+ friend TQ_EXPORT void bitBlt( TQPaintDevice *, int, int,
const TQPaintDevice *,
int, int, int, int, RasterOp, bool );
- friend Q_EXPORT void bitBlt( TQPaintDevice *, int, int,
+ friend TQ_EXPORT void bitBlt( TQPaintDevice *, int, int,
const TQImage* src,
int, int, int, int, int conversion_flags );
- friend Q_EXPORT void copyBlt( TQPixmap *dst, int dx, int dy,
+ friend TQ_EXPORT void copyBlt( TQPixmap *dst, int dx, int dy,
const TQPixmap *src, int sx, int sy,
int sw, int sh );
@@ -330,8 +330,8 @@ inline bool TQPixmap::isMultiCellPixmap() const
*****************************************************************************/
#if !defined(TQT_NO_DATASTREAM) && !defined(TQT_NO_IMAGEIO)
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPixmap & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQPixmap & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPixmap & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQPixmap & );
#endif
/*****************************************************************************
@@ -347,7 +347,7 @@ Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQPixmap & );
bool qt_xForm_helper( const TQWMatrix&, int, int, int, uchar*, int, int, int, uchar*, int, int, int );
#endif
-Q_EXPORT void copyBlt( TQPixmap *dst, int dx, int dy,
+TQ_EXPORT void copyBlt( TQPixmap *dst, int dx, int dy,
const TQPixmap *src, int sx = 0, int sy = 0,
int sw = -1, int sh = -1 );
diff --git a/src/kernel/ntqpixmapcache.h b/src/kernel/ntqpixmapcache.h
index 29bcb82e0..2f2d1372d 100644
--- a/src/kernel/ntqpixmapcache.h
+++ b/src/kernel/ntqpixmapcache.h
@@ -46,7 +46,7 @@
#endif // QT_H
-class Q_EXPORT TQPixmapCache // global pixmap cache
+class TQ_EXPORT TQPixmapCache // global pixmap cache
{
public:
static int cacheLimit();
diff --git a/src/kernel/ntqpngio.h b/src/kernel/ntqpngio.h
index f0a3819a9..ebb817d6a 100644
--- a/src/kernel/ntqpngio.h
+++ b/src/kernel/ntqpngio.h
@@ -53,7 +53,7 @@ class TQIODevice;
#ifndef Q_PNGEXPORT
#if !defined(QT_PLUGIN)
-#define Q_PNGEXPORT Q_EXPORT
+#define Q_PNGEXPORT TQ_EXPORT
#else
#define Q_PNGEXPORT
#endif
diff --git a/src/kernel/ntqpoint.h b/src/kernel/ntqpoint.h
index 62b60f3a6..c38e379b2 100644
--- a/src/kernel/ntqpoint.h
+++ b/src/kernel/ntqpoint.h
@@ -46,7 +46,7 @@
#endif // QT_H
-class Q_EXPORT TQPoint
+class TQ_EXPORT TQPoint
{
public:
TQPoint();
@@ -100,8 +100,8 @@ private:
TQPoint stream functions
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPoint & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQPoint & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPoint & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQPoint & );
#endif
/*****************************************************************************
diff --git a/src/kernel/ntqpointarray.h b/src/kernel/ntqpointarray.h
index 85c05e534..bd7b50fbc 100644
--- a/src/kernel/ntqpointarray.h
+++ b/src/kernel/ntqpointarray.h
@@ -48,10 +48,10 @@
#if defined(Q_TEMPLATEDLL)
-//Q_TEMPLATE_EXTERN template class Q_EXPORT TQMemArray<TQPoint>;
+//Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMemArray<TQPoint>;
#endif
-class Q_EXPORT TQPointArray : public TQMemArray<TQPoint>
+class TQ_EXPORT TQPointArray : public TQMemArray<TQPoint>
{
public:
TQPointArray() {}
@@ -101,8 +101,8 @@ protected:
TQPointArray stream functions
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPointArray & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQPointArray & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPointArray & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQPointArray & );
#endif
/*****************************************************************************
diff --git a/src/kernel/ntqpolygonscanner.h b/src/kernel/ntqpolygonscanner.h
index 276f9afcb..3d281da7c 100644
--- a/src/kernel/ntqpolygonscanner.h
+++ b/src/kernel/ntqpolygonscanner.h
@@ -48,7 +48,7 @@
class TQPointArray;
class TQPoint;
-class Q_EXPORT TQPolygonScanner {
+class TQ_EXPORT TQPolygonScanner {
public:
// BIC: fix for 3.0
void scan( const TQPointArray& pa, bool winding, int index=0, int npoints=-1 );
diff --git a/src/kernel/ntqprinter.h b/src/kernel/ntqprinter.h
index bb854be2d..1e57c3307 100644
--- a/src/kernel/ntqprinter.h
+++ b/src/kernel/ntqprinter.h
@@ -55,7 +55,7 @@
class TQPrinterPrivate;
-class Q_EXPORT TQPrinter : public TQPaintDevice
+class TQ_EXPORT TQPrinter : public TQPaintDevice
{
public:
enum PrinterMode { ScreenResolution, PrinterResolution, HighResolution, Compatible };
diff --git a/src/kernel/ntqprocess.h b/src/kernel/ntqprocess.h
index 7b243c7ae..b03ffe647 100644
--- a/src/kernel/ntqprocess.h
+++ b/src/kernel/ntqprocess.h
@@ -53,7 +53,7 @@ class TQProcessPrivate;
class TQMembuf;
-class Q_EXPORT TQProcess : public TQObject
+class TQ_EXPORT TQProcess : public TQObject
{
TQ_OBJECT
public:
diff --git a/src/kernel/ntqrect.h b/src/kernel/ntqrect.h
index 97cc62e80..c56d637d4 100644
--- a/src/kernel/ntqrect.h
+++ b/src/kernel/ntqrect.h
@@ -50,7 +50,7 @@
// don't just silently undo people's defines: #undef topLeft
#endif
-class Q_EXPORT TQRect // rectangle class
+class TQ_EXPORT TQRect // rectangle class
{
public:
TQRect() { x1 = y1 = 0; x2 = y2 = -1; }
@@ -131,8 +131,8 @@ public:
TQRect intersect( const TQRect &r ) const;
bool intersects( const TQRect &r ) const;
- friend Q_EXPORT bool operator==( const TQRect &, const TQRect & );
- friend Q_EXPORT bool operator!=( const TQRect &, const TQRect & );
+ friend TQ_EXPORT bool operator==( const TQRect &, const TQRect & );
+ friend TQ_EXPORT bool operator!=( const TQRect &, const TQRect & );
private:
#if defined(Q_WS_X11) || defined(Q_OS_TEMP)
@@ -151,16 +151,16 @@ private:
#endif
};
-Q_EXPORT bool operator==( const TQRect &, const TQRect & );
-Q_EXPORT bool operator!=( const TQRect &, const TQRect & );
+TQ_EXPORT bool operator==( const TQRect &, const TQRect & );
+TQ_EXPORT bool operator!=( const TQRect &, const TQRect & );
/*****************************************************************************
TQRect stream functions
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQRect & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQRect & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQRect & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQRect & );
#endif
/*****************************************************************************
diff --git a/src/kernel/ntqregion.h b/src/kernel/ntqregion.h
index 911f085c8..934dd9816 100644
--- a/src/kernel/ntqregion.h
+++ b/src/kernel/ntqregion.h
@@ -50,7 +50,7 @@
struct TQRegionPrivate;
#endif
-class Q_EXPORT TQRegion
+class TQ_EXPORT TQRegion
{
public:
enum RegionType { Rectangle, Ellipse };
@@ -108,8 +108,8 @@ public:
#endif
#ifndef TQT_NO_DATASTREAM
- friend Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQRegion & );
- friend Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQRegion & );
+ friend TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQRegion & );
+ friend TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQRegion & );
#endif
private:
TQRegion( bool );
@@ -169,8 +169,8 @@ private:
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQRegion & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQRegion & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQRegion & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQRegion & );
#endif
diff --git a/src/kernel/ntqsessionmanager.h b/src/kernel/ntqsessionmanager.h
index e39cd7626..b70559ee2 100644
--- a/src/kernel/ntqsessionmanager.h
+++ b/src/kernel/ntqsessionmanager.h
@@ -51,7 +51,7 @@
class TQSessionManagerData;
-class Q_EXPORT TQSessionManager : public TQObject
+class TQ_EXPORT TQSessionManager : public TQObject
{
TQ_OBJECT
TQSessionManager( TQApplication *app, TQString &id, TQString &key );
diff --git a/src/kernel/ntqsignal.h b/src/kernel/ntqsignal.h
index 3d482e5b6..942eaaeb9 100644
--- a/src/kernel/ntqsignal.h
+++ b/src/kernel/ntqsignal.h
@@ -47,7 +47,7 @@
#endif // QT_H
-class Q_EXPORT TQSignal : public TQObject
+class TQ_EXPORT TQSignal : public TQObject
{
TQ_OBJECT
diff --git a/src/kernel/ntqsignalmapper.h b/src/kernel/ntqsignalmapper.h
index 50cbb29b2..b8125e57b 100644
--- a/src/kernel/ntqsignalmapper.h
+++ b/src/kernel/ntqsignalmapper.h
@@ -49,7 +49,7 @@ class TQSignalMapperData;
struct TQSignalMapperRec;
-class Q_EXPORT TQSignalMapper : public TQObject {
+class TQ_EXPORT TQSignalMapper : public TQObject {
TQ_OBJECT
public:
TQSignalMapper( TQObject* parent, const char* name=0 );
diff --git a/src/kernel/ntqsignalslotimp.h b/src/kernel/ntqsignalslotimp.h
index e1c3bf0f5..375f8eaa8 100644
--- a/src/kernel/ntqsignalslotimp.h
+++ b/src/kernel/ntqsignalslotimp.h
@@ -47,7 +47,7 @@
#include "ntqptrvector.h"
#endif // QT_H
-class Q_EXPORT TQConnectionList : public TQPtrList<TQConnection>
+class TQ_EXPORT TQConnectionList : public TQPtrList<TQConnection>
{
public:
TQConnectionList() : TQPtrList<TQConnection>() {}
@@ -57,7 +57,7 @@ public:
{ return (TQConnectionList&)TQPtrList<TQConnection>::operator=(list); }
};
-class Q_EXPORT TQConnectionListIt : public TQPtrListIterator<TQConnection>
+class TQ_EXPORT TQConnectionListIt : public TQPtrListIterator<TQConnection>
{
public:
TQConnectionListIt( const TQConnectionList &l ) : TQPtrListIterator<TQConnection>(l) {}
@@ -67,12 +67,12 @@ public:
#if defined(Q_TEMPLATEDLL) && defined(Q_CC_INTEL)
// MOC_SKIP_BEGIN
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrVector<TQConnectionList>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrVector<TQConnectionList>;
#define Q_EXPORTED_QPTRVECTORCONNECTTIONLIST_TEMPLATES
// MOC_SKIP_END
#endif
-class Q_EXPORT TQSignalVec : public TQPtrVector<TQConnectionList>
+class TQ_EXPORT TQSignalVec : public TQPtrVector<TQConnectionList>
{
public:
TQSignalVec(int size=17 )
diff --git a/src/kernel/ntqsimplerichtext.h b/src/kernel/ntqsimplerichtext.h
index 8b0a28fe9..f4b11e650 100644
--- a/src/kernel/ntqsimplerichtext.h
+++ b/src/kernel/ntqsimplerichtext.h
@@ -56,7 +56,7 @@ class TQBrush;
class TQMimeSourceFactory;
class TQSimpleRichTextData;
-class Q_EXPORT TQSimpleRichText
+class TQ_EXPORT TQSimpleRichText
{
public:
TQSimpleRichText( const TQString& text, const TQFont& fnt,
diff --git a/src/kernel/ntqsize.h b/src/kernel/ntqsize.h
index 01905dfd3..5ac364822 100644
--- a/src/kernel/ntqsize.h
+++ b/src/kernel/ntqsize.h
@@ -45,7 +45,7 @@
#include "ntqpoint.h" // ### change to ntqwindowdefs.h?
#endif // QT_H
-class Q_EXPORT TQSize
+class TQ_EXPORT TQSize
// ### Make TQSize inherit TQt in TQt 4.0
{
public:
@@ -108,8 +108,8 @@ private:
TQSize stream functions
*****************************************************************************/
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQSize & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQSize & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQSize & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQSize & );
/*****************************************************************************
diff --git a/src/kernel/ntqsizegrip.h b/src/kernel/ntqsizegrip.h
index 37a5a337d..93e95aade 100644
--- a/src/kernel/ntqsizegrip.h
+++ b/src/kernel/ntqsizegrip.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_SIZEGRIP
-class Q_EXPORT TQSizeGrip: public TQWidget
+class TQ_EXPORT TQSizeGrip: public TQWidget
{
TQ_OBJECT
public:
diff --git a/src/kernel/ntqsizepolicy.h b/src/kernel/ntqsizepolicy.h
index 3fc4dd2fb..2c764d33b 100644
--- a/src/kernel/ntqsizepolicy.h
+++ b/src/kernel/ntqsizepolicy.h
@@ -47,7 +47,7 @@
// Documentation is in qabstractlayout.cpp.
-class Q_EXPORT TQSizePolicy
+class TQ_EXPORT TQSizePolicy
{
private:
enum SizePolicy_Internal { HSize = 6, HMask = 0x3f, VMask = HMask << HSize,
diff --git a/src/kernel/ntqsocketnotifier.h b/src/kernel/ntqsocketnotifier.h
index ec42bd191..7a9c56fb3 100644
--- a/src/kernel/ntqsocketnotifier.h
+++ b/src/kernel/ntqsocketnotifier.h
@@ -46,7 +46,7 @@
#endif // QT_H
-class Q_EXPORT TQSocketNotifier : public TQObject
+class TQ_EXPORT TQSocketNotifier : public TQObject
{
TQ_OBJECT
public:
diff --git a/src/kernel/ntqsound.h b/src/kernel/ntqsound.h
index 02b2e881c..19f1ba4ec 100644
--- a/src/kernel/ntqsound.h
+++ b/src/kernel/ntqsound.h
@@ -48,7 +48,7 @@
class TQSoundData;
-class Q_EXPORT TQSound : public TQObject {
+class TQ_EXPORT TQSound : public TQObject {
TQ_OBJECT
public:
static bool isAvailable();
@@ -96,12 +96,12 @@ private:
TQAuBucket is whatever you want.
*/
-class Q_EXPORT TQAuBucket {
+class TQ_EXPORT TQAuBucket {
public:
virtual ~TQAuBucket();
};
-class Q_EXPORT TQAuServer : public TQObject {
+class TQ_EXPORT TQAuServer : public TQObject {
TQ_OBJECT
public:
diff --git a/src/kernel/ntqstyle.h b/src/kernel/ntqstyle.h
index b79901fc9..5ebbb2c5e 100644
--- a/src/kernel/ntqstyle.h
+++ b/src/kernel/ntqstyle.h
@@ -59,7 +59,7 @@ class TQTab;
class TQListViewItem;
class TQCheckListItem;
-class Q_EXPORT TQStyleOption {
+class TQ_EXPORT TQStyleOption {
public:
enum StyleOptionDefault { Default };
@@ -220,7 +220,7 @@ class TQStyleControlElementTabBarData {
};
};
-class Q_EXPORT TQStyleControlElementData {
+class TQ_EXPORT TQStyleControlElementData {
public:
TQStyleControlElementData();
~TQStyleControlElementData();
@@ -298,7 +298,7 @@ class Q_EXPORT TQStyleControlElementData {
};
-class Q_EXPORT TQStyleWidgetActionRequestData {
+class TQ_EXPORT TQStyleWidgetActionRequestData {
public:
TQStyleWidgetActionRequestData();
TQStyleWidgetActionRequestData(int metric1, int metric2=0);
@@ -322,7 +322,7 @@ class Q_EXPORT TQStyleWidgetActionRequestData {
typedef TQStyleWidgetActionRequestData TQStyleApplicationActionRequestData;
-class Q_EXPORT TQStyle: public TQObject
+class TQ_EXPORT TQStyle: public TQObject
{
TQ_OBJECT
@@ -1233,11 +1233,11 @@ private:
inline TQStyle::ControlElementFlags operator|(const TQStyle::ControlElementFlags a, const TQStyle::ControlElementFlags b) { return static_cast<TQStyle::ControlElementFlags>(static_cast<int>(a) | static_cast<int>(b)); }
// inline TQStyle::ControlElementFlags operator|=(TQStyle::ControlElementFlags &a, const TQStyle::ControlElementFlags b) { a = static_cast<TQStyle::ControlElementFlags>(static_cast<int>(a) | static_cast<int>(b)); return a; }
-Q_EXPORT const TQStyleControlElementData &populateControlElementDataFromWidget(const TQWidget* widget, const TQStyleOption& opt, bool populateReliantFields=true);
-Q_EXPORT const TQStyleControlElementData &populateControlElementDataFromApplication(const TQApplication* app, const TQStyleOption& opt, bool populateReliantFields=true);
-Q_EXPORT TQStyle::ControlElementFlags getControlElementFlagsForObject(const TQObject* object, const TQStyleOption& opt, bool populateReliantFields=true);
-Q_EXPORT TQStringList getObjectTypeListForObject(const TQObject* object);
-Q_EXPORT const TQStyleControlElementData &populateControlElementDataFromWidget(const TQWidget* widget, const TQStyleOption& opt, bool populateReliantFields, bool populateMinimumNumberOfFields);
+TQ_EXPORT const TQStyleControlElementData &populateControlElementDataFromWidget(const TQWidget* widget, const TQStyleOption& opt, bool populateReliantFields=true);
+TQ_EXPORT const TQStyleControlElementData &populateControlElementDataFromApplication(const TQApplication* app, const TQStyleOption& opt, bool populateReliantFields=true);
+TQ_EXPORT TQStyle::ControlElementFlags getControlElementFlagsForObject(const TQObject* object, const TQStyleOption& opt, bool populateReliantFields=true);
+TQ_EXPORT TQStringList getObjectTypeListForObject(const TQObject* object);
+TQ_EXPORT const TQStyleControlElementData &populateControlElementDataFromWidget(const TQWidget* widget, const TQStyleOption& opt, bool populateReliantFields, bool populateMinimumNumberOfFields);
#endif // TQT_NO_STYLE
#endif // TQSTYLE_H
diff --git a/src/kernel/ntqstylesheet.h b/src/kernel/ntqstylesheet.h
index 2e91b36ca..17f13a25b 100644
--- a/src/kernel/ntqstylesheet.h
+++ b/src/kernel/ntqstylesheet.h
@@ -56,7 +56,7 @@ class TQTextDocument;
template<class Key, class T> class TQMap;
class TQStyleSheetItemData;
-class Q_EXPORT TQStyleSheetItem : public TQt
+class TQ_EXPORT TQStyleSheetItem : public TQt
{
public:
TQStyleSheetItem( TQStyleSheet* parent, const TQString& name );
@@ -194,10 +194,10 @@ private:
#if defined(Q_TEMPLATEDLL)
// MOC_SKIP_BEGIN
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQDict<TQStyleSheetItem>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList< TQPtrVector<TQStyleSheetItem> >;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrVector<TQStyleSheetItem>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList<TQStyleSheetItem::ListStyle>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQDict<TQStyleSheetItem>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueList< TQPtrVector<TQStyleSheetItem> >;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrVector<TQStyleSheetItem>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueList<TQStyleSheetItem::ListStyle>;
// MOC_SKIP_END
#endif
@@ -205,7 +205,7 @@ Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList<TQStyleSheetItem::ListStyl
class TQTextCustomItem;
#endif
-class Q_EXPORT TQStyleSheet : public TQObject
+class TQ_EXPORT TQStyleSheet : public TQObject
{
TQ_OBJECT
public:
diff --git a/src/kernel/ntqthread.h b/src/kernel/ntqthread.h
index dc0df0828..695a61fb7 100644
--- a/src/kernel/ntqthread.h
+++ b/src/kernel/ntqthread.h
@@ -51,7 +51,7 @@
class TQThreadInstance;
-class Q_EXPORT TQThread : public TQt
+class TQ_EXPORT TQThread : public TQt
{
public:
static TQt::HANDLE currentThread();
@@ -133,7 +133,7 @@ public:
static TQThread* currentThreadObject();
};
-class Q_EXPORT TQEventLoopThread : public TQThread
+class TQ_EXPORT TQEventLoopThread : public TQThread
{
public:
TQEventLoopThread();
diff --git a/src/kernel/ntqtimer.h b/src/kernel/ntqtimer.h
index 7496a22cb..1b3045caa 100644
--- a/src/kernel/ntqtimer.h
+++ b/src/kernel/ntqtimer.h
@@ -46,7 +46,7 @@
#endif // QT_H
-class Q_EXPORT TQTimer : public TQObject
+class TQ_EXPORT TQTimer : public TQObject
{
TQ_OBJECT
public:
diff --git a/src/kernel/ntqtranslator.h b/src/kernel/ntqtranslator.h
index 5d6709db8..beb6f5528 100644
--- a/src/kernel/ntqtranslator.h
+++ b/src/kernel/ntqtranslator.h
@@ -51,7 +51,7 @@
class TQTranslatorPrivate;
-class Q_EXPORT TQTranslatorMessage
+class TQ_EXPORT TQTranslatorMessage
{
public:
TQTranslatorMessage();
@@ -102,7 +102,7 @@ private:
};
-class Q_EXPORT TQTranslator: public TQObject
+class TQ_EXPORT TQTranslator: public TQObject
{
TQ_OBJECT
public:
diff --git a/src/kernel/ntqurl.h b/src/kernel/ntqurl.h
index 7286648f9..c984788f5 100644
--- a/src/kernel/ntqurl.h
+++ b/src/kernel/ntqurl.h
@@ -49,7 +49,7 @@
class TQUrlPrivate;
-class Q_EXPORT TQUrl
+class TQ_EXPORT TQUrl
{
public:
TQUrl();
diff --git a/src/kernel/ntqurlinfo.h b/src/kernel/ntqurlinfo.h
index f726aa329..9a2f35a8c 100644
--- a/src/kernel/ntqurlinfo.h
+++ b/src/kernel/ntqurlinfo.h
@@ -50,7 +50,7 @@ class TQUrlOperator;
class TQUrl;
class TQUrlInfoPrivate;
-class Q_EXPORT TQUrlInfo
+class TQ_EXPORT TQUrlInfo
{
public:
enum PermissionSpec {
diff --git a/src/kernel/ntqurloperator.h b/src/kernel/ntqurloperator.h
index d7ab440f7..1644922aa 100644
--- a/src/kernel/ntqurloperator.h
+++ b/src/kernel/ntqurloperator.h
@@ -54,7 +54,7 @@
class TQUrlInfo;
class TQUrlOperatorPrivate;
-class Q_EXPORT TQUrlOperator : public TQObject, public TQUrl
+class TQ_EXPORT TQUrlOperator : public TQObject, public TQUrl
{
friend class TQNetworkProtocol;
diff --git a/src/kernel/ntqvariant.h b/src/kernel/ntqvariant.h
index 42a39804c..f0657b499 100644
--- a/src/kernel/ntqvariant.h
+++ b/src/kernel/ntqvariant.h
@@ -89,7 +89,7 @@ typedef TQMapIterator<TQString, TQVariant> TQStringVariantMapIterator;
typedef TQMapConstIterator<TQString, TQVariant> TQStringVariantMapConstIterator;
#endif
-class Q_EXPORT TQVariant
+class TQ_EXPORT TQVariant
{
public:
enum Type {
@@ -385,10 +385,10 @@ inline TQMapConstIterator<TQString,TQVariant> TQVariant::mapFind( const TQString
#endif
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream& operator>> ( TQDataStream& s, TQVariant& p );
-Q_EXPORT TQDataStream& operator<< ( TQDataStream& s, const TQVariant& p );
-Q_EXPORT TQDataStream& operator>> ( TQDataStream& s, TQVariant::Type& p );
-Q_EXPORT TQDataStream& operator<< ( TQDataStream& s, const TQVariant::Type p );
+TQ_EXPORT TQDataStream& operator>> ( TQDataStream& s, TQVariant& p );
+TQ_EXPORT TQDataStream& operator<< ( TQDataStream& s, const TQVariant& p );
+TQ_EXPORT TQDataStream& operator>> ( TQDataStream& s, TQVariant::Type& p );
+TQ_EXPORT TQDataStream& operator<< ( TQDataStream& s, const TQVariant::Type p );
#endif
#endif //TQT_NO_VARIANT
diff --git a/src/kernel/ntqwidget.h b/src/kernel/ntqwidget.h
index b6c261cca..3a9f32eb3 100644
--- a/src/kernel/ntqwidget.h
+++ b/src/kernel/ntqwidget.h
@@ -65,7 +65,7 @@ class TQWSRegionManager;
class TQStyle;
class TQStyleControlElementData;
-class Q_EXPORT TQWidget : public TQObject, public TQPaintDevice
+class TQ_EXPORT TQWidget : public TQObject, public TQPaintDevice
{
TQ_OBJECT
TQ_ENUMS( BackgroundMode FocusPolicy BackgroundOrigin )
@@ -991,7 +991,7 @@ class TQOleDropTarget;
class TQMacDndExtra;
#endif
-struct Q_EXPORT TQTLWExtra {
+struct TQ_EXPORT TQTLWExtra {
#ifndef TQT_NO_WIDGET_TOPEXTRA
TQString caption; // widget caption
TQString iconText; // widget icon text
@@ -1046,7 +1046,7 @@ struct Q_EXPORT TQTLWExtra {
// dear user: you can see this struct, but it is internal. do not touch.
-struct Q_EXPORT TQWExtra {
+struct TQ_EXPORT TQWExtra {
TQ_INT16 minw, minh; // minimum size
TQ_INT16 maxw, maxh; // maximum size
TQPixmap *bg_pix; // background pixmap
diff --git a/src/kernel/ntqwidgetintdict.h b/src/kernel/ntqwidgetintdict.h
index 512f7830e..f5c924b23 100644
--- a/src/kernel/ntqwidgetintdict.h
+++ b/src/kernel/ntqwidgetintdict.h
@@ -48,12 +48,12 @@
#if defined(Q_TEMPLATEDLL)
-//Q_TEMPLATE_EXTERN template class Q_EXPORT TQIntDict<TQWidget>;
-//Q_TEMPLATE_EXTERN template class Q_EXPORT TQIntDictIterator<TQWidget>;
+//Q_TEMPLATE_EXTERN template class TQ_EXPORT TQIntDict<TQWidget>;
+//Q_TEMPLATE_EXTERN template class TQ_EXPORT TQIntDictIterator<TQWidget>;
#endif
-class Q_EXPORT TQWidgetIntDict : public TQIntDict<TQWidget>
+class TQ_EXPORT TQWidgetIntDict : public TQIntDict<TQWidget>
{
public:
TQWidgetIntDict(int size=17) : TQIntDict<TQWidget>(size) {}
@@ -63,7 +63,7 @@ public:
{ return (TQWidgetIntDict&)TQIntDict<TQWidget>::operator=(dict); }
};
-class Q_EXPORT TQWidgetIntDictIt : public TQIntDictIterator<TQWidget>
+class TQ_EXPORT TQWidgetIntDictIt : public TQIntDictIterator<TQWidget>
{
public:
TQWidgetIntDictIt( const TQWidgetIntDict &d ) : TQIntDictIterator<TQWidget>(d) {}
diff --git a/src/kernel/ntqwidgetlist.h b/src/kernel/ntqwidgetlist.h
index 03e40b7cf..af912f812 100644
--- a/src/kernel/ntqwidgetlist.h
+++ b/src/kernel/ntqwidgetlist.h
@@ -46,7 +46,7 @@
#include "ntqptrlist.h"
#endif // QT_H
-class Q_EXPORT TQWidgetList : public TQPtrList<TQWidget>
+class TQ_EXPORT TQWidgetList : public TQPtrList<TQWidget>
{
public:
TQWidgetList() : TQPtrList<TQWidget>() {}
@@ -56,7 +56,7 @@ public:
{ return (TQWidgetList&)TQPtrList<TQWidget>::operator=(list); }
};
-class Q_EXPORT TQWidgetListIt : public TQPtrListIterator<TQWidget>
+class TQ_EXPORT TQWidgetListIt : public TQPtrListIterator<TQWidget>
{
public:
TQWidgetListIt( const TQWidgetList &l ) : TQPtrListIterator<TQWidget>(l) {}
diff --git a/src/kernel/ntqwindowdefs.h b/src/kernel/ntqwindowdefs.h
index 6d57f2148..6ec8f7796 100644
--- a/src/kernel/ntqwindowdefs.h
+++ b/src/kernel/ntqwindowdefs.h
@@ -147,14 +147,14 @@ typedef struct _XGC *GC;
typedef struct _XRegion *Region;
typedef unsigned long WId;
-Q_EXPORT Display *tqt_xdisplay();
-Q_EXPORT int tqt_xscreen();
-Q_EXPORT WId tqt_xrootwin(); // ### REMOVE 4.0
-Q_EXPORT WId tqt_xrootwin( int scrn ); // ### 4.0 add default arg of -1
-Q_EXPORT GC tqt_xget_readonly_gc( int scrn, bool monochrome );
-Q_EXPORT GC tqt_xget_temp_gc( int scrn, bool monochrome );
+TQ_EXPORT Display *tqt_xdisplay();
+TQ_EXPORT int tqt_xscreen();
+TQ_EXPORT WId tqt_xrootwin(); // ### REMOVE 4.0
+TQ_EXPORT WId tqt_xrootwin( int scrn ); // ### 4.0 add default arg of -1
+TQ_EXPORT GC tqt_xget_readonly_gc( int scrn, bool monochrome );
+TQ_EXPORT GC tqt_xget_temp_gc( int scrn, bool monochrome );
-Q_EXPORT const char *tqAppClass(); // get application class
+TQ_EXPORT const char *tqAppClass(); // get application class
#endif // Q_WS_X11
@@ -180,12 +180,12 @@ const TQCOORD TQCOORD_MIN = -TQCOORD_MAX - 1;
typedef unsigned int TQRgb; // RGB triplet
-Q_EXPORT const char *tqAppName(); // get application name
+TQ_EXPORT const char *tqAppName(); // get application name
// Misc functions
typedef void (*TQtCleanUpFunction)();
-Q_EXPORT void tqAddPostRoutine( TQtCleanUpFunction );
-Q_EXPORT void tqRemovePostRoutine( TQtCleanUpFunction );
+TQ_EXPORT void tqAddPostRoutine( TQtCleanUpFunction );
+TQ_EXPORT void tqRemovePostRoutine( TQtCleanUpFunction );
#endif // TQWINDOWDEFS_H
diff --git a/src/kernel/ntqwmatrix.h b/src/kernel/ntqwmatrix.h
index f4e6c9bfb..1a7153b79 100644
--- a/src/kernel/ntqwmatrix.h
+++ b/src/kernel/ntqwmatrix.h
@@ -51,7 +51,7 @@
#ifndef TQT_NO_WMATRIX
-class Q_EXPORT TQWMatrix // 2D transform matrix
+class TQ_EXPORT TQWMatrix // 2D transform matrix
{
public:
TQWMatrix();
@@ -113,15 +113,15 @@ private:
double _dx, _dy;
};
-Q_EXPORT TQWMatrix operator*( const TQWMatrix &, const TQWMatrix & );
+TQ_EXPORT TQWMatrix operator*( const TQWMatrix &, const TQWMatrix & );
/*****************************************************************************
TQWMatrix stream functions
*****************************************************************************/
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQWMatrix & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQWMatrix & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQWMatrix & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQWMatrix & );
#endif // TQT_NO_WMATRIX
diff --git a/src/kernel/qaccel.cpp b/src/kernel/qaccel.cpp
index db717f7b7..ffd253934 100644
--- a/src/kernel/qaccel.cpp
+++ b/src/kernel/qaccel.cpp
@@ -193,15 +193,15 @@ private:
};
TQAccelManager* TQAccelManager::self_ptr = 0;
-bool Q_EXPORT tqt_tryAccelEvent( TQWidget* w, TQKeyEvent* e){
+bool TQ_EXPORT tqt_tryAccelEvent( TQWidget* w, TQKeyEvent* e){
return TQAccelManager::self()->tryAccelEvent( w, e );
}
-bool Q_EXPORT tqt_dispatchAccelEvent( TQWidget* w, TQKeyEvent* e){
+bool TQ_EXPORT tqt_dispatchAccelEvent( TQWidget* w, TQKeyEvent* e){
return TQAccelManager::self()->dispatchAccelEvent( w, e );
}
-bool Q_EXPORT tqt_tryComposeUnicode( TQWidget* w, TQKeyEvent* e){
+bool TQ_EXPORT tqt_tryComposeUnicode( TQWidget* w, TQKeyEvent* e){
return TQAccelManager::self()->tryComposeUnicode( w, e );
}
@@ -210,7 +210,7 @@ static bool qt_accel_no_shortcuts = TRUE;
#else
static bool qt_accel_no_shortcuts = FALSE;
#endif
-void Q_EXPORT tqt_setAccelAutoShortcuts(bool b) { qt_accel_no_shortcuts = b; }
+void TQ_EXPORT tqt_setAccelAutoShortcuts(bool b) { qt_accel_no_shortcuts = b; }
/*
\internal
diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp
index 9b04e1d20..d67b34dd0 100644
--- a/src/kernel/qapplication.cpp
+++ b/src/kernel/qapplication.cpp
@@ -323,7 +323,7 @@ void tqt_cleanup();
void tqt_init( Display* dpy, TQt::HANDLE, TQt::HANDLE );
void tqt_init( int *, char **, Display* dpy, TQt::HANDLE, TQt::HANDLE );
#endif
-Q_EXPORT bool tqt_tryModalHelper( TQWidget *widget, TQWidget **rettop );
+TQ_EXPORT bool tqt_tryModalHelper( TQWidget *widget, TQWidget **rettop );
TQApplication *tqApp = 0; // global application object
@@ -353,8 +353,8 @@ int TQApplication::mouse_double_click_time = 400; // mouse dbl click limit
int TQApplication::wheel_scroll_lines = 3; // number of lines to scroll
#endif
bool tqt_is_gui_used;
-bool Q_EXPORT tqt_resolve_symlinks = TRUE;
-bool Q_EXPORT tqt_tab_all_widgets = TRUE;
+bool TQ_EXPORT tqt_resolve_symlinks = TRUE;
+bool TQ_EXPORT tqt_tab_all_widgets = TRUE;
TQRect tqt_maxWindowRect;
static int drag_time = 500;
static int drag_distance = 4;
@@ -378,13 +378,13 @@ int TQApplication::composedUnicode = 0;
#ifdef TQT_THREAD_SUPPORT
TQMutex *TQApplication::tqt_mutex = 0;
TQMutex *tqt_sharedStringMutex = 0;
-Q_EXPORT TQMutex * tqt_sharedMetaObjectMutex = 0;
+TQ_EXPORT TQMutex * tqt_sharedMetaObjectMutex = 0;
#ifdef QT_USE_GLIBMAINLOOP
TQMutex *tqt_timerListMutex = 0;
#endif // QT_USE_GLIBMAINLOOP
static TQMutex *postevent_mutex = 0;
static TQt::HANDLE tqt_application_thread_id = 0;
-Q_EXPORT TQt::HANDLE tqt_get_application_thread_id()
+TQ_EXPORT TQt::HANDLE tqt_get_application_thread_id()
{
return tqt_application_thread_id;
}
@@ -502,7 +502,7 @@ static TQVFuncList *postRList = 0; // list of post routines
to clean up the module's data at the exact right moment.
*/
-Q_EXPORT void tqAddPostRoutine( TQtCleanUpFunction p)
+TQ_EXPORT void tqAddPostRoutine( TQtCleanUpFunction p)
{
if ( !postRList ) {
postRList = new TQVFuncList;
@@ -512,7 +512,7 @@ Q_EXPORT void tqAddPostRoutine( TQtCleanUpFunction p)
}
-Q_EXPORT void tqRemovePostRoutine( TQtCleanUpFunction p )
+TQ_EXPORT void tqRemovePostRoutine( TQtCleanUpFunction p )
{
if ( !postRList ) return;
TQVFuncList::Iterator it = postRList->begin();
@@ -584,7 +584,7 @@ struct TQPostEvent {
TQEvent *event;
};
-class Q_EXPORT TQPostEventList : public TQPtrList<TQPostEvent>
+class TQ_EXPORT TQPostEventList : public TQPtrList<TQPostEvent>
{
public:
TQPostEventList() : TQPtrList<TQPostEvent>() {}
@@ -593,7 +593,7 @@ public:
TQPostEventList &operator=(const TQPostEventList &list)
{ return (TQPostEventList&)TQPtrList<TQPostEvent>::operator=(list); }
};
-class Q_EXPORT TQPostEventListIt : public TQPtrListIterator<TQPostEvent>
+class TQ_EXPORT TQPostEventListIt : public TQPtrListIterator<TQPostEvent>
{
public:
TQPostEventListIt( const TQPostEventList &l ) : TQPtrListIterator<TQPostEvent>(l) {}
@@ -901,7 +901,7 @@ TQApplication::TQApplication( int &argc, char **argv, Type type )
construct( argc, argv, type, true );
}
-Q_EXPORT void tqt_ucm_initialize( TQApplication *theApp )
+TQ_EXPORT void tqt_ucm_initialize( TQApplication *theApp )
{
if ( tqApp )
return;
@@ -3930,7 +3930,7 @@ void TQApplication::setActiveWindow( TQWidget* act )
Creates the proper Enter/Leave event when widget \a enter is entered
and widget \a leave is left.
*/
-Q_EXPORT void tqt_dispatchEnterLeave( TQWidget* enter, TQWidget* leave ) {
+TQ_EXPORT void tqt_dispatchEnterLeave( TQWidget* enter, TQWidget* leave ) {
#if 0
if ( leave ) {
TQEvent e( TQEvent::Leave );
@@ -4021,7 +4021,7 @@ extern TQWidget *tqt_tryModalHelperMac( TQWidget * top ); //qapplication_mac.cpp
Called from qapplication_<platform>.cpp, returns TRUE
if the widget should accept the event.
*/
-Q_EXPORT bool tqt_tryModalHelper( TQWidget *widget, TQWidget **rettop ) {
+TQ_EXPORT bool tqt_tryModalHelper( TQWidget *widget, TQWidget **rettop ) {
TQWidget *modal=0, *top=TQApplication::activeModalWidget();
if ( rettop ) *rettop = top;
diff --git a/src/kernel/qapplication_p.h b/src/kernel/qapplication_p.h
index c0c59d59e..abeceee64 100644
--- a/src/kernel/qapplication_p.h
+++ b/src/kernel/qapplication_p.h
@@ -65,9 +65,9 @@ class TQKeyEvent;
class TQMouseEvent;
class TQWheelEvent;
-extern Q_EXPORT bool tqt_modal_state();
-extern Q_EXPORT void tqt_enter_modal( TQWidget* );
-extern Q_EXPORT void tqt_leave_modal( TQWidget* );
+extern TQ_EXPORT bool tqt_modal_state();
+extern TQ_EXPORT void tqt_enter_modal( TQWidget* );
+extern TQ_EXPORT void tqt_leave_modal( TQWidget* );
extern bool tqt_is_gui_used;
#ifndef TQT_NO_CLIPBOARD
diff --git a/src/kernel/qapplication_x11.cpp b/src/kernel/qapplication_x11.cpp
index c53ef91ad..de2c62d27 100644
--- a/src/kernel/qapplication_x11.cpp
+++ b/src/kernel/qapplication_x11.cpp
@@ -38,7 +38,7 @@
**
**********************************************************************/
-// ### 4.0: examine Q_EXPORT's below. The respective symbols had all
+// ### 4.0: examine TQ_EXPORT's below. The respective symbols had all
// been in use (e.g. in the KDE wm ) before the introduction of a version
// map. One might want to turn some of them into propert public API and
// provide a proper alternative for others. See also the exports in
@@ -192,7 +192,7 @@ static const char *appBTNCol = 0; // application btn color
static const char *mwGeometry = 0; // main widget geometry
static const char *mwTitle = 0; // main widget title
//Ming-Che 10/10
-Q_EXPORT char *qt_ximServer = 0; // XIM Server will connect to
+TQ_EXPORT char *qt_ximServer = 0; // XIM Server will connect to
static bool mwIconic = FALSE; // main widget iconified
//Ming-Che 10/10
static Display *appDpy = 0; // X11 application display
@@ -214,9 +214,9 @@ static GC* app_gc_tmp = 0; // temporary GC
static GC* app_gc_ro_m = 0; // read-only GC (monochrome)
static GC* app_gc_tmp_m = 0; // temporary GC (monochrome)
// symbols needed by extern TQXEmbed class
-Q_EXPORT Atom tqt_wm_protocols = 0; // window manager protocols
-Q_EXPORT Atom tqt_wm_delete_window = 0; // delete window protocol
-Q_EXPORT Atom tqt_wm_take_focus = 0; // take focus window protocol
+TQ_EXPORT Atom tqt_wm_protocols = 0; // window manager protocols
+TQ_EXPORT Atom tqt_wm_delete_window = 0; // delete window protocol
+TQ_EXPORT Atom tqt_wm_take_focus = 0; // take focus window protocol
Atom qt_qt_scrolldone = 0; // scroll synchronization
Atom qt_net_wm_context_help = 0; // context help
@@ -227,15 +227,15 @@ Atom qt_xa_clipboard = 0;
Atom qt_selection_property = 0;
Atom tqt_clipboard_sentinel = 0;
Atom qt_selection_sentinel = 0;
-Q_EXPORT Atom tqt_wm_state = 0;
+TQ_EXPORT Atom tqt_wm_state = 0;
Atom qt_wm_change_state = 0;
static Atom qt_settings_timestamp = 0; // TQt >=3 settings timestamp
static Atom qt_input_encoding = 0; // TQt desktop properties
static Atom qt_resource_manager = 0; // X11 Resource manager
Atom qt_sizegrip = 0; // sizegrip
Atom qt_wm_client_leader = 0;
-Q_EXPORT Atom tqt_window_role = 0;
-Q_EXPORT Atom tqt_sm_client_id = 0;
+TQ_EXPORT Atom tqt_window_role = 0;
+TQ_EXPORT Atom tqt_sm_client_id = 0;
Atom qt_xa_motif_wm_hints = 0;
Atom qt_cde_running = 0;
Atom qt_twin_running = 0;
@@ -328,7 +328,7 @@ static int xrandr_eventbase;
// TRUE if TQt is compiled w/ XRender support and XRender exists on the connected
// Display
-Q_EXPORT bool tqt_use_xrender = FALSE;
+TQ_EXPORT bool tqt_use_xrender = FALSE;
#ifndef TQT_NO_XSYNC
// True if SYNC extension exists on the connected display
@@ -347,7 +347,7 @@ static long qt_mode_switch_remove_mask = 0;
// flags for extensions for special Languages, currently only for RTL languages
static bool qt_use_rtl_extensions = FALSE;
-Q_EXPORT bool tqt_hebrew_keyboard_hack = FALSE;
+TQ_EXPORT bool tqt_hebrew_keyboard_hack = FALSE;
static Window mouseActWindow = 0; // window where mouse is
static int mouseButtonPressed = 0; // last mouse button pressed
@@ -406,7 +406,7 @@ typedef int (*QX11EventFilter) (XEvent*);
QX11EventFilter tqt_set_x11_event_filter(QX11EventFilter filter);
static QX11EventFilter qt_x11_event_filter = 0;
-Q_EXPORT QX11EventFilter tqt_set_x11_event_filter(QX11EventFilter filter)
+TQ_EXPORT QX11EventFilter tqt_set_x11_event_filter(QX11EventFilter filter)
{
QX11EventFilter old_filter = qt_x11_event_filter;
qt_x11_event_filter = filter;
@@ -425,16 +425,16 @@ static bool qt_x11EventFilter( XEvent* ev )
#if !defined(TQT_NO_XIM)
//XIM qt_xim = 0;
-Q_EXPORT XIMStyle qt_xim_style = 0;
-Q_EXPORT XIMStyle qt_xim_preferred_style = 0;
+TQ_EXPORT XIMStyle qt_xim_style = 0;
+TQ_EXPORT XIMStyle qt_xim_preferred_style = 0;
static XIMStyle xim_default_style = XIMPreeditCallbacks | XIMStatusNothing;
#endif
-Q_EXPORT int qt_ximComposingKeycode=0;
-Q_EXPORT TQTextCodec * qt_input_mapper = 0;
+TQ_EXPORT int qt_ximComposingKeycode=0;
+TQ_EXPORT TQTextCodec * qt_input_mapper = 0;
-Q_EXPORT Time tqt_x_time = CurrentTime;
-Q_EXPORT Time tqt_x_user_time = CurrentTime;
+TQ_EXPORT Time tqt_x_time = CurrentTime;
+TQ_EXPORT Time tqt_x_user_time = CurrentTime;
extern bool qt_check_clipboard_sentinel(); //def in qclipboard_x11.cpp
extern bool qt_check_selection_sentinel(); //def in qclipboard_x11.cpp
@@ -3908,7 +3908,7 @@ void tqt_leave_modal( TQWidget *widget )
}
-Q_EXPORT bool tqt_try_modal( TQWidget *widget, XEvent *event )
+TQ_EXPORT bool tqt_try_modal( TQWidget *widget, XEvent *event )
{
if (qt_xdnd_dragging) {
// allow mouse events while DnD is active
diff --git a/src/kernel/qclipboard_x11.cpp b/src/kernel/qclipboard_x11.cpp
index 468eff81d..d0571fc5a 100644
--- a/src/kernel/qclipboard_x11.cpp
+++ b/src/kernel/qclipboard_x11.cpp
@@ -112,7 +112,7 @@ static int pending_timer_id = 0;
static bool pending_clipboard_changed = FALSE;
static bool pending_selection_changed = FALSE;
-Q_EXPORT bool tqt_qclipboard_bailout_hack = false;
+TQ_EXPORT bool tqt_qclipboard_bailout_hack = false;
// event capture mechanism for qt_xclb_wait_for_event
static bool waiting_for_data = FALSE;
diff --git a/src/kernel/qfont_x11.cpp b/src/kernel/qfont_x11.cpp
index eed239ebe..9f86734a4 100644
--- a/src/kernel/qfont_x11.cpp
+++ b/src/kernel/qfont_x11.cpp
@@ -69,7 +69,7 @@
#define TQFONTLOADER_DEBUG
#define TQFONTLOADER_DEBUG_VERBOSE
-Q_EXPORT bool tqt_has_xft = FALSE;
+TQ_EXPORT bool tqt_has_xft = FALSE;
#ifndef TQT_NO_XFTFREETYPE
TQt::HANDLE qt_xft_handle(const TQFont &font)
diff --git a/src/kernel/qimageformatinterface_p.h b/src/kernel/qimageformatinterface_p.h
index 6d184ecf3..8abe49c2d 100644
--- a/src/kernel/qimageformatinterface_p.h
+++ b/src/kernel/qimageformatinterface_p.h
@@ -68,7 +68,7 @@
class TQImage;
-struct Q_EXPORT TQImageFormatInterface : public TQFeatureListInterface
+struct TQ_EXPORT TQImageFormatInterface : public TQFeatureListInterface
{
virtual TQRESULT loadImage( const TQString &format, const TQString &filename, TQImage * ) = 0;
virtual TQRESULT saveImage( const TQString &format, const TQString &filename, const TQImage & ) = 0;
diff --git a/src/kernel/qimageformatplugin.cpp b/src/kernel/qimageformatplugin.cpp
index 89d04960a..3982053e0 100644
--- a/src/kernel/qimageformatplugin.cpp
+++ b/src/kernel/qimageformatplugin.cpp
@@ -54,7 +54,7 @@
Writing an image format plugin is achieved by subclassing this
base class, reimplementing the pure virtual functions keys() and
installIOHandler(), and exporting the class with the
- Q_EXPORT_PLUGIN macro. See the \link plugins-howto.html Plugins
+ TQ_EXPORT_PLUGIN macro. See the \link plugins-howto.html Plugins
documentation\endlink for details.
*/
@@ -143,7 +143,7 @@ TQRESULT TQImageFormatPluginPrivate::installIOHandler( const TQString &format )
/*!
Constructs an image format plugin. This is invoked automatically
- by the Q_EXPORT_PLUGIN macro.
+ by the TQ_EXPORT_PLUGIN macro.
*/
TQImageFormatPlugin::TQImageFormatPlugin()
: TQGPlugin( d = new TQImageFormatPluginPrivate( this ) )
diff --git a/src/kernel/qinternal_p.h b/src/kernel/qinternal_p.h
index 57c5dcd15..e8142c8f5 100644
--- a/src/kernel/qinternal_p.h
+++ b/src/kernel/qinternal_p.h
@@ -64,7 +64,7 @@ class TQWidget;
class TQPainter;
class TQPixmap;
-class Q_EXPORT TQSharedDoubleBuffer
+class TQ_EXPORT TQSharedDoubleBuffer
{
public:
enum DoubleBufferFlags {
@@ -170,7 +170,7 @@ TQAutoDeleter<T>* qAutoDeleter( T* p )
return new TQAutoDeleter<T>( p );
}
-class Q_EXPORT TQMembuf
+class TQ_EXPORT TQMembuf
{
public:
TQMembuf();
diff --git a/src/kernel/qlayoutengine.cpp b/src/kernel/qlayoutengine.cpp
index c37811c32..149e04fd7 100644
--- a/src/kernel/qlayoutengine.cpp
+++ b/src/kernel/qlayoutengine.cpp
@@ -63,7 +63,7 @@ static inline int fRound( int i ) {
count is the count of items in the chain; pos and space give the
interval (relative to parentWidget topLeft).
*/
-Q_EXPORT void qGeomCalc( TQMemArray<TQLayoutStruct> &chain, int start, int count,
+TQ_EXPORT void qGeomCalc( TQMemArray<TQLayoutStruct> &chain, int start, int count,
int pos, int space, int spacer )
{
typedef int fixed;
@@ -242,7 +242,7 @@ Q_EXPORT void qGeomCalc( TQMemArray<TQLayoutStruct> &chain, int start, int count
}
}
-Q_EXPORT TQSize qSmartMinSize( const TQWidgetItem *i )
+TQ_EXPORT TQSize qSmartMinSize( const TQWidgetItem *i )
{
TQWidget *w = ((TQWidgetItem *)i)->widget();
@@ -284,13 +284,13 @@ Q_EXPORT TQSize qSmartMinSize( const TQWidgetItem *i )
return s;
}
-Q_EXPORT TQSize qSmartMinSize( TQWidget *w )
+TQ_EXPORT TQSize qSmartMinSize( TQWidget *w )
{
TQWidgetItem item( w );
return qSmartMinSize( &item );
}
-Q_EXPORT TQSize qSmartMaxSize( const TQWidgetItem *i, int align )
+TQ_EXPORT TQSize qSmartMaxSize( const TQWidgetItem *i, int align )
{
TQWidget *w = ( (TQWidgetItem*)i )->widget();
if ( align & TQt::AlignHorizontal_Mask && align & TQt::AlignVertical_Mask )
@@ -313,7 +313,7 @@ Q_EXPORT TQSize qSmartMaxSize( const TQWidgetItem *i, int align )
return s;
}
-Q_EXPORT TQSize qSmartMaxSize( TQWidget *w, int align )
+TQ_EXPORT TQSize qSmartMaxSize( TQWidget *w, int align )
{
TQWidgetItem item( w );
return qSmartMaxSize( &item, align );
diff --git a/src/kernel/qlayoutengine_p.h b/src/kernel/qlayoutengine_p.h
index ddff6cd29..560c0a9ea 100644
--- a/src/kernel/qlayoutengine_p.h
+++ b/src/kernel/qlayoutengine_p.h
@@ -96,12 +96,12 @@ struct TQLayoutStruct
};
-Q_EXPORT void qGeomCalc( TQMemArray<TQLayoutStruct> &chain, int start, int count,
+TQ_EXPORT void qGeomCalc( TQMemArray<TQLayoutStruct> &chain, int start, int count,
int pos, int space, int spacer );
-Q_EXPORT TQSize qSmartMinSize( const TQWidgetItem *i );
-Q_EXPORT TQSize qSmartMinSize( TQWidget *w );
-Q_EXPORT TQSize qSmartMaxSize( const TQWidgetItem *i, int align = 0 );
-Q_EXPORT TQSize qSmartMaxSize( TQWidget *w, int align = 0 );
+TQ_EXPORT TQSize qSmartMinSize( const TQWidgetItem *i );
+TQ_EXPORT TQSize qSmartMinSize( TQWidget *w );
+TQ_EXPORT TQSize qSmartMaxSize( const TQWidgetItem *i, int align = 0 );
+TQ_EXPORT TQSize qSmartMaxSize( TQWidget *w, int align = 0 );
/*
diff --git a/src/kernel/qmetaobject.cpp b/src/kernel/qmetaobject.cpp
index 0165f7002..70ed6b5d5 100644
--- a/src/kernel/qmetaobject.cpp
+++ b/src/kernel/qmetaobject.cpp
@@ -170,7 +170,7 @@ typedef TQMetaData TQConstMetaData;
typedef const TQMetaData TQConstMetaData;
#endif
-class Q_EXPORT TQMemberDict : public TQAsciiDict<TQConstMetaData>
+class TQ_EXPORT TQMemberDict : public TQAsciiDict<TQConstMetaData>
{
public:
TQMemberDict( int size = 17, bool cs = TRUE, bool ck = TRUE ) :
diff --git a/src/kernel/qnetworkprotocol.cpp b/src/kernel/qnetworkprotocol.cpp
index 53cb69169..1adfa9455 100644
--- a/src/kernel/qnetworkprotocol.cpp
+++ b/src/kernel/qnetworkprotocol.cpp
@@ -51,7 +51,7 @@
//#define TQNETWORKPROTOCOL_DEBUG
#define NETWORK_OP_DELAY 1000
-extern Q_EXPORT TQNetworkProtocolDict *tqNetworkProtocolRegister;
+extern TQ_EXPORT TQNetworkProtocolDict *tqNetworkProtocolRegister;
TQNetworkProtocolDict *tqNetworkProtocolRegister = 0;
diff --git a/src/kernel/qobject.cpp b/src/kernel/qobject.cpp
index 4f04d37df..28a820277 100644
--- a/src/kernel/qobject.cpp
+++ b/src/kernel/qobject.cpp
@@ -261,7 +261,7 @@ TQSenderObjectList::~TQSenderObjectList() {
delete listMutex;
}
-class Q_EXPORT TQMetaCallEvent : public TQEvent
+class TQ_EXPORT TQMetaCallEvent : public TQEvent
{
public:
enum MetaCallType {
@@ -511,7 +511,7 @@ TQThread* TQObject::contextThreadObject() const
/*
Preliminary signal spy
*/
-Q_EXPORT TQObject* tqt_preliminary_signal_spy = 0;
+TQ_EXPORT TQObject* tqt_preliminary_signal_spy = 0;
static TQObject* qt_spy_signal_sender = 0;
static void qt_spy_signal( TQObject* sender, int signal, TQUObject* o )
diff --git a/src/kernel/qpixmap_x11.cpp b/src/kernel/qpixmap_x11.cpp
index 0eb1cf044..d0bfa97a2 100644
--- a/src/kernel/qpixmap_x11.cpp
+++ b/src/kernel/qpixmap_x11.cpp
@@ -2392,7 +2392,7 @@ bool TQPixmap::hasAlphaChannel() const
copyBlt() does nothing if \a src and \a dst have different depths.
*/
-Q_EXPORT void copyBlt( TQPixmap *dst, int dx, int dy,
+TQ_EXPORT void copyBlt( TQPixmap *dst, int dx, int dy,
const TQPixmap *src, int sx, int sy, int sw, int sh )
{
if ( ! dst || ! src || sw == 0 || sh == 0 || dst->depth() != src->depth() ) {
diff --git a/src/kernel/qpsprinter.cpp b/src/kernel/qpsprinter.cpp
index 42c1b8bc1..d8bb1d46e 100644
--- a/src/kernel/qpsprinter.cpp
+++ b/src/kernel/qpsprinter.cpp
@@ -106,7 +106,7 @@ extern bool tqt_has_xft;
static bool qt_gen_epsf = FALSE;
static bool embedFonts = TRUE;
-Q_EXPORT void tqt_generate_epsf( bool b )
+TQ_EXPORT void tqt_generate_epsf( bool b )
{
qt_gen_epsf = b;
}
diff --git a/src/kernel/qpsprinter_p.h b/src/kernel/qpsprinter_p.h
index 35513e12b..6b96a965d 100644
--- a/src/kernel/qpsprinter_p.h
+++ b/src/kernel/qpsprinter_p.h
@@ -66,7 +66,7 @@
class TQPSPrinterPrivate;
-class Q_EXPORT TQPSPrinter : public TQPaintDevice
+class TQ_EXPORT TQPSPrinter : public TQPaintDevice
{
private:
// TQPrinter uses these
diff --git a/src/kernel/qrichtext.cpp b/src/kernel/qrichtext.cpp
index 3f1e48285..439355135 100644
--- a/src/kernel/qrichtext.cpp
+++ b/src/kernel/qrichtext.cpp
@@ -1518,7 +1518,7 @@ void TQTextDocument::setPlainText( const TQString &text )
lParag = fParag = createParagraph( this, 0, 0 );
}
-struct Q_EXPORT TQTextDocumentTag {
+struct TQ_EXPORT TQTextDocumentTag {
TQTextDocumentTag(){}
TQTextDocumentTag( const TQString&n, const TQStyleSheetItem* s, const TQTextFormat& f )
:name(n),style(s), format(f), alignment(TQt::AlignAuto), direction(TQChar::DirON),liststyle(TQStyleSheetItem::ListDisc) {
diff --git a/src/kernel/qrichtext_p.h b/src/kernel/qrichtext_p.h
index 4d88323a1..df6b0a272 100644
--- a/src/kernel/qrichtext_p.h
+++ b/src/kernel/qrichtext_p.h
@@ -97,7 +97,7 @@ struct TQBidiContext;
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-class Q_EXPORT TQTextStringChar
+class TQ_EXPORT TQTextStringChar
{
friend class TQTextString;
@@ -173,11 +173,11 @@ private:
#if defined(Q_TEMPLATEDLL)
// MOC_SKIP_BEGIN
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMemArray<TQTextStringChar>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMemArray<TQTextStringChar>;
// MOC_SKIP_END
#endif
-class Q_EXPORT TQTextString
+class TQ_EXPORT TQTextString
{
public:
@@ -300,13 +300,13 @@ inline bool TQTextString::validCursorPosition( int idx )
#if defined(Q_TEMPLATEDLL)
// MOC_SKIP_BEGIN
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueStack<int>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueStack<TQTextParagraph*>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueStack<bool>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueStack<int>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueStack<TQTextParagraph*>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueStack<bool>;
// MOC_SKIP_END
#endif
-class Q_EXPORT TQTextCursor
+class TQ_EXPORT TQTextCursor
{
public:
TQTextCursor( TQTextDocument *d = 0 );
@@ -398,7 +398,7 @@ private:
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-class Q_EXPORT TQTextCommand
+class TQ_EXPORT TQTextCommand
{
public:
enum Commands { Invalid, Insert, Delete, Format, Style };
@@ -419,11 +419,11 @@ protected:
#if defined(Q_TEMPLATEDLL)
// MOC_SKIP_BEGIN
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQTextCommand>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<TQTextCommand>;
// MOC_SKIP_END
#endif
-class Q_EXPORT TQTextCommandHistory
+class TQ_EXPORT TQTextCommandHistory
{
public:
TQTextCommandHistory( int s ) : current( -1 ), steps( s ) { history.setAutoDelete( TRUE ); }
@@ -458,7 +458,7 @@ inline TQTextCommandHistory::~TQTextCommandHistory()
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#ifndef TQT_NO_TEXTCUSTOMITEM
-class Q_EXPORT TQTextCustomItem
+class TQ_EXPORT TQTextCustomItem
{
public:
TQTextCustomItem( TQTextDocument *p )
@@ -509,12 +509,12 @@ public:
#if defined(Q_TEMPLATEDLL)
// MOC_SKIP_BEGIN
-//Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<TQString, TQString>;
+//Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<TQString, TQString>;
// MOC_SKIP_END
#endif
#ifndef TQT_NO_TEXTCUSTOMITEM
-class Q_EXPORT TQTextImage : public TQTextCustomItem
+class TQ_EXPORT TQTextImage : public TQTextCustomItem
{
public:
TQTextImage( TQTextDocument *p, const TQMap<TQString, TQString> &attr, const TQString& context,
@@ -541,7 +541,7 @@ private:
#endif
#ifndef TQT_NO_TEXTCUSTOMITEM
-class Q_EXPORT TQTextHorizontalLine : public TQTextCustomItem
+class TQ_EXPORT TQTextHorizontalLine : public TQTextCustomItem
{
public:
TQTextHorizontalLine( TQTextDocument *p, const TQMap<TQString, TQString> &attr, const TQString& context,
@@ -565,12 +565,12 @@ private:
#ifndef TQT_NO_TEXTCUSTOMITEM
#if defined(Q_TEMPLATEDLL)
// MOC_SKIP_BEGIN
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQTextCustomItem>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<TQTextCustomItem>;
// MOC_SKIP_END
#endif
#endif
-class Q_EXPORT TQTextFlow
+class TQ_EXPORT TQTextFlow
{
friend class TQTextDocument;
#ifndef TQT_NO_TEXTCUSTOMITEM
@@ -618,7 +618,7 @@ inline int TQTextFlow::width() const { return w; }
#ifndef TQT_NO_TEXTCUSTOMITEM
class TQTextTable;
-class Q_EXPORT TQTextTableCell : public TQLayoutItem
+class TQ_EXPORT TQTextTableCell : public TQLayoutItem
{
friend class TQTextTable;
@@ -683,13 +683,13 @@ private:
#if defined(Q_TEMPLATEDLL)
// MOC_SKIP_BEGIN
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQTextTableCell>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<TQTextCursor*, int>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<TQTextTableCell>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<TQTextCursor*, int>;
// MOC_SKIP_END
#endif
#ifndef TQT_NO_TEXTCUSTOMITEM
-class Q_EXPORT TQTextTable: public TQTextCustomItem
+class TQ_EXPORT TQTextTable: public TQTextCustomItem
{
friend class TQTextTableCell;
@@ -756,7 +756,7 @@ class TQTextTableCell;
class TQTextParagraph;
#endif
-struct Q_EXPORT TQTextDocumentSelection
+struct TQ_EXPORT TQTextDocumentSelection
{
TQTextCursor startCursor, endCursor;
bool swapped;
@@ -765,14 +765,14 @@ struct Q_EXPORT TQTextDocumentSelection
#if defined(Q_TEMPLATEDLL)
// MOC_SKIP_BEGIN
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<int, TQColor>;
-//Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<int, bool>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<int, TQTextDocumentSelection>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQTextDocument>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<int, TQColor>;
+//Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<int, bool>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<int, TQTextDocumentSelection>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<TQTextDocument>;
// MOC_SKIP_END
#endif
-class Q_EXPORT TQTextDocument : public TQObject
+class TQ_EXPORT TQTextDocument : public TQObject
{
TQ_OBJECT
@@ -983,7 +983,7 @@ private:
void setRichTextMarginsInternal( TQPtrList< TQPtrVector<TQStyleSheetItem> >& styles, TQTextParagraph* stylesPar );
private:
- struct Q_EXPORT Focus {
+ struct TQ_EXPORT Focus {
TQTextParagraph *parag;
int start, len;
TQString href;
@@ -1049,7 +1049,7 @@ private:
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-class Q_EXPORT TQTextDeleteCommand : public TQTextCommand
+class TQ_EXPORT TQTextDeleteCommand : public TQTextCommand
{
public:
TQTextDeleteCommand( TQTextDocument *d, int i, int idx, const TQMemArray<TQTextStringChar> &str,
@@ -1069,7 +1069,7 @@ protected:
};
-class Q_EXPORT TQTextInsertCommand : public TQTextDeleteCommand
+class TQ_EXPORT TQTextInsertCommand : public TQTextDeleteCommand
{
public:
TQTextInsertCommand( TQTextDocument *d, int i, int idx, const TQMemArray<TQTextStringChar> &str,
@@ -1085,7 +1085,7 @@ public:
};
-class Q_EXPORT TQTextFormatCommand : public TQTextCommand
+class TQ_EXPORT TQTextFormatCommand : public TQTextCommand
{
public:
TQTextFormatCommand( TQTextDocument *d, int sid, int sidx, int eid, int eidx, const TQMemArray<TQTextStringChar> &old, TQTextFormat *f, int fl );
@@ -1103,7 +1103,7 @@ protected:
};
-class Q_EXPORT TQTextStyleCommand : public TQTextCommand
+class TQ_EXPORT TQTextStyleCommand : public TQTextCommand
{
public:
TQTextStyleCommand( TQTextDocument *d, int fParag, int lParag, const TQByteArray& beforeChange );
@@ -1124,14 +1124,14 @@ private:
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-struct Q_EXPORT TQTextParagraphSelection
+struct TQ_EXPORT TQTextParagraphSelection
{
TQTextParagraphSelection() : start(0), end(0) { }
int start, end;
TQ_DUMMY_COMPARISON_OPERATOR(TQTextParagraphSelection)
};
-struct Q_EXPORT TQTextLineStart
+struct TQ_EXPORT TQTextLineStart
{
TQTextLineStart() : y( 0 ), baseLine( 0 ), h( 0 )
{ }
@@ -1146,12 +1146,12 @@ public:
#if defined(Q_TEMPLATEDLL)
// MOC_SKIP_BEGIN
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<int, TQTextParagraphSelection>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<int, TQTextLineStart*>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<int, TQTextParagraphSelection>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<int, TQTextLineStart*>;
// MOC_SKIP_END
#endif
-class Q_EXPORT TQTextParagraphData
+class TQ_EXPORT TQTextParagraphData
{
public:
TQTextParagraphData() {}
@@ -1163,7 +1163,7 @@ class TQTextParagraphPseudoDocument;
class TQSyntaxHighlighter;
-class Q_EXPORT TQTextParagraph
+class TQ_EXPORT TQTextParagraph
{
friend class TQTextDocument;
friend class TQTextCursor;
@@ -1383,7 +1383,7 @@ private:
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-class Q_EXPORT TQTextFormatter
+class TQ_EXPORT TQTextFormatter
{
public:
TQTextFormatter();
@@ -1428,7 +1428,7 @@ private:
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-class Q_EXPORT TQTextFormatterBreakInWords : public TQTextFormatter
+class TQ_EXPORT TQTextFormatterBreakInWords : public TQTextFormatter
{
public:
TQTextFormatterBreakInWords();
@@ -1440,7 +1440,7 @@ public:
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-class Q_EXPORT TQTextFormatterBreakWords : public TQTextFormatter
+class TQ_EXPORT TQTextFormatterBreakWords : public TQTextFormatter
{
public:
TQTextFormatterBreakWords();
@@ -1452,7 +1452,7 @@ public:
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-class Q_EXPORT TQTextIndent
+class TQ_EXPORT TQTextIndent
{
public:
TQTextIndent();
@@ -1464,7 +1464,7 @@ public:
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-class Q_EXPORT TQTextPreProcessor
+class TQ_EXPORT TQTextPreProcessor
{
public:
enum Ids {
@@ -1481,7 +1481,7 @@ public:
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-class Q_EXPORT TQTextFormat
+class TQ_EXPORT TQTextFormat
{
friend class TQTextFormatCollection;
friend class TQTextDocument;
@@ -1591,11 +1591,11 @@ private:
#if defined(Q_TEMPLATEDLL)
// MOC_SKIP_BEGIN
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQDict<TQTextFormat>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQDict<TQTextFormat>;
// MOC_SKIP_END
#endif
-class Q_EXPORT TQTextFormatCollection
+class TQ_EXPORT TQTextFormatCollection
{
friend class TQTextDocument;
friend class TQTextFormat;
@@ -1633,7 +1633,7 @@ private:
TQPaintDevice *paintdevice;
};
-class Q_EXPORT TQTextParagraphPseudoDocument
+class TQ_EXPORT TQTextParagraphPseudoDocument
{
public:
TQTextParagraphPseudoDocument();
diff --git a/src/kernel/qtextengine_p.h b/src/kernel/qtextengine_p.h
index 701db02ce..04faa33b0 100644
--- a/src/kernel/qtextengine_p.h
+++ b/src/kernel/qtextengine_p.h
@@ -292,7 +292,7 @@ private:
class TQFontPrivate;
-class Q_EXPORT TQTextEngine {
+class TQ_EXPORT TQTextEngine {
public:
TQTextEngine( const TQString &str, TQFontPrivate *f );
~TQTextEngine();
diff --git a/src/kernel/qtextlayout_p.h b/src/kernel/qtextlayout_p.h
index b4763c8e5..b2430e055 100644
--- a/src/kernel/qtextlayout_p.h
+++ b/src/kernel/qtextlayout_p.h
@@ -46,7 +46,7 @@
class TQTextEngine;
class TQFont;
-class Q_EXPORT TQTextItem
+class TQ_EXPORT TQTextItem
{
public:
inline TQTextItem() : item(0), engine(0) {}
@@ -97,7 +97,7 @@ private:
class TQPainter;
-class Q_EXPORT TQTextLayout
+class TQ_EXPORT TQTextLayout
{
public:
// does itemization
diff --git a/src/kernel/qucomextra_p.h b/src/kernel/qucomextra_p.h
index f183fd622..ad4dacb5c 100644
--- a/src/kernel/qucomextra_p.h
+++ b/src/kernel/qucomextra_p.h
@@ -67,7 +67,7 @@ class TQVariant;
// 6dc75d58-a1d9-4417-b591-d45c63a3a4ea
extern const TQUuid TID_QUType_TQVariant;
-struct Q_EXPORT TQUType_TQVariant : public TQUType
+struct TQ_EXPORT TQUType_TQVariant : public TQUType
{
const TQUuid *uuid() const;
const char *desc() const;
@@ -83,13 +83,13 @@ struct Q_EXPORT TQUType_TQVariant : public TQUType
int serializeTo( TQUObject *, TQUBuffer * );
int serializeFrom( TQUObject *, TQUBuffer * );
};
-extern Q_EXPORT TQUType_TQVariant static_QUType_TQVariant;
+extern TQ_EXPORT TQUType_TQVariant static_QUType_TQVariant;
#endif //TQT_NO_VARIANT
// {0x8d48b3a8, 0xbd7f, 0x11d5, 0x8d, 0x74, 0x00, 0xc0, 0xf0, 0x3b, 0xc0, 0xf3 }
-extern Q_EXPORT const TQUuid TID_QUType_varptr;
-struct Q_EXPORT TQUType_varptr : public TQUType
+extern TQ_EXPORT const TQUuid TID_QUType_varptr;
+struct TQ_EXPORT TQUType_varptr : public TQUType
{
const TQUuid *uuid() const;
const char *desc() const;
@@ -104,7 +104,7 @@ struct Q_EXPORT TQUType_varptr : public TQUType
int serializeTo( TQUObject *, TQUBuffer * );
int serializeFrom( TQUObject *, TQUBuffer * );
};
-extern Q_EXPORT TQUType_varptr static_QUType_varptr;
+extern TQ_EXPORT TQUType_varptr static_QUType_varptr;
#endif // TQUCOMEXTRA_P_H
diff --git a/src/kernel/qwidget_x11.cpp b/src/kernel/qwidget_x11.cpp
index 31185921a..3d64b6fe2 100644
--- a/src/kernel/qwidget_x11.cpp
+++ b/src/kernel/qwidget_x11.cpp
@@ -208,7 +208,7 @@ Window qt_XCreateSimpleWindow( const TQWidget *creator,
void qt_XDestroyWindow( const TQWidget *destroyer,
Display *display, Window window );
-Q_EXPORT void tqt_x11_enforce_cursor( TQWidget * w )
+TQ_EXPORT void tqt_x11_enforce_cursor( TQWidget * w )
{
if ( w->testWState( TQt::WState_OwnCursor ) ) {
TQCursor * oc = TQApplication::overrideCursor();
@@ -226,7 +226,7 @@ Q_EXPORT void tqt_x11_enforce_cursor( TQWidget * w )
}
}
-Q_EXPORT void tqt_wait_for_window_manager( TQWidget* w )
+TQ_EXPORT void tqt_wait_for_window_manager( TQWidget* w )
{
TQApplication::flushX();
XEvent ev;
diff --git a/src/network/ntqdns.h b/src/network/ntqdns.h
index 553c31e52..1c0559151 100644
--- a/src/network/ntqdns.h
+++ b/src/network/ntqdns.h
@@ -51,7 +51,7 @@
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_DNS
#else
-#define TQM_EXPORT_DNS Q_EXPORT
+#define TQM_EXPORT_DNS TQ_EXPORT
#endif
#ifndef TQT_NO_DNS
diff --git a/src/network/ntqftp.h b/src/network/ntqftp.h
index da4a23e88..dd375b696 100644
--- a/src/network/ntqftp.h
+++ b/src/network/ntqftp.h
@@ -50,7 +50,7 @@
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_FTP
#else
-#define TQM_EXPORT_FTP Q_EXPORT
+#define TQM_EXPORT_FTP TQ_EXPORT
#endif
#ifndef TQT_NO_NETWORKPROTOCOL_FTP
diff --git a/src/network/ntqhostaddress.h b/src/network/ntqhostaddress.h
index d8a30af42..d1c686edb 100644
--- a/src/network/ntqhostaddress.h
+++ b/src/network/ntqhostaddress.h
@@ -48,7 +48,7 @@
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_NETWORK
#else
-#define TQM_EXPORT_NETWORK Q_EXPORT
+#define TQM_EXPORT_NETWORK TQ_EXPORT
#endif
#ifndef TQT_NO_NETWORK
diff --git a/src/network/ntqhttp.h b/src/network/ntqhttp.h
index c4c2714a5..8fc966bc3 100644
--- a/src/network/ntqhttp.h
+++ b/src/network/ntqhttp.h
@@ -51,7 +51,7 @@
#define TQM_EXPORT_HTTP
#define TQM_TEMPLATE_EXTERN_HTTP
#else
-#define TQM_EXPORT_HTTP Q_EXPORT
+#define TQM_EXPORT_HTTP TQ_EXPORT
#define TQM_TEMPLATE_EXTERN_HTTP Q_TEMPLATE_EXTERN
#endif
diff --git a/src/network/ntqnetwork.h b/src/network/ntqnetwork.h
index b8dabc086..7f6de06d3 100644
--- a/src/network/ntqnetwork.h
+++ b/src/network/ntqnetwork.h
@@ -48,7 +48,7 @@
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_NETWORK
#else
-#define TQM_EXPORT_NETWORK Q_EXPORT
+#define TQM_EXPORT_NETWORK TQ_EXPORT
#endif
#ifndef TQT_NO_NETWORK
diff --git a/src/network/ntqserversocket.h b/src/network/ntqserversocket.h
index 57ebf341d..f00f4c775 100644
--- a/src/network/ntqserversocket.h
+++ b/src/network/ntqserversocket.h
@@ -51,7 +51,7 @@
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_NETWORK
#else
-#define TQM_EXPORT_NETWORK Q_EXPORT
+#define TQM_EXPORT_NETWORK TQ_EXPORT
#endif
class TQServerSocketPrivate;
diff --git a/src/network/ntqsocket.h b/src/network/ntqsocket.h
index 3324699fd..90f1f74ac 100644
--- a/src/network/ntqsocket.h
+++ b/src/network/ntqsocket.h
@@ -50,7 +50,7 @@
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_NETWORK
#else
-#define TQM_EXPORT_NETWORK Q_EXPORT
+#define TQM_EXPORT_NETWORK TQ_EXPORT
#endif
#ifndef TQT_NO_NETWORK
diff --git a/src/network/ntqsocketdevice.h b/src/network/ntqsocketdevice.h
index 420cd29ad..cad469017 100644
--- a/src/network/ntqsocketdevice.h
+++ b/src/network/ntqsocketdevice.h
@@ -49,7 +49,7 @@
#if !defined( TQT_MODULE_NETWORK ) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_NETWORK )
#define TQM_EXPORT_NETWORK
#else
-#define TQM_EXPORT_NETWORK Q_EXPORT
+#define TQM_EXPORT_NETWORK TQ_EXPORT
#endif
#ifndef TQT_NO_NETWORK
diff --git a/src/opengl/ntqgl.h b/src/opengl/ntqgl.h
index 191f6161a..4b0657161 100644
--- a/src/opengl/ntqgl.h
+++ b/src/opengl/ntqgl.h
@@ -49,7 +49,7 @@
#if !defined( TQT_MODULE_OPENGL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_OPENGL
#else
-#define TQM_EXPORT_OPENGL Q_EXPORT
+#define TQM_EXPORT_OPENGL TQ_EXPORT
#endif
#ifndef TQT_NO_COMPAT
diff --git a/src/opengl/ntqglcolormap.h b/src/opengl/ntqglcolormap.h
index 8fb249216..9a78d636f 100644
--- a/src/opengl/ntqglcolormap.h
+++ b/src/opengl/ntqglcolormap.h
@@ -50,7 +50,7 @@
#if !defined( TQT_MODULE_OPENGL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_OPENGL
#else
-#define TQM_EXPORT_OPENGL Q_EXPORT
+#define TQM_EXPORT_OPENGL TQ_EXPORT
#endif
class TQWidget;
diff --git a/src/sql/drivers/cache/qsqlcachedresult.h b/src/sql/drivers/cache/qsqlcachedresult.h
index 46f8afae4..42d1d1ec5 100644
--- a/src/sql/drivers/cache/qsqlcachedresult.h
+++ b/src/sql/drivers/cache/qsqlcachedresult.h
@@ -60,7 +60,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL
diff --git a/src/sql/drivers/mysql/qsql_mysql.h b/src/sql/drivers/mysql/qsql_mysql.h
index e4646256d..f2266af03 100644
--- a/src/sql/drivers/mysql/qsql_mysql.h
+++ b/src/sql/drivers/mysql/qsql_mysql.h
@@ -55,7 +55,7 @@
#ifdef QT_PLUGIN
#define Q_EXPORT_SQLDRIVER_MYSQL
#else
-#define Q_EXPORT_SQLDRIVER_MYSQL Q_EXPORT
+#define Q_EXPORT_SQLDRIVER_MYSQL TQ_EXPORT
#endif
class TQMYSQLDriverPrivate;
diff --git a/src/sql/drivers/odbc/qsql_odbc.h b/src/sql/drivers/odbc/qsql_odbc.h
index 619212d4a..2fa820810 100644
--- a/src/sql/drivers/odbc/qsql_odbc.h
+++ b/src/sql/drivers/odbc/qsql_odbc.h
@@ -62,7 +62,7 @@
#ifdef QT_PLUGIN
#define Q_EXPORT_SQLDRIVER_ODBC
#else
-#define Q_EXPORT_SQLDRIVER_ODBC Q_EXPORT
+#define Q_EXPORT_SQLDRIVER_ODBC TQ_EXPORT
#endif
#ifdef Q_OS_UNIX
diff --git a/src/sql/drivers/psql/qsql_psql.h b/src/sql/drivers/psql/qsql_psql.h
index 6f9c4f5f1..841ff568d 100644
--- a/src/sql/drivers/psql/qsql_psql.h
+++ b/src/sql/drivers/psql/qsql_psql.h
@@ -49,7 +49,7 @@
#ifdef QT_PLUGIN
#define Q_EXPORT_SQLDRIVER_PSQL
#else
-#define Q_EXPORT_SQLDRIVER_PSQL Q_EXPORT
+#define Q_EXPORT_SQLDRIVER_PSQL TQ_EXPORT
#endif
class TQPSQLPrivate;
diff --git a/src/sql/ntqdatabrowser.h b/src/sql/ntqdatabrowser.h
index 8c5cc7016..6dc3aab3b 100644
--- a/src/sql/ntqdatabrowser.h
+++ b/src/sql/ntqdatabrowser.h
@@ -56,7 +56,7 @@
class TQSqlForm;
class TQDataBrowserPrivate;
-class Q_EXPORT TQDataBrowser : public TQWidget
+class TQ_EXPORT TQDataBrowser : public TQWidget
{
TQ_OBJECT
TQ_PROPERTY( bool boundaryChecking READ boundaryChecking WRITE setBoundaryChecking )
diff --git a/src/sql/ntqdatatable.h b/src/sql/ntqdatatable.h
index d03f9f7b7..d854c456d 100644
--- a/src/sql/ntqdatatable.h
+++ b/src/sql/ntqdatatable.h
@@ -55,7 +55,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL_VIEW_WIDGETS
diff --git a/src/sql/ntqdataview.h b/src/sql/ntqdataview.h
index 9d982e1e8..245bb5eab 100644
--- a/src/sql/ntqdataview.h
+++ b/src/sql/ntqdataview.h
@@ -48,7 +48,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL_VIEW_WIDGETS
diff --git a/src/sql/ntqeditorfactory.h b/src/sql/ntqeditorfactory.h
index 2a18b4b47..212424003 100644
--- a/src/sql/ntqeditorfactory.h
+++ b/src/sql/ntqeditorfactory.h
@@ -49,7 +49,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL_EDIT_WIDGETS
diff --git a/src/sql/ntqsql.h b/src/sql/ntqsql.h
index f1c8b0883..28a8204b2 100644
--- a/src/sql/ntqsql.h
+++ b/src/sql/ntqsql.h
@@ -48,7 +48,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL
diff --git a/src/sql/ntqsqlcursor.h b/src/sql/ntqsqlcursor.h
index 9541fe7b1..e253324af 100644
--- a/src/sql/ntqsqlcursor.h
+++ b/src/sql/ntqsqlcursor.h
@@ -51,7 +51,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL
diff --git a/src/sql/ntqsqldatabase.h b/src/sql/ntqsqldatabase.h
index 6017bfcfe..a6d744877 100644
--- a/src/sql/ntqsqldatabase.h
+++ b/src/sql/ntqsqldatabase.h
@@ -51,7 +51,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL
diff --git a/src/sql/ntqsqldriver.h b/src/sql/ntqsqldriver.h
index 5e5c625ed..b1b2fcb3a 100644
--- a/src/sql/ntqsqldriver.h
+++ b/src/sql/ntqsqldriver.h
@@ -56,7 +56,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL
diff --git a/src/sql/ntqsqldriverplugin.h b/src/sql/ntqsqldriverplugin.h
index 8a6d3944a..97e7addb3 100644
--- a/src/sql/ntqsqldriverplugin.h
+++ b/src/sql/ntqsqldriverplugin.h
@@ -52,7 +52,7 @@
class TQSqlDriver;
class TQSqlDriverPluginPrivate;
-class Q_EXPORT TQSqlDriverPlugin : public TQGPlugin
+class TQ_EXPORT TQSqlDriverPlugin : public TQGPlugin
{
TQ_OBJECT
public:
diff --git a/src/sql/ntqsqleditorfactory.h b/src/sql/ntqsqleditorfactory.h
index eb100952c..667ad8651 100644
--- a/src/sql/ntqsqleditorfactory.h
+++ b/src/sql/ntqsqleditorfactory.h
@@ -48,7 +48,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL_EDIT_WIDGETS
diff --git a/src/sql/ntqsqlerror.h b/src/sql/ntqsqlerror.h
index 7fb816614..2d60c2f21 100644
--- a/src/sql/ntqsqlerror.h
+++ b/src/sql/ntqsqlerror.h
@@ -48,7 +48,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL
diff --git a/src/sql/ntqsqlfield.h b/src/sql/ntqsqlfield.h
index f917b6e92..a9d5e8947 100644
--- a/src/sql/ntqsqlfield.h
+++ b/src/sql/ntqsqlfield.h
@@ -49,7 +49,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL
diff --git a/src/sql/ntqsqlform.h b/src/sql/ntqsqlform.h
index c39382449..3d3b6272f 100644
--- a/src/sql/ntqsqlform.h
+++ b/src/sql/ntqsqlform.h
@@ -49,7 +49,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL_FORM
diff --git a/src/sql/ntqsqlindex.h b/src/sql/ntqsqlindex.h
index b387ea7da..aa0ad102b 100644
--- a/src/sql/ntqsqlindex.h
+++ b/src/sql/ntqsqlindex.h
@@ -52,7 +52,7 @@
#define TQM_EXPORT_SQL
#define TQM_TEMPLATE_EXTERN_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#define TQM_TEMPLATE_EXTERN_SQL Q_TEMPLATE_EXTERN
#endif
diff --git a/src/sql/ntqsqlpropertymap.h b/src/sql/ntqsqlpropertymap.h
index 893e8b6ab..c7bff6eb7 100644
--- a/src/sql/ntqsqlpropertymap.h
+++ b/src/sql/ntqsqlpropertymap.h
@@ -51,7 +51,7 @@
class TQWidget;
class TQSqlPropertyMapPrivate;
-class Q_EXPORT TQSqlPropertyMap {
+class TQ_EXPORT TQSqlPropertyMap {
public:
TQSqlPropertyMap();
virtual ~TQSqlPropertyMap();
diff --git a/src/sql/ntqsqlquery.h b/src/sql/ntqsqlquery.h
index 7cba01016..d1f56f858 100644
--- a/src/sql/ntqsqlquery.h
+++ b/src/sql/ntqsqlquery.h
@@ -57,7 +57,7 @@ class TQSqlDriver;
class TQSqlResult;
class TQSqlDatabase;
-class Q_EXPORT TQSqlResultShared : public TQObject, public TQShared
+class TQ_EXPORT TQSqlResultShared : public TQObject, public TQShared
{
TQ_OBJECT
public:
@@ -69,7 +69,7 @@ private slots:
void slotResultDestroyed();
};
-class Q_EXPORT TQSqlQuery
+class TQ_EXPORT TQSqlQuery
{
public:
TQSqlQuery( TQSqlResult * r );
diff --git a/src/sql/ntqsqlrecord.h b/src/sql/ntqsqlrecord.h
index bf3ebfc4f..9b4e1e9e8 100644
--- a/src/sql/ntqsqlrecord.h
+++ b/src/sql/ntqsqlrecord.h
@@ -52,7 +52,7 @@
class TQSqlRecordPrivate;
-class Q_EXPORT TQSqlRecordShared : public TQShared
+class TQ_EXPORT TQSqlRecordShared : public TQShared
{
public:
TQSqlRecordShared( TQSqlRecordPrivate* sqlRecordPrivate )
@@ -62,7 +62,7 @@ public:
TQSqlRecordPrivate* d;
};
-class Q_EXPORT TQSqlRecord
+class TQ_EXPORT TQSqlRecord
{
public:
TQSqlRecord();
@@ -117,13 +117,13 @@ private:
#if defined(Q_TEMPLATEDLL)
// MOC_SKIP_BEGIN
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList<TQSqlFieldInfo>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueList<TQSqlFieldInfo>;
// MOC_SKIP_END
#endif
typedef TQValueList<TQSqlFieldInfo> TQSqlFieldInfoList;
-class Q_EXPORT TQSqlRecordInfo: public TQSqlFieldInfoList
+class TQ_EXPORT TQSqlRecordInfo: public TQSqlFieldInfoList
{
public:
TQSqlRecordInfo(): TQSqlFieldInfoList() {}
diff --git a/src/sql/ntqsqlresult.h b/src/sql/ntqsqlresult.h
index 4e0255a8f..0b0763498 100644
--- a/src/sql/ntqsqlresult.h
+++ b/src/sql/ntqsqlresult.h
@@ -52,7 +52,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL
diff --git a/src/sql/ntqsqlselectcursor.h b/src/sql/ntqsqlselectcursor.h
index 7168dbefd..b1f0802b0 100644
--- a/src/sql/ntqsqlselectcursor.h
+++ b/src/sql/ntqsqlselectcursor.h
@@ -48,7 +48,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL
diff --git a/src/sql/qsqldatabase.cpp b/src/sql/qsqldatabase.cpp
index 0dddb3b17..8c42452d2 100644
--- a/src/sql/qsqldatabase.cpp
+++ b/src/sql/qsqldatabase.cpp
@@ -95,7 +95,7 @@ TQPtrDict<TQSqlOpenExtension> *qt_open_extension_dict = 0;
static TQSingleCleanupHandler< TQPtrDict<TQSqlDriverExtension> > qt_driver_ext_cleanup;
static TQSingleCleanupHandler< TQPtrDict<TQSqlOpenExtension> > qt_open_ext_cleanup;
-Q_EXPORT TQPtrDict<TQSqlDriverExtension> *tqSqlDriverExtDict()
+TQ_EXPORT TQPtrDict<TQSqlDriverExtension> *tqSqlDriverExtDict()
{
if ( !qt_driver_extension_dict ) {
qt_driver_extension_dict = new TQPtrDict<TQSqlDriverExtension>;
@@ -104,7 +104,7 @@ Q_EXPORT TQPtrDict<TQSqlDriverExtension> *tqSqlDriverExtDict()
return qt_driver_extension_dict;
}
-Q_EXPORT TQPtrDict<TQSqlOpenExtension> *tqSqlOpenExtDict()
+TQ_EXPORT TQPtrDict<TQSqlOpenExtension> *tqSqlOpenExtDict()
{
if ( !qt_open_extension_dict ) {
qt_open_extension_dict = new TQPtrDict<TQSqlOpenExtension>;
diff --git a/src/sql/qsqldriverinterface_p.h b/src/sql/qsqldriverinterface_p.h
index 7f0678288..851770366 100644
--- a/src/sql/qsqldriverinterface_p.h
+++ b/src/sql/qsqldriverinterface_p.h
@@ -60,7 +60,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL
diff --git a/src/sql/qsqldriverplugin.cpp b/src/sql/qsqldriverplugin.cpp
index 451a9aa2f..f0c2f39f8 100644
--- a/src/sql/qsqldriverplugin.cpp
+++ b/src/sql/qsqldriverplugin.cpp
@@ -58,7 +58,7 @@
Writing a SQL plugin is achieved by subclassing this base class,
reimplementing the pure virtual functions keys() and create(), and
- exporting the class with the \c Q_EXPORT_PLUGIN macro. See the SQL
+ exporting the class with the \c TQ_EXPORT_PLUGIN macro. See the SQL
plugins that come with TQt for example implementations (in the
\c{plugins/src/sqldrivers} subdirectory of the source
distribution). Read the \link plugins-howto.html plugins
@@ -138,7 +138,7 @@ TQSqlDriver *TQSqlDriverPluginPrivate::create( const TQString &key )
/*!
Constructs a SQL driver plugin. This is invoked automatically by
- the \c Q_EXPORT_PLUGIN macro.
+ the \c TQ_EXPORT_PLUGIN macro.
*/
TQSqlDriverPlugin::TQSqlDriverPlugin()
diff --git a/src/sql/qsqlextension_p.h b/src/sql/qsqlextension_p.h
index e042089fc..ff2580635 100644
--- a/src/sql/qsqlextension_p.h
+++ b/src/sql/qsqlextension_p.h
@@ -67,7 +67,7 @@
#define TQM_EXPORT_SQL
#define TQM_TEMPLATE_EXTERN_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#define TQM_TEMPLATE_EXTERN_SQL Q_TEMPLATE_EXTERN
#endif
diff --git a/src/sql/qsqlmanager_p.h b/src/sql/qsqlmanager_p.h
index d9ef527e5..c919b9df6 100644
--- a/src/sql/qsqlmanager_p.h
+++ b/src/sql/qsqlmanager_p.h
@@ -66,7 +66,7 @@
#if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL )
#define TQM_EXPORT_SQL
#else
-#define TQM_EXPORT_SQL Q_EXPORT
+#define TQM_EXPORT_SQL TQ_EXPORT
#endif
#ifndef TQT_NO_SQL
diff --git a/src/styles/ntqcdestyle.h b/src/styles/ntqcdestyle.h
index 90857223d..a0f02be28 100644
--- a/src/styles/ntqcdestyle.h
+++ b/src/styles/ntqcdestyle.h
@@ -51,7 +51,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_STYLE_CDE
#else
-#define Q_EXPORT_STYLE_CDE Q_EXPORT
+#define Q_EXPORT_STYLE_CDE TQ_EXPORT
#endif
class Q_EXPORT_STYLE_CDE TQCDEStyle : public TQMotifStyle
diff --git a/src/styles/ntqcommonstyle.h b/src/styles/ntqcommonstyle.h
index d77f72801..47edfe2cb 100644
--- a/src/styles/ntqcommonstyle.h
+++ b/src/styles/ntqcommonstyle.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_STYLE
-class Q_EXPORT TQCommonStyle: public TQStyle
+class TQ_EXPORT TQCommonStyle: public TQStyle
{
TQ_OBJECT
diff --git a/src/styles/ntqcompactstyle.h b/src/styles/ntqcompactstyle.h
index a7d28c84e..b022002c5 100644
--- a/src/styles/ntqcompactstyle.h
+++ b/src/styles/ntqcompactstyle.h
@@ -50,7 +50,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_STYLE_COMPACT
#else
-#define Q_EXPORT_STYLE_COMPACT Q_EXPORT
+#define Q_EXPORT_STYLE_COMPACT TQ_EXPORT
#endif
class Q_EXPORT_STYLE_COMPACT TQCompactStyle : public TQWindowsStyle
diff --git a/src/styles/ntqinterlacestyle.h b/src/styles/ntqinterlacestyle.h
index a3487b651..61a0ed054 100644
--- a/src/styles/ntqinterlacestyle.h
+++ b/src/styles/ntqinterlacestyle.h
@@ -50,7 +50,7 @@
#include "ntqpalette.h"
-class Q_EXPORT TQInterlaceStyle : public TQMotifStyle
+class TQ_EXPORT TQInterlaceStyle : public TQMotifStyle
{
public:
TQInterlaceStyle();
diff --git a/src/styles/ntqmotifplusstyle.h b/src/styles/ntqmotifplusstyle.h
index e7c546192..bb590fc9d 100644
--- a/src/styles/ntqmotifplusstyle.h
+++ b/src/styles/ntqmotifplusstyle.h
@@ -51,7 +51,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_STYLE_MOTIFPLUS
#else
-#define Q_EXPORT_STYLE_MOTIFPLUS Q_EXPORT
+#define Q_EXPORT_STYLE_MOTIFPLUS TQ_EXPORT
#endif
class Q_EXPORT_STYLE_MOTIFPLUS TQMotifPlusStyle : public TQMotifStyle
diff --git a/src/styles/ntqmotifstyle.h b/src/styles/ntqmotifstyle.h
index 75abd98fc..b2501e483 100644
--- a/src/styles/ntqmotifstyle.h
+++ b/src/styles/ntqmotifstyle.h
@@ -52,7 +52,7 @@ class TQPalette;
#if defined(QT_PLUGIN)
#define Q_EXPORT_STYLE_MOTIF
#else
-#define Q_EXPORT_STYLE_MOTIF Q_EXPORT
+#define Q_EXPORT_STYLE_MOTIF TQ_EXPORT
#endif
diff --git a/src/styles/ntqplatinumstyle.h b/src/styles/ntqplatinumstyle.h
index 69b119bd9..54d0a94dd 100644
--- a/src/styles/ntqplatinumstyle.h
+++ b/src/styles/ntqplatinumstyle.h
@@ -52,7 +52,7 @@ class TQPalette;
#if defined(QT_PLUGIN)
#define Q_EXPORT_STYLE_PLATINUM
#else
-#define Q_EXPORT_STYLE_PLATINUM Q_EXPORT
+#define Q_EXPORT_STYLE_PLATINUM TQ_EXPORT
#endif
class Q_EXPORT_STYLE_PLATINUM TQPlatinumStyle : public TQWindowsStyle
diff --git a/src/styles/ntqsgistyle.h b/src/styles/ntqsgistyle.h
index a7cbe2f4e..29582bf69 100644
--- a/src/styles/ntqsgistyle.h
+++ b/src/styles/ntqsgistyle.h
@@ -52,7 +52,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_STYLE_SGI
#else
-#define Q_EXPORT_STYLE_SGI Q_EXPORT
+#define Q_EXPORT_STYLE_SGI TQ_EXPORT
#endif
class TQSGIStylePrivate;
diff --git a/src/styles/ntqstylefactory.h b/src/styles/ntqstylefactory.h
index b2c1ba9d8..b715c19b8 100644
--- a/src/styles/ntqstylefactory.h
+++ b/src/styles/ntqstylefactory.h
@@ -48,7 +48,7 @@
class TQString;
class TQStyle;
-class Q_EXPORT TQStyleFactory
+class TQ_EXPORT TQStyleFactory
{
public:
#ifndef TQT_NO_STRINGLIST
diff --git a/src/styles/ntqstyleplugin.h b/src/styles/ntqstyleplugin.h
index 0142d36fe..4acd2b11a 100644
--- a/src/styles/ntqstyleplugin.h
+++ b/src/styles/ntqstyleplugin.h
@@ -52,7 +52,7 @@
class TQStyle;
class TQStylePluginPrivate;
-class Q_EXPORT TQStylePlugin : public TQGPlugin
+class TQ_EXPORT TQStylePlugin : public TQGPlugin
{
TQ_OBJECT
public:
diff --git a/src/styles/ntqwindowsstyle.h b/src/styles/ntqwindowsstyle.h
index c10afef85..d7df8b98d 100644
--- a/src/styles/ntqwindowsstyle.h
+++ b/src/styles/ntqwindowsstyle.h
@@ -50,7 +50,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_STYLE_WINDOWS
#else
-#define Q_EXPORT_STYLE_WINDOWS Q_EXPORT
+#define Q_EXPORT_STYLE_WINDOWS TQ_EXPORT
#endif
diff --git a/src/styles/qstyleinterface_p.h b/src/styles/qstyleinterface_p.h
index afca34be7..500dcfef3 100644
--- a/src/styles/qstyleinterface_p.h
+++ b/src/styles/qstyleinterface_p.h
@@ -65,7 +65,7 @@ class TQStyle;
#define IID_QStyleFactory TQUuid(0xfc1b6ebe, 0x53c, 0x49c1, 0xa4, 0x83, 0xc3, 0x77, 0x73, 0x9a, 0xb9, 0xa5)
#endif
-struct Q_EXPORT TQStyleFactoryInterface : public TQFeatureListInterface
+struct TQ_EXPORT TQStyleFactoryInterface : public TQFeatureListInterface
{
virtual TQStyle* create( const TQString& style ) = 0;
};
diff --git a/src/styles/qstyleplugin.cpp b/src/styles/qstyleplugin.cpp
index 665e6230f..c6512de1f 100644
--- a/src/styles/qstyleplugin.cpp
+++ b/src/styles/qstyleplugin.cpp
@@ -59,7 +59,7 @@
Writing a style plugin is achieved by subclassing this base class,
reimplementing the pure virtual functions keys() and create(), and
- exporting the class with the \c Q_EXPORT_PLUGIN macro. See the
+ exporting the class with the \c TQ_EXPORT_PLUGIN macro. See the
\link plugins-howto.html plugins documentation\endlink for an
example.
*/
@@ -163,7 +163,7 @@ bool TQStylePluginPrivate::canUnload() const
/*!
Constructs a style plugin. This is invoked automatically by the
- \c Q_EXPORT_PLUGIN macro.
+ \c TQ_EXPORT_PLUGIN macro.
*/
TQStylePlugin::TQStylePlugin()
: TQGPlugin( (TQStyleFactoryInterface*)(d = new TQStylePluginPrivate( this )) )
diff --git a/src/table/ntqtable.h b/src/table/ntqtable.h
index a89d8fbaf..490909e1c 100644
--- a/src/table/ntqtable.h
+++ b/src/table/ntqtable.h
@@ -63,7 +63,7 @@
# define TQM_TEMPLATE_EXTERN_TABLE
#endif
#else
-#define TQM_EXPORT_TABLE Q_EXPORT
+#define TQM_EXPORT_TABLE TQ_EXPORT
#define TQM_TEMPLATE_EXTERN_TABLE Q_TEMPLATE_EXTERN
#endif
diff --git a/src/table/qtable.cpp b/src/table/qtable.cpp
index 2f5d4c259..93d389e3b 100644
--- a/src/table/qtable.cpp
+++ b/src/table/qtable.cpp
@@ -70,7 +70,7 @@
static bool qt_update_cell_widget = TRUE;
static bool qt_table_clipper_enabled = TRUE;
#ifndef QT_INTERNAL_TABLE
-Q_EXPORT
+TQ_EXPORT
#endif
void tqt_set_table_clipper_enabled( bool enabled )
{
diff --git a/src/tools/ntqbitarray.h b/src/tools/ntqbitarray.h
index c63e4ac3f..b6e6e545d 100644
--- a/src/tools/ntqbitarray.h
+++ b/src/tools/ntqbitarray.h
@@ -52,7 +52,7 @@
class TQBitArray;
-class Q_EXPORT TQBitVal
+class TQ_EXPORT TQBitVal
{
private:
TQBitArray *array;
@@ -69,7 +69,7 @@ public:
TQBitArray class
*****************************************************************************/
-class Q_EXPORT TQBitArray : public TQByteArray
+class TQ_EXPORT TQBitArray : public TQByteArray
{
public:
TQBitArray();
@@ -135,9 +135,9 @@ inline bool TQBitArray::operator[]( int index ) const
Misc. TQBitArray operator functions
*****************************************************************************/
-Q_EXPORT TQBitArray operator&( const TQBitArray &, const TQBitArray & );
-Q_EXPORT TQBitArray operator|( const TQBitArray &, const TQBitArray & );
-Q_EXPORT TQBitArray operator^( const TQBitArray &, const TQBitArray & );
+TQ_EXPORT TQBitArray operator&( const TQBitArray &, const TQBitArray & );
+TQ_EXPORT TQBitArray operator|( const TQBitArray &, const TQBitArray & );
+TQ_EXPORT TQBitArray operator^( const TQBitArray &, const TQBitArray & );
inline TQBitVal::operator int()
@@ -162,8 +162,8 @@ inline TQBitVal &TQBitVal::operator=( bool v )
TQBitArray stream functions
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQBitArray & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQBitArray & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQBitArray & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQBitArray & );
#endif
#endif // TQBITARRAY_H
diff --git a/src/tools/ntqbuffer.h b/src/tools/ntqbuffer.h
index e50f1917a..e4ba24115 100644
--- a/src/tools/ntqbuffer.h
+++ b/src/tools/ntqbuffer.h
@@ -47,7 +47,7 @@
#endif // QT_H
-class Q_EXPORT TQBuffer : public TQIODevice
+class TQ_EXPORT TQBuffer : public TQIODevice
{
public:
TQBuffer();
diff --git a/src/tools/ntqcstring.h b/src/tools/ntqcstring.h
index e009b0c09..e0054bf3a 100644
--- a/src/tools/ntqcstring.h
+++ b/src/tools/ntqcstring.h
@@ -53,38 +53,38 @@
Safe and portable C string functions; extensions to standard string.h
*****************************************************************************/
-Q_EXPORT void *tqmemmove( void *dst, const void *src, uint len );
+TQ_EXPORT void *tqmemmove( void *dst, const void *src, uint len );
-Q_EXPORT char *tqstrdup( const char * );
+TQ_EXPORT char *tqstrdup( const char * );
-Q_EXPORT inline uint tqstrlen( const char *str )
+TQ_EXPORT inline uint tqstrlen( const char *str )
{ return str ? (uint)strlen(str) : 0u; }
-Q_EXPORT inline char *qstrcpy( char *dst, const char *src )
+TQ_EXPORT inline char *qstrcpy( char *dst, const char *src )
{ return src ? strcpy(dst, src) : 0; }
-Q_EXPORT char *tqstrncpy( char *dst, const char *src, uint len );
+TQ_EXPORT char *tqstrncpy( char *dst, const char *src, uint len );
-Q_EXPORT inline int qstrcmp( const char *str1, const char *str2 )
+TQ_EXPORT inline int qstrcmp( const char *str1, const char *str2 )
{
return ( str1 && str2 ) ? strcmp( str1, str2 )
: ( str1 ? 1 : ( str2 ? -1 : 0 ) );
}
-Q_EXPORT inline int tqstrncmp( const char *str1, const char *str2, uint len )
+TQ_EXPORT inline int tqstrncmp( const char *str1, const char *str2, uint len )
{
return ( str1 && str2 ) ? strncmp( str1, str2, len )
: ( str1 ? 1 : ( str2 ? -1 : 0 ) );
}
-Q_EXPORT int tqstricmp( const char *, const char * );
+TQ_EXPORT int tqstricmp( const char *, const char * );
-Q_EXPORT int tqstrnicmp( const char *, const char *, uint len );
+TQ_EXPORT int tqstrnicmp( const char *, const char *, uint len );
// tqChecksum: Internet checksum
-Q_EXPORT TQ_UINT16 tqChecksum( const char *s, uint len );
+TQ_EXPORT TQ_UINT16 tqChecksum( const char *s, uint len );
/*****************************************************************************
TQByteArray class
@@ -106,11 +106,11 @@ typedef TQMemArray<char> TQByteArray;
#endif
#ifndef TQT_NO_COMPRESS
-Q_EXPORT TQByteArray tqCompress( const uchar* data, int nbytes );
-Q_EXPORT TQByteArray tqUncompress( const uchar* data, int nbytes );
-Q_EXPORT inline TQByteArray tqCompress( const TQByteArray& data)
+TQ_EXPORT TQByteArray tqCompress( const uchar* data, int nbytes );
+TQ_EXPORT TQByteArray tqUncompress( const uchar* data, int nbytes );
+TQ_EXPORT inline TQByteArray tqCompress( const TQByteArray& data)
{ return tqCompress( (const uchar*)data.data(), data.size() ); }
-Q_EXPORT inline TQByteArray tqUncompress( const TQByteArray& data )
+TQ_EXPORT inline TQByteArray tqUncompress( const TQByteArray& data )
{ return tqUncompress( (const uchar*)data.data(), data.size() ); }
#endif
@@ -118,8 +118,8 @@ Q_EXPORT inline TQByteArray tqUncompress( const TQByteArray& data )
TQByteArray stream functions
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQByteArray & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQByteArray & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQByteArray & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQByteArray & );
#endif
/*****************************************************************************
@@ -128,7 +128,7 @@ Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQByteArray & );
class TQRegExp;
-class Q_EXPORT TQCString : public TQByteArray // C string class
+class TQ_EXPORT TQCString : public TQByteArray // C string class
{
public:
TQCString() {} // make null string
@@ -230,8 +230,8 @@ private:
TQCString stream functions
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQCString & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQCString & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQCString & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQCString & );
#endif
/*****************************************************************************
@@ -288,61 +288,61 @@ inline TQCString::operator const char *() const
TQCString non-member operators
*****************************************************************************/
-Q_EXPORT inline bool operator==( const TQCString &s1, const TQCString &s2 )
+TQ_EXPORT inline bool operator==( const TQCString &s1, const TQCString &s2 )
{ return qstrcmp( s1.data(), s2.data() ) == 0; }
-Q_EXPORT inline bool operator==( const TQCString &s1, const char *s2 )
+TQ_EXPORT inline bool operator==( const TQCString &s1, const char *s2 )
{ return qstrcmp( s1.data(), s2 ) == 0; }
-Q_EXPORT inline bool operator==( const char *s1, const TQCString &s2 )
+TQ_EXPORT inline bool operator==( const char *s1, const TQCString &s2 )
{ return qstrcmp( s1, s2.data() ) == 0; }
-Q_EXPORT inline bool operator!=( const TQCString &s1, const TQCString &s2 )
+TQ_EXPORT inline bool operator!=( const TQCString &s1, const TQCString &s2 )
{ return qstrcmp( s1.data(), s2.data() ) != 0; }
-Q_EXPORT inline bool operator!=( const TQCString &s1, const char *s2 )
+TQ_EXPORT inline bool operator!=( const TQCString &s1, const char *s2 )
{ return qstrcmp( s1.data(), s2 ) != 0; }
-Q_EXPORT inline bool operator!=( const char *s1, const TQCString &s2 )
+TQ_EXPORT inline bool operator!=( const char *s1, const TQCString &s2 )
{ return qstrcmp( s1, s2.data() ) != 0; }
-Q_EXPORT inline bool operator<( const TQCString &s1, const TQCString& s2 )
+TQ_EXPORT inline bool operator<( const TQCString &s1, const TQCString& s2 )
{ return qstrcmp( s1.data(), s2.data() ) < 0; }
-Q_EXPORT inline bool operator<( const TQCString &s1, const char *s2 )
+TQ_EXPORT inline bool operator<( const TQCString &s1, const char *s2 )
{ return qstrcmp( s1.data(), s2 ) < 0; }
-Q_EXPORT inline bool operator<( const char *s1, const TQCString &s2 )
+TQ_EXPORT inline bool operator<( const char *s1, const TQCString &s2 )
{ return qstrcmp( s1, s2.data() ) < 0; }
-Q_EXPORT inline bool operator<=( const TQCString &s1, const TQCString &s2 )
+TQ_EXPORT inline bool operator<=( const TQCString &s1, const TQCString &s2 )
{ return qstrcmp( s1.data(), s2.data() ) <= 0; }
-Q_EXPORT inline bool operator<=( const TQCString &s1, const char *s2 )
+TQ_EXPORT inline bool operator<=( const TQCString &s1, const char *s2 )
{ return qstrcmp( s1.data(), s2 ) <= 0; }
-Q_EXPORT inline bool operator<=( const char *s1, const TQCString &s2 )
+TQ_EXPORT inline bool operator<=( const char *s1, const TQCString &s2 )
{ return qstrcmp( s1, s2.data() ) <= 0; }
-Q_EXPORT inline bool operator>( const TQCString &s1, const TQCString &s2 )
+TQ_EXPORT inline bool operator>( const TQCString &s1, const TQCString &s2 )
{ return qstrcmp( s1.data(), s2.data() ) > 0; }
-Q_EXPORT inline bool operator>( const TQCString &s1, const char *s2 )
+TQ_EXPORT inline bool operator>( const TQCString &s1, const char *s2 )
{ return qstrcmp( s1.data(), s2 ) > 0; }
-Q_EXPORT inline bool operator>( const char *s1, const TQCString &s2 )
+TQ_EXPORT inline bool operator>( const char *s1, const TQCString &s2 )
{ return qstrcmp( s1, s2.data() ) > 0; }
-Q_EXPORT inline bool operator>=( const TQCString &s1, const TQCString& s2 )
+TQ_EXPORT inline bool operator>=( const TQCString &s1, const TQCString& s2 )
{ return qstrcmp( s1.data(), s2.data() ) >= 0; }
-Q_EXPORT inline bool operator>=( const TQCString &s1, const char *s2 )
+TQ_EXPORT inline bool operator>=( const TQCString &s1, const char *s2 )
{ return qstrcmp( s1.data(), s2 ) >= 0; }
-Q_EXPORT inline bool operator>=( const char *s1, const TQCString &s2 )
+TQ_EXPORT inline bool operator>=( const char *s1, const TQCString &s2 )
{ return qstrcmp( s1, s2.data() ) >= 0; }
-Q_EXPORT inline const TQCString operator+( const TQCString &s1,
+TQ_EXPORT inline const TQCString operator+( const TQCString &s1,
const TQCString &s2 )
{
TQCString tmp( s1.data() );
@@ -350,28 +350,28 @@ Q_EXPORT inline const TQCString operator+( const TQCString &s1,
return tmp;
}
-Q_EXPORT inline const TQCString operator+( const TQCString &s1, const char *s2 )
+TQ_EXPORT inline const TQCString operator+( const TQCString &s1, const char *s2 )
{
TQCString tmp( s1.data() );
tmp += s2;
return tmp;
}
-Q_EXPORT inline const TQCString operator+( const char *s1, const TQCString &s2 )
+TQ_EXPORT inline const TQCString operator+( const char *s1, const TQCString &s2 )
{
TQCString tmp( s1 );
tmp += s2;
return tmp;
}
-Q_EXPORT inline const TQCString operator+( const TQCString &s1, char c2 )
+TQ_EXPORT inline const TQCString operator+( const TQCString &s1, char c2 )
{
TQCString tmp( s1.data() );
tmp += c2;
return tmp;
}
-Q_EXPORT inline const TQCString operator+( char c1, const TQCString &s2 )
+TQ_EXPORT inline const TQCString operator+( char c1, const TQCString &s2 )
{
TQCString tmp;
tmp += c1;
diff --git a/src/tools/ntqdatastream.h b/src/tools/ntqdatastream.h
index 47c6c2d38..9cd74f66d 100644
--- a/src/tools/ntqdatastream.h
+++ b/src/tools/ntqdatastream.h
@@ -47,7 +47,7 @@
#endif // QT_H
#ifndef TQT_NO_DATASTREAM
-class Q_EXPORT TQDataStream // data stream class
+class TQ_EXPORT TQDataStream // data stream class
{
public:
TQDataStream();
diff --git a/src/tools/ntqdatetime.h b/src/tools/ntqdatetime.h
index f4d989d14..f64a86ecc 100644
--- a/src/tools/ntqdatetime.h
+++ b/src/tools/ntqdatetime.h
@@ -52,7 +52,7 @@
TQDate class
*****************************************************************************/
-class Q_EXPORT TQDate
+class TQ_EXPORT TQDate
{
public:
TQDate() { jd = 0; }
@@ -114,8 +114,8 @@ private:
uint jd;
friend class TQDateTime;
#ifndef TQT_NO_DATASTREAM
- friend Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQDate & );
- friend Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQDate & );
+ friend TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQDate & );
+ friend TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQDate & );
#endif
};
@@ -124,7 +124,7 @@ private:
TQTime class
*****************************************************************************/
-class Q_EXPORT TQTime
+class TQ_EXPORT TQTime
{
public:
TQTime() { ds=0; } // set null time
@@ -175,8 +175,8 @@ private:
uint ds;
friend class TQDateTime;
#ifndef TQT_NO_DATASTREAM
- friend Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQTime & );
- friend Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQTime & );
+ friend TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQTime & );
+ friend TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQTime & );
#endif
};
@@ -185,7 +185,7 @@ private:
TQDateTime class
*****************************************************************************/
-class Q_EXPORT TQDateTime
+class TQ_EXPORT TQDateTime
{
public:
TQDateTime() {} // set null date and null time
@@ -231,8 +231,8 @@ private:
TQDate d;
TQTime t;
#ifndef TQT_NO_DATASTREAM
- friend Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQDateTime &);
- friend Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQDateTime & );
+ friend TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQDateTime &);
+ friend TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQDateTime & );
#endif
};
@@ -242,12 +242,12 @@ private:
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQDate & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQDate & );
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQTime & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQTime & );
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQDateTime & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQDateTime & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQDate & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQDate & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQTime & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQTime & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQDateTime & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQDateTime & );
#endif // TQT_NO_DATASTREAM
#endif // TQDATETIME_H
diff --git a/src/tools/ntqdir.h b/src/tools/ntqdir.h
index 332cc960e..657f1f7ec 100644
--- a/src/tools/ntqdir.h
+++ b/src/tools/ntqdir.h
@@ -55,7 +55,7 @@ class TQStringList;
template <class T> class TQDeepCopy;
-class Q_EXPORT TQDir
+class TQ_EXPORT TQDir
{
public:
enum FilterSpec { Dirs = 0x001,
diff --git a/src/tools/ntqfile.h b/src/tools/ntqfile.h
index c007d5cbe..0fc684b94 100644
--- a/src/tools/ntqfile.h
+++ b/src/tools/ntqfile.h
@@ -50,7 +50,7 @@
class TQDir;
class TQFilePrivate;
-class Q_EXPORT TQFile : public TQIODevice // file I/O device class
+class TQ_EXPORT TQFile : public TQIODevice // file I/O device class
{
public:
TQFile();
diff --git a/src/tools/ntqfileinfo.h b/src/tools/ntqfileinfo.h
index 86cfe6b2e..eab7f63d1 100644
--- a/src/tools/ntqfileinfo.h
+++ b/src/tools/ntqfileinfo.h
@@ -52,7 +52,7 @@ struct TQFileInfoCache;
template <class T> class TQDeepCopy;
-class Q_EXPORT TQFileInfo
+class TQ_EXPORT TQFileInfo
{
public:
enum PermissionSpec {
diff --git a/src/tools/ntqgarray.h b/src/tools/ntqgarray.h
index 76a5cf34a..4d239dd66 100644
--- a/src/tools/ntqgarray.h
+++ b/src/tools/ntqgarray.h
@@ -46,7 +46,7 @@
#endif // QT_H
-class Q_EXPORT TQGArray // generic array
+class TQ_EXPORT TQGArray // generic array
{
friend class TQBuffer;
public:
diff --git a/src/tools/ntqgcache.h b/src/tools/ntqgcache.h
index d9a3e1edb..cbcb0723f 100644
--- a/src/tools/ntqgcache.h
+++ b/src/tools/ntqgcache.h
@@ -53,7 +53,7 @@ class TQCListIt;
class TQCDict;
-class Q_EXPORT TQGCache : public TQPtrCollection // generic LRU cache
+class TQ_EXPORT TQGCache : public TQPtrCollection // generic LRU cache
{
friend class TQGCacheIterator;
protected:
@@ -98,7 +98,7 @@ private:
};
-class Q_EXPORT TQGCacheIterator // generic cache iterator
+class TQ_EXPORT TQGCacheIterator // generic cache iterator
{
protected:
TQGCacheIterator( const TQGCache & );
diff --git a/src/tools/ntqgdict.h b/src/tools/ntqgdict.h
index ace621ab3..c3f8fb365 100644
--- a/src/tools/ntqgdict.h
+++ b/src/tools/ntqgdict.h
@@ -104,7 +104,7 @@ private:
};
-class Q_EXPORT TQGDict : public TQPtrCollection // generic dictionary class
+class TQ_EXPORT TQGDict : public TQPtrCollection // generic dictionary class
{
public:
uint count() const { return numItems; }
@@ -167,7 +167,7 @@ private:
};
-class Q_EXPORT TQGDictIterator // generic dictionary iterator
+class TQ_EXPORT TQGDictIterator // generic dictionary iterator
{
friend class TQGDict;
public:
diff --git a/src/tools/ntqglist.h b/src/tools/ntqglist.h
index a3fce491e..247c4f68f 100644
--- a/src/tools/ntqglist.h
+++ b/src/tools/ntqglist.h
@@ -45,7 +45,7 @@
#include "ntqptrcollection.h"
#endif // QT_H
-class Q_EXPORT TQLNode
+class TQ_EXPORT TQLNode
{
friend class TQGList;
friend class TQGListIterator;
@@ -63,7 +63,7 @@ class TQMutex;
class TQGListPrivate;
class TQGListIteratorList; // internal helper class
-class Q_EXPORT TQGList : public TQPtrCollection // doubly linked generic list
+class TQ_EXPORT TQGList : public TQPtrCollection // doubly linked generic list
{
friend class TQGListIterator;
friend class TQGListIteratorList;
@@ -212,15 +212,15 @@ inline TQPtrCollection::Item TQGList::clast() const
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQGList & );
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQGList & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQGList & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQGList & );
#endif
/*****************************************************************************
TQGListIterator class
*****************************************************************************/
-class Q_EXPORT TQGListIterator // TQGList iterator
+class TQ_EXPORT TQGListIterator // TQGList iterator
{
friend class TQGList;
friend class TQGListIteratorList;
@@ -265,7 +265,7 @@ inline TQPtrCollection::Item TQGListIterator::get() const
return curNode ? curNode->data : 0;
}
-class Q_EXPORT TQGListStdIterator
+class TQ_EXPORT TQGListStdIterator
{
public:
inline TQGListStdIterator( TQLNode* n ) : node( n ){}
diff --git a/src/tools/ntqglobal.h b/src/tools/ntqglobal.h
index 040d846ba..f249b7050 100644
--- a/src/tools/ntqglobal.h
+++ b/src/tools/ntqglobal.h
@@ -846,12 +846,12 @@ class TQString;
# if defined(QT_DLL)
# undef QT_DLL
# endif
-# define Q_EXPORT __declspec(dllexport)
+# define TQ_EXPORT __declspec(dllexport)
# define Q_TEMPLATEDLL
# define Q_TEMPLATE_EXTERN
# undef TQ_DISABLE_COPY /* avoid unresolved externals */
# elif defined(QT_DLL) /* use a TQt DLL library */
-# define Q_EXPORT __declspec(dllimport)
+# define TQ_EXPORT __declspec(dllimport)
# define Q_TEMPLATEDLL
# ifndef Q_TEMPLATE_EXTERN
# if defined(Q_CC_MSVC_NET)
@@ -864,7 +864,7 @@ class TQString;
# endif
#elif defined(Q_OS_LINUX) && defined(Q_CC_BOR)
# if defined(QT_SHARED) /* create a TQt shared library */
-# define Q_EXPORT __declspec(dllexport)
+# define TQ_EXPORT __declspec(dllexport)
# define Q_TEMPLATEDLL
# define Q_TEMPLATE_EXTERN
# undef TQ_DISABLE_COPY /* avoid unresolved externals */
@@ -874,7 +874,7 @@ class TQString;
# undef TQ_DISABLE_COPY /* avoid unresolved externals */
# endif
#elif defined(Q_CC_GNU) && __GNUC__ - 0 >= 4
-# define Q_EXPORT __attribute__((visibility("default")))
+# define TQ_EXPORT __attribute__((visibility("default")))
# undef QT_MAKEDLL /* ignore these for other platforms */
# undef QT_DLL
#else
@@ -882,8 +882,8 @@ class TQString;
# undef QT_DLL
#endif
-#ifndef Q_EXPORT
-# define Q_EXPORT
+#ifndef TQ_EXPORT
+# define TQ_EXPORT
#endif
@@ -892,7 +892,7 @@ class TQString;
//
#if defined(Q_WS_WIN)
-extern Q_EXPORT bool qt_winunicode;
+extern TQ_EXPORT bool qt_winunicode;
#endif
@@ -900,13 +900,13 @@ extern Q_EXPORT bool qt_winunicode;
// System information
//
-Q_EXPORT const char *tqVersion();
-Q_EXPORT bool tqSysInfo( int *wordSize, bool *bigEndian );
-Q_EXPORT bool tqSharedBuild();
+TQ_EXPORT const char *tqVersion();
+TQ_EXPORT bool tqSysInfo( int *wordSize, bool *bigEndian );
+TQ_EXPORT bool tqSharedBuild();
#if defined(Q_OS_MAC)
int qMacVersion();
#elif defined(Q_WS_WIN)
-Q_EXPORT int qWinVersion();
+TQ_EXPORT int qWinVersion();
#if defined(UNICODE)
#define QT_WA( uni, ansi ) if ( qt_winunicode ) { uni } else { ansi }
#define QT_WA_INLINE( uni, ansi ) ( qt_winunicode ? uni : ansi )
@@ -961,31 +961,31 @@ Q_EXPORT int qWinVersion();
#endif
-Q_EXPORT void tqDebug( const TQString& ); // print debug message
-Q_EXPORT void tqDebug( const TQCString& ); // print debug message
-Q_EXPORT void tqDebug( const char *, ... ) // print debug message
+TQ_EXPORT void tqDebug( const TQString& ); // print debug message
+TQ_EXPORT void tqDebug( const TQCString& ); // print debug message
+TQ_EXPORT void tqDebug( const char *, ... ) // print debug message
#if defined(Q_CC_GNU) && !defined(__INSURE__)
__attribute__ ((format (printf, 1, 2)))
#endif
;
-Q_EXPORT void tqWarning( const TQString& ); // print warning message
-Q_EXPORT void tqWarning( const TQCString& ); // print warning message
-Q_EXPORT void tqWarning( const char *, ... ) // print warning message
+TQ_EXPORT void tqWarning( const TQString& ); // print warning message
+TQ_EXPORT void tqWarning( const TQCString& ); // print warning message
+TQ_EXPORT void tqWarning( const char *, ... ) // print warning message
#if defined(Q_CC_GNU) && !defined(__INSURE__)
__attribute__ ((format (printf, 1, 2)))
#endif
;
-Q_EXPORT void tqFatal( const TQString& ); // print fatal message and exit
-Q_EXPORT void tqFatal( const TQCString& ); // print fatal message and exit
-Q_EXPORT void tqFatal( const char *, ... ) // print fatal message and exit
+TQ_EXPORT void tqFatal( const TQString& ); // print fatal message and exit
+TQ_EXPORT void tqFatal( const TQCString& ); // print fatal message and exit
+TQ_EXPORT void tqFatal( const char *, ... ) // print fatal message and exit
#if defined(Q_CC_GNU)
__attribute__ ((format (printf, 1, 2)))
#endif
;
-Q_EXPORT void tqSystemWarning( const char *, int code = -1 );
+TQ_EXPORT void tqSystemWarning( const char *, int code = -1 );
#if !defined(Q_ASSERT)
@@ -1009,7 +1009,7 @@ Q_EXPORT void tqSystemWarning( const char *, int code = -1 );
#endif // TQT_NO_COMPAT
-Q_EXPORT bool tqt_check_pointer( bool c, const char *, int );
+TQ_EXPORT bool tqt_check_pointer( bool c, const char *, int );
#if defined(QT_CHECK_NULL)
# define TQ_CHECK_PTR(p) (tqt_check_pointer((p)==0,__FILE__,__LINE__))
@@ -1020,34 +1020,34 @@ Q_EXPORT bool tqt_check_pointer( bool c, const char *, int );
enum TQtMsgType { TQtDebugMsg, TQtWarningMsg, TQtFatalMsg };
typedef void (*TQtMsgHandler)(TQtMsgType, const char *);
-Q_EXPORT TQtMsgHandler qInstallMsgHandler( TQtMsgHandler );
+TQ_EXPORT TQtMsgHandler qInstallMsgHandler( TQtMsgHandler );
#if !defined(TQT_NO_COMPAT) // compatibility with TQt 2
typedef TQtMsgHandler msg_handler;
#endif // TQT_NO_COMPAT
-Q_EXPORT void tqSuppressObsoleteWarnings( bool = TRUE );
+TQ_EXPORT void tqSuppressObsoleteWarnings( bool = TRUE );
-Q_EXPORT void tqObsolete( const char *obj, const char *oldfunc,
+TQ_EXPORT void tqObsolete( const char *obj, const char *oldfunc,
const char *newfunc );
-Q_EXPORT void tqObsolete( const char *obj, const char *oldfunc );
-Q_EXPORT void tqObsolete( const char *message );
+TQ_EXPORT void tqObsolete( const char *obj, const char *oldfunc );
+TQ_EXPORT void tqObsolete( const char *message );
//
// Install paths from configure
//
-Q_EXPORT const char *tqInstallPath();
-Q_EXPORT const char *tqInstallPathDocs();
-Q_EXPORT const char *tqInstallPathHeaders();
-Q_EXPORT const char *tqInstallPathLibs();
-Q_EXPORT const char *tqInstallPathBins();
-Q_EXPORT const char *tqInstallPathPlugins();
-Q_EXPORT const char *tqInstallPathData();
-Q_EXPORT const char *tqInstallPathTranslations();
-Q_EXPORT const char *tqInstallPathSysconf();
-Q_EXPORT const char *tqInstallPathShare();
+TQ_EXPORT const char *tqInstallPath();
+TQ_EXPORT const char *tqInstallPathDocs();
+TQ_EXPORT const char *tqInstallPathHeaders();
+TQ_EXPORT const char *tqInstallPathLibs();
+TQ_EXPORT const char *tqInstallPathBins();
+TQ_EXPORT const char *tqInstallPathPlugins();
+TQ_EXPORT const char *tqInstallPathData();
+TQ_EXPORT const char *tqInstallPathTranslations();
+TQ_EXPORT const char *tqInstallPathSysconf();
+TQ_EXPORT const char *tqInstallPathShare();
#endif /* __cplusplus */
diff --git a/src/tools/ntqgvector.h b/src/tools/ntqgvector.h
index ad4b81f9e..4702c0e4a 100644
--- a/src/tools/ntqgvector.h
+++ b/src/tools/ntqgvector.h
@@ -46,7 +46,7 @@
#endif // QT_H
-class Q_EXPORT TQGVector : public TQPtrCollection // generic vector
+class TQ_EXPORT TQGVector : public TQPtrCollection // generic vector
{
friend class TQGList; // needed by TQGList::toVector
public:
@@ -117,8 +117,8 @@ private:
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQGVector & );
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQGVector & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQGVector & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQGVector & );
#endif
#endif // TQGVECTOR_H
diff --git a/src/tools/ntqiodevice.h b/src/tools/ntqiodevice.h
index 543ab8515..c9001bc15 100644
--- a/src/tools/ntqiodevice.h
+++ b/src/tools/ntqiodevice.h
@@ -88,7 +88,7 @@
#define IO_UnspecifiedError 8 // unspecified error
-class Q_EXPORT TQIODevice
+class TQ_EXPORT TQIODevice
{
public:
typedef TQ_ULONG Offset;
diff --git a/src/tools/ntqlibrary.h b/src/tools/ntqlibrary.h
index 046d86855..df9af20b1 100644
--- a/src/tools/ntqlibrary.h
+++ b/src/tools/ntqlibrary.h
@@ -49,7 +49,7 @@
class TQLibraryPrivate;
-class Q_EXPORT TQLibrary
+class TQ_EXPORT TQLibrary
{
public:
TQLibrary( const TQString& filename );
diff --git a/src/tools/ntqlocale.h b/src/tools/ntqlocale.h
index 5cfaa32c6..1cbc54bad 100644
--- a/src/tools/ntqlocale.h
+++ b/src/tools/ntqlocale.h
@@ -43,7 +43,7 @@
struct TQLocalePrivate;
-class Q_EXPORT TQLocale
+class TQ_EXPORT TQLocale
{
friend class TQString;
diff --git a/src/tools/ntqmap.h b/src/tools/ntqmap.h
index f34f665cc..f1c41be96 100644
--- a/src/tools/ntqmap.h
+++ b/src/tools/ntqmap.h
@@ -57,7 +57,7 @@
//#define QT_CHECK_MAP_RANGE
-struct Q_EXPORT TQMapNodeBase
+struct TQ_EXPORT TQMapNodeBase
{
enum Color { Red, Black };
@@ -328,7 +328,7 @@ TQ_INLINE_TEMPLATES int TQMapConstIterator<K,T>::dec()
}
// ### 4.0: rename to something without Private in it. Not really internal.
-class Q_EXPORT TQMapPrivateBase : public TQShared
+class TQ_EXPORT TQMapPrivateBase : public TQShared
{
public:
TQMapPrivateBase() {
diff --git a/src/tools/ntqmutex.h b/src/tools/ntqmutex.h
index e23f66fe8..c517c6355 100644
--- a/src/tools/ntqmutex.h
+++ b/src/tools/ntqmutex.h
@@ -52,7 +52,7 @@ class TQMutexPrivate;
const int Q_MUTEX_NORMAL = 0;
const int Q_MUTEX_RECURSIVE = 1;
-class Q_EXPORT TQMutex
+class TQ_EXPORT TQMutex
{
friend class TQThread;
friend class TQWaitCondition;
@@ -79,7 +79,7 @@ public:
int level();
};
-class Q_EXPORT TQMutexLocker
+class TQ_EXPORT TQMutexLocker
{
public:
TQMutexLocker( TQMutex * );
diff --git a/src/tools/ntqptrcollection.h b/src/tools/ntqptrcollection.h
index 2b69899f8..da6fc6670 100644
--- a/src/tools/ntqptrcollection.h
+++ b/src/tools/ntqptrcollection.h
@@ -50,7 +50,7 @@ class TQGList;
class TQGDict;
-class Q_EXPORT TQPtrCollection // inherited by all collections
+class TQ_EXPORT TQPtrCollection // inherited by all collections
{
public:
bool autoDelete() const { return del_item; }
diff --git a/src/tools/ntqregexp.h b/src/tools/ntqregexp.h
index c61437452..4588263ae 100644
--- a/src/tools/ntqregexp.h
+++ b/src/tools/ntqregexp.h
@@ -49,7 +49,7 @@
class TQRegExpEngine;
struct TQRegExpPrivate;
-class Q_EXPORT TQRegExp
+class TQ_EXPORT TQRegExp
{
public:
enum CaretMode { CaretAtZero, CaretAtOffset, CaretWontMatch };
diff --git a/src/tools/ntqsemaphore.h b/src/tools/ntqsemaphore.h
index 3d418e074..0dc8e81de 100644
--- a/src/tools/ntqsemaphore.h
+++ b/src/tools/ntqsemaphore.h
@@ -49,7 +49,7 @@
class TQSemaphorePrivate;
-class Q_EXPORT TQSemaphore
+class TQ_EXPORT TQSemaphore
{
public:
TQSemaphore( int );
diff --git a/src/tools/ntqsettings.h b/src/tools/ntqsettings.h
index a788d35f2..a9d5cd29b 100644
--- a/src/tools/ntqsettings.h
+++ b/src/tools/ntqsettings.h
@@ -51,7 +51,7 @@
class TQSettingsPrivate;
-class Q_EXPORT TQSettings
+class TQ_EXPORT TQSettings
{
public:
enum Format {
diff --git a/src/tools/ntqshared.h b/src/tools/ntqshared.h
index a556ac200..fbd4dd457 100644
--- a/src/tools/ntqshared.h
+++ b/src/tools/ntqshared.h
@@ -45,7 +45,7 @@
#include "ntqglobal.h"
#endif // QT_H
-struct Q_EXPORT TQShared
+struct TQ_EXPORT TQShared
{
TQShared() : count( 1 ) { }
void ref() { count++; }
diff --git a/src/tools/ntqstring.h b/src/tools/ntqstring.h
index 4c4c4173e..e98aba40a 100644
--- a/src/tools/ntqstring.h
+++ b/src/tools/ntqstring.h
@@ -78,7 +78,7 @@ class TQCharRef;
class TQMutex;
template <class T> class TQDeepCopy;
-class Q_EXPORT TQChar {
+class TQ_EXPORT TQChar {
public:
TQChar();
TQChar( char c );
@@ -363,7 +363,7 @@ inline bool operator>( char ch, TQChar c ) { return !(c>=ch); }
inline bool operator>( TQChar c1, TQChar c2 ) { return !(c2>=c1); }
// internal
-struct Q_EXPORT TQStringData : public TQShared {
+struct TQ_EXPORT TQStringData : public TQShared {
TQStringData();
TQStringData(TQChar *u, uint l, uint m);
~TQStringData();
@@ -398,7 +398,7 @@ private:
};
-class Q_EXPORT TQString
+class TQ_EXPORT TQString
{
public:
TQString(); // make null string
@@ -687,7 +687,7 @@ public:
{ return s1.localeAwareCompare( s2 ); }
#ifndef TQT_NO_DATASTREAM
- friend Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQString & );
+ friend TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQString & );
#endif
void compose();
@@ -758,7 +758,7 @@ private:
friend class TQLineEdit;
};
-class Q_EXPORT TQCharRef {
+class TQ_EXPORT TQCharRef {
friend class TQString;
TQString& s;
uint p;
@@ -818,7 +818,7 @@ inline TQCharRef TQString::at( uint i ) { return TQCharRef(this,i); }
inline TQCharRef TQString::operator[]( int i ) { return at((uint)i); }
-class Q_EXPORT TQConstString : private TQString {
+class TQ_EXPORT TQConstString : private TQString {
public:
TQConstString( const TQChar* unicode, uint length );
~TQConstString();
@@ -830,8 +830,8 @@ public:
TQString stream functions
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQString & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQString & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQString & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQString & );
#endif
/*****************************************************************************
@@ -1000,28 +1000,28 @@ inline int TQString::findRev( const char* str, int index ) const
TQString non-member operators
*****************************************************************************/
-Q_EXPORT bool operator!=( const TQString &s1, const TQString &s2 );
-Q_EXPORT bool operator<( const TQString &s1, const TQString &s2 );
-Q_EXPORT bool operator<=( const TQString &s1, const TQString &s2 );
-Q_EXPORT bool operator==( const TQString &s1, const TQString &s2 );
-Q_EXPORT bool operator>( const TQString &s1, const TQString &s2 );
-Q_EXPORT bool operator>=( const TQString &s1, const TQString &s2 );
+TQ_EXPORT bool operator!=( const TQString &s1, const TQString &s2 );
+TQ_EXPORT bool operator<( const TQString &s1, const TQString &s2 );
+TQ_EXPORT bool operator<=( const TQString &s1, const TQString &s2 );
+TQ_EXPORT bool operator==( const TQString &s1, const TQString &s2 );
+TQ_EXPORT bool operator>( const TQString &s1, const TQString &s2 );
+TQ_EXPORT bool operator>=( const TQString &s1, const TQString &s2 );
#ifndef TQT_NO_CAST_ASCII
-Q_EXPORT bool operator!=( const TQString &s1, const char *s2 );
-Q_EXPORT bool operator<( const TQString &s1, const char *s2 );
-Q_EXPORT bool operator<=( const TQString &s1, const char *s2 );
-Q_EXPORT bool operator==( const TQString &s1, const char *s2 );
-Q_EXPORT bool operator>( const TQString &s1, const char *s2 );
-Q_EXPORT bool operator>=( const TQString &s1, const char *s2 );
-Q_EXPORT bool operator!=( const char *s1, const TQString &s2 );
-Q_EXPORT bool operator<( const char *s1, const TQString &s2 );
-Q_EXPORT bool operator<=( const char *s1, const TQString &s2 );
-Q_EXPORT bool operator==( const char *s1, const TQString &s2 );
-//Q_EXPORT bool operator>( const char *s1, const TQString &s2 ); // MSVC++
-Q_EXPORT bool operator>=( const char *s1, const TQString &s2 );
-#endif
-
-Q_EXPORT inline const TQString operator+( const TQString &s1, const TQString &s2 )
+TQ_EXPORT bool operator!=( const TQString &s1, const char *s2 );
+TQ_EXPORT bool operator<( const TQString &s1, const char *s2 );
+TQ_EXPORT bool operator<=( const TQString &s1, const char *s2 );
+TQ_EXPORT bool operator==( const TQString &s1, const char *s2 );
+TQ_EXPORT bool operator>( const TQString &s1, const char *s2 );
+TQ_EXPORT bool operator>=( const TQString &s1, const char *s2 );
+TQ_EXPORT bool operator!=( const char *s1, const TQString &s2 );
+TQ_EXPORT bool operator<( const char *s1, const TQString &s2 );
+TQ_EXPORT bool operator<=( const char *s1, const TQString &s2 );
+TQ_EXPORT bool operator==( const char *s1, const TQString &s2 );
+//TQ_EXPORT bool operator>( const char *s1, const TQString &s2 ); // MSVC++
+TQ_EXPORT bool operator>=( const char *s1, const TQString &s2 );
+#endif
+
+TQ_EXPORT inline const TQString operator+( const TQString &s1, const TQString &s2 )
{
TQString tmp( s1 );
tmp += s2;
@@ -1029,14 +1029,14 @@ Q_EXPORT inline const TQString operator+( const TQString &s1, const TQString &s2
}
#ifndef TQT_NO_CAST_ASCII
-Q_EXPORT inline const TQString operator+( const TQString &s1, const char *s2 )
+TQ_EXPORT inline const TQString operator+( const TQString &s1, const char *s2 )
{
TQString tmp( s1 );
tmp += TQString::fromAscii(s2);
return tmp;
}
-Q_EXPORT inline const TQString operator+( const char *s1, const TQString &s2 )
+TQ_EXPORT inline const TQString operator+( const char *s1, const TQString &s2 )
{
TQString tmp = TQString::fromAscii( s1 );
tmp += s2;
@@ -1044,21 +1044,21 @@ Q_EXPORT inline const TQString operator+( const char *s1, const TQString &s2 )
}
#endif
-Q_EXPORT inline const TQString operator+( const TQString &s1, TQChar c2 )
+TQ_EXPORT inline const TQString operator+( const TQString &s1, TQChar c2 )
{
TQString tmp( s1 );
tmp += c2;
return tmp;
}
-Q_EXPORT inline const TQString operator+( const TQString &s1, char c2 )
+TQ_EXPORT inline const TQString operator+( const TQString &s1, char c2 )
{
TQString tmp( s1 );
tmp += c2;
return tmp;
}
-Q_EXPORT inline const TQString operator+( TQChar c1, const TQString &s2 )
+TQ_EXPORT inline const TQString operator+( TQChar c1, const TQString &s2 )
{
TQString tmp;
tmp += c1;
@@ -1066,7 +1066,7 @@ Q_EXPORT inline const TQString operator+( TQChar c1, const TQString &s2 )
return tmp;
}
-Q_EXPORT inline const TQString operator+( char c1, const TQString &s2 )
+TQ_EXPORT inline const TQString operator+( char c1, const TQString &s2 )
{
TQString tmp;
tmp += c1;
@@ -1075,12 +1075,12 @@ Q_EXPORT inline const TQString operator+( char c1, const TQString &s2 )
}
#ifndef TQT_NO_STL
-Q_EXPORT inline const TQString operator+(const TQString& s1, const std::string& s2)
+TQ_EXPORT inline const TQString operator+(const TQString& s1, const std::string& s2)
{
return s1 + TQString(s2);
}
-Q_EXPORT inline const TQString operator+(const std::string& s1, const TQString& s2)
+TQ_EXPORT inline const TQString operator+(const std::string& s1, const TQString& s2)
{
TQString tmp(s2);
return TQString(tmp.prepend(s1));
@@ -1089,11 +1089,11 @@ Q_EXPORT inline const TQString operator+(const std::string& s1, const TQString&
#if defined(Q_OS_WIN32)
-extern Q_EXPORT TQString qt_winTQString(void*);
-extern Q_EXPORT const void* qt_winTchar(const TQString& str, bool addnul);
-extern Q_EXPORT void* qt_winTchar_new(const TQString& str);
-extern Q_EXPORT TQCString qt_winTQString2MB( const TQString& s, int len=-1 );
-extern Q_EXPORT TQString qt_winMB2TQString( const char* mb, int len=-1 );
+extern TQ_EXPORT TQString qt_winTQString(void*);
+extern TQ_EXPORT const void* qt_winTchar(const TQString& str, bool addnul);
+extern TQ_EXPORT void* qt_winTchar_new(const TQString& str);
+extern TQ_EXPORT TQCString qt_winTQString2MB( const TQString& s, int len=-1 );
+extern TQ_EXPORT TQString qt_winMB2TQString( const char* mb, int len=-1 );
#endif
#define Q_DEFINED_QSTRING
diff --git a/src/tools/ntqstringlist.h b/src/tools/ntqstringlist.h
index 5fc82435d..7bda85877 100644
--- a/src/tools/ntqstringlist.h
+++ b/src/tools/ntqstringlist.h
@@ -54,11 +54,11 @@ template <class T> class TQDeepCopy;
#if defined(Q_TEMPLATEDLL)
// MOC_SKIP_BEGIN
-//Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList<TQString>;
+//Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueList<TQString>;
// MOC_SKIP_END
#endif
-class Q_EXPORT TQStringList : public TQValueList<TQString>
+class TQ_EXPORT TQStringList : public TQValueList<TQString>
{
public:
TQStringList() { }
@@ -98,8 +98,8 @@ protected:
#ifndef TQT_NO_DATASTREAM
class TQDataStream;
-extern Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQStringList& );
-extern Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQStringList& );
+extern TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQStringList& );
+extern TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQStringList& );
#endif
#endif // TQT_NO_STRINGLIST
diff --git a/src/tools/ntqstrlist.h b/src/tools/ntqstrlist.h
index 2d278a1e8..2495f55a5 100644
--- a/src/tools/ntqstrlist.h
+++ b/src/tools/ntqstrlist.h
@@ -55,7 +55,7 @@ class TQStrListIterator : public TQPtrListIterator<char>
typedef TQPtrListIterator<char> TQStrListIterator;
#endif
-class Q_EXPORT TQStrList : public TQPtrList<char>
+class TQ_EXPORT TQStrList : public TQPtrList<char>
{
public:
TQStrList( bool deepCopies=TRUE ) { dc = deepCopies; del_item = deepCopies; }
@@ -78,7 +78,7 @@ private:
};
-class Q_EXPORT TQStrIList : public TQStrList // case insensitive string list
+class TQ_EXPORT TQStrIList : public TQStrList // case insensitive string list
{
public:
TQStrIList( bool deepCopies=TRUE ) : TQStrList( deepCopies ) {}
diff --git a/src/tools/ntqstrvec.h b/src/tools/ntqstrvec.h
index a1c538663..9f2245081 100644
--- a/src/tools/ntqstrvec.h
+++ b/src/tools/ntqstrvec.h
@@ -47,7 +47,7 @@
#include "ntqdatastream.h"
#endif // QT_H
-class Q_EXPORT TQStrVec : public TQPtrVector<char>
+class TQ_EXPORT TQStrVec : public TQPtrVector<char>
{
public:
TQStrVec() { dc = TRUE; }
@@ -69,7 +69,7 @@ private:
};
-class Q_EXPORT TQStrIVec : public TQStrVec // case insensitive string vec
+class TQ_EXPORT TQStrIVec : public TQStrVec // case insensitive string vec
{
public:
TQStrIVec() {}
diff --git a/src/tools/ntqtextstream.h b/src/tools/ntqtextstream.h
index 7e7345d91..5277c960b 100644
--- a/src/tools/ntqtextstream.h
+++ b/src/tools/ntqtextstream.h
@@ -53,7 +53,7 @@ class TQTextDecoder;
class TQTextStreamPrivate;
-class Q_EXPORT TQTextStream // text stream class
+class TQ_EXPORT TQTextStream // text stream class
{
public:
enum Encoding { Locale, Latin1, Unicode, UnicodeNetworkOrder,
@@ -201,7 +201,7 @@ private: // Disabled copy constructor and operator=
typedef TQTextStream TQTS;
-class Q_EXPORT TQTextIStream : public TQTextStream {
+class TQ_EXPORT TQTextIStream : public TQTextStream {
public:
TQTextIStream( const TQString* s ) :
TQTextStream((TQString*)s,IO_ReadOnly) { }
@@ -217,7 +217,7 @@ private: // Disabled copy constructor and operator=
#endif
};
-class Q_EXPORT TQTextOStream : public TQTextStream {
+class TQ_EXPORT TQTextOStream : public TQTextStream {
public:
TQTextOStream( TQString* s ) :
TQTextStream(s,IO_WriteOnly) { }
@@ -292,7 +292,7 @@ inline TQChar TQTextStream::ts_getc()
typedef TQTextStream & (*TQTSFUNC)(TQTextStream &);// manipulator function
typedef int (TQTextStream::*TQTSMFI)(int); // manipulator w/int argument
-class Q_EXPORT TQTSManip { // text stream manipulator
+class TQ_EXPORT TQTSManip { // text stream manipulator
public:
TQTSManip( TQTSMFI m, int a ) { mf=m; arg=a; }
void exec( TQTextStream &s ) { (s.*mf)(arg); }
@@ -301,37 +301,37 @@ private:
int arg; // member function argument
};
-Q_EXPORT inline TQTextStream &operator>>( TQTextStream &s, TQTSFUNC f )
+TQ_EXPORT inline TQTextStream &operator>>( TQTextStream &s, TQTSFUNC f )
{ return (*f)( s ); }
-Q_EXPORT inline TQTextStream &operator<<( TQTextStream &s, TQTSFUNC f )
+TQ_EXPORT inline TQTextStream &operator<<( TQTextStream &s, TQTSFUNC f )
{ return (*f)( s ); }
-Q_EXPORT inline TQTextStream &operator<<( TQTextStream &s, TQTSManip m )
+TQ_EXPORT inline TQTextStream &operator<<( TQTextStream &s, TQTSManip m )
{ m.exec(s); return s; }
-Q_EXPORT TQTextStream &bin( TQTextStream &s ); // set bin notation
-Q_EXPORT TQTextStream &oct( TQTextStream &s ); // set oct notation
-Q_EXPORT TQTextStream &dec( TQTextStream &s ); // set dec notation
-Q_EXPORT TQTextStream &hex( TQTextStream &s ); // set hex notation
-Q_EXPORT TQTextStream &endl( TQTextStream &s ); // insert EOL ('\n')
-Q_EXPORT TQTextStream &flush( TQTextStream &s ); // flush output
-Q_EXPORT TQTextStream &ws( TQTextStream &s ); // eat whitespace on input
-Q_EXPORT TQTextStream &reset( TQTextStream &s ); // set default flags
+TQ_EXPORT TQTextStream &bin( TQTextStream &s ); // set bin notation
+TQ_EXPORT TQTextStream &oct( TQTextStream &s ); // set oct notation
+TQ_EXPORT TQTextStream &dec( TQTextStream &s ); // set dec notation
+TQ_EXPORT TQTextStream &hex( TQTextStream &s ); // set hex notation
+TQ_EXPORT TQTextStream &endl( TQTextStream &s ); // insert EOL ('\n')
+TQ_EXPORT TQTextStream &flush( TQTextStream &s ); // flush output
+TQ_EXPORT TQTextStream &ws( TQTextStream &s ); // eat whitespace on input
+TQ_EXPORT TQTextStream &reset( TQTextStream &s ); // set default flags
-Q_EXPORT inline TQTSManip qSetW( int w )
+TQ_EXPORT inline TQTSManip qSetW( int w )
{
TQTSMFI func = &TQTextStream::width;
return TQTSManip(func,w);
}
-Q_EXPORT inline TQTSManip qSetFill( int f )
+TQ_EXPORT inline TQTSManip qSetFill( int f )
{
TQTSMFI func = &TQTextStream::fill;
return TQTSManip(func,f);
}
-Q_EXPORT inline TQTSManip qSetPrecision( int p )
+TQ_EXPORT inline TQTSManip qSetPrecision( int p )
{
TQTSMFI func = &TQTextStream::precision;
return TQTSManip(func,p);
diff --git a/src/tools/ntqthreadstorage.h b/src/tools/ntqthreadstorage.h
index 9d9f20cf8..588621237 100644
--- a/src/tools/ntqthreadstorage.h
+++ b/src/tools/ntqthreadstorage.h
@@ -45,7 +45,7 @@
#include "ntqglobal.h"
#endif // QT_H
-class Q_EXPORT TQThreadStorageData
+class TQ_EXPORT TQThreadStorageData
{
public:
TQThreadStorageData( void (*func)(void *) );
diff --git a/src/tools/ntquuid.h b/src/tools/ntquuid.h
index 317a0af82..1403c364e 100644
--- a/src/tools/ntquuid.h
+++ b/src/tools/ntquuid.h
@@ -61,7 +61,7 @@ typedef struct _GUID
#endif
-struct Q_EXPORT TQUuid
+struct TQ_EXPORT TQUuid
{
enum Variant {
VarUnknown =-1,
@@ -187,8 +187,8 @@ struct Q_EXPORT TQUuid
};
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQUuid & );
-Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQUuid & );
+TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQUuid & );
+TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQUuid & );
#endif
#endif //TQUUID_H
diff --git a/src/tools/ntqwaitcondition.h b/src/tools/ntqwaitcondition.h
index b85baf920..503d5d6c9 100644
--- a/src/tools/ntqwaitcondition.h
+++ b/src/tools/ntqwaitcondition.h
@@ -52,7 +52,7 @@
class TQWaitConditionPrivate;
class TQMutex;
-class Q_EXPORT TQWaitCondition
+class TQ_EXPORT TQWaitCondition
{
public:
TQWaitCondition();
diff --git a/src/tools/ntqwinexport.h b/src/tools/ntqwinexport.h
index c3fc2146f..a8f051d33 100644
--- a/src/tools/ntqwinexport.h
+++ b/src/tools/ntqwinexport.h
@@ -41,151 +41,151 @@
#if defined(Q_DEFINED_QASCIIDICT) && defined(Q_DEFINED_QCONNECTION_LIST) && !defined(Q_EXPORTED_QASCIIDICT_TEMPLATES)
#define Q_EXPORTED_QASCIIDICT_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQAsciiDictIterator<TQConnectionList>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQAsciiDict<TQConnectionList>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQAsciiDictIterator<TQConnectionList>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQAsciiDict<TQConnectionList>;
#endif
#if defined(Q_DEFINED_QSTYLESHEET) && defined(Q_DEFINED_QDICT) && !defined(Q_EXPORTED_QSTYLESHEET_TEMPLATES)
#define Q_EXPORTED_QSTYLESHEET_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQDict<TQStyleSheetItem>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQDict<TQStyleSheetItem>;
#endif
#if defined(Q_DEFINED_QLIBRARY) && defined(Q_DEFINED_QDICT) && !defined(Q_EXPORTED_QDICTLIBRARY_TEMPLATES)
#define Q_EXPORTED_QDICTLIBRARY_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQDict<TQLibrary>; // for TQtopia
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQDict<TQLibrary>; // for TQtopia
#endif
#if defined(Q_DEFINED_QGUARDEDPTR) && defined(Q_DEFINED_QOBJECT) && !defined(Q_EXPORTED_QGUARDEDPTROBJECT_TEMPLATES)
#define Q_EXPORTED_QGUARDEDPTROBJECT_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQGuardedPtr<TQObject>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQGuardedPtr<TQObject>;
#endif
// needed for TQtopia
#if defined(Q_DEFINED_QGUARDEDPTR) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED_QGUARDEDPTRTQWIDGET_TEMPLATES)
#define Q_EXPORTED_QGUARDEDPTRTQWIDGET_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQGuardedPtr<TQWidget>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQGuardedPtr<TQWidget>;
#endif
#if defined(Q_DEFINED_QGUARDEDPTR) && defined(Q_DEFINED_QACCESSIBLE_OBJECT) && !defined(Q_EXPORTED_QACCESSIBLEOBJECT_TEMPLATES)
#define Q_EXPORTED_QACCESSIBLEOBJECT_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQGuardedPtr<TQAccessibleObject>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQGuardedPtr<TQAccessibleObject>;
#endif
#if defined(Q_DEFINED_QINTDICT) && !defined(Q_EXPORTED_QINTDICT_TEMPLATES)
#define Q_EXPORTED_QINTDICT_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQIntDict<int>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQIntDict<int>;
#endif
#if defined(Q_DEFINED_QINTDICT) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED__TEMPLATES)
#define Q_EXPORTED__TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQIntDictIterator<TQWidget>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQIntDict<TQWidget>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQIntDictIterator<TQWidget>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQIntDict<TQWidget>;
#endif
#if defined(Q_DEFINED_QMAP) && !defined(Q_EXPORTED_QMAPBASIC_TEMPLATES)
#define Q_EXPORTED_QMAPBASIC_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<int, int>; // for TQtopia
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<int, bool>; // for TQtopia
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<int, int>; // for TQtopia
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<int, bool>; // for TQtopia
#endif
#if defined(Q_DEFINED_QMAP) && defined(Q_DEFINED_QSTRING) && !defined(Q_EXPORTED_QMAPTQSTRING_TEMPLATES)
#define Q_EXPORTED_QMAPTQSTRING_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<TQString, TQString>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<TQString, int>; // for TQtopia
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<int, TQString>; // for TQtopia
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<TQString, TQString>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<TQString, int>; // for TQtopia
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<int, TQString>; // for TQtopia
#endif
#if defined(Q_DEFINED_QMEMARRAY) && !defined(Q_EXPORTED_QMEMARRAY_BASIC_TEMPLATES)
#define Q_EXPORTED_QMEMARRAY_BASIC_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMemArray<int>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMemArray<bool>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMemArray<char>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMemArray<int>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMemArray<bool>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMemArray<char>;
#endif
#if defined(Q_DEFINED_QMEMARRAY) && defined(Q_DEFINED_QPOINT) && !defined(Q_EXPORTED_QMEMARAYPOINT_TEMPLATES)
#define Q_EXPORTED_QMEMARAYPOINT_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQMemArray<TQPoint>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMemArray<TQPoint>;
#endif
#if defined(Q_DEFINED_QPTRLIST) && !defined(Q_EXPORTED_QPTRLIST_BASIC_TEMPLATES)
#define Q_EXPORTED_QPTRLIST_BASIC_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrListIterator<char>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<char>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrListIterator<char>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<char>;
#endif
#if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED_QPTRLISTWIDGET_TEMPLATES)
#define Q_EXPORTED_QPTRLISTWIDGET_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrListIterator<TQWidget>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQWidget>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrListIterator<TQWidget>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<TQWidget>;
#endif
#if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QCONNECTION) && !defined(Q_EXPORTED_QPTRLISTCONNECTION_TEMPLATES)
#define Q_EXPORTED_QPTRLISTCONNECTION_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrListIterator<TQConnection>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQConnection>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrListIterator<TQConnection>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<TQConnection>;
#endif
#if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QOBJECT) && !defined(Q_EXPORTED_QPTRLISTOBJECT_TEMPLATES)
#define Q_EXPORTED_QPTRLISTOBJECT_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrListIterator<TQObject>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQObject>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrListIterator<TQObject>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<TQObject>;
#endif
#if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QDOCKWINDOW) && !defined(Q_EXPORTED_QPTRLISTDOCWINDOW_TEMPLATES)
#define Q_EXPORTED_QPTRLISTDOCWINDOW_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrListIterator<TQDockWindow>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQDockWindow>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrListIterator<TQDockWindow>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<TQDockWindow>;
#endif
#if defined(Q_DEFINED_QPTRVECTOR) && !defined(Q_EXPORTED_QPTRVECTOR_BASIC_TEMPLATES)
#define Q_EXPORTED_QPTRVECTOR_BASIC_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrVector<int>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrVector<int>;
#endif
#if defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QSTYLESHEET) && !defined(Q_EXPORTED_QPTRVECTORSTYLESHEETITEM_TEMPLATES)
#define Q_EXPORTED_QPTRVECTORSTYLESHEETITEM_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrVector<TQStyleSheetItem>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrVector<TQStyleSheetItem>;
#endif
#if defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED_QPTRVECTORWIDGET_TEMPLATES)
#define Q_EXPORTED_QPTRVECTORWIDGET_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrVector<TQWidget>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrVector<TQWidget>;
#endif
#if defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QCONNECTION_LIST) && !defined(Q_EXPORTED_QPTRVECTORCONNECTTIONLIST_TEMPLATES)
#define Q_EXPORTED_QPTRVECTORCONNECTTIONLIST_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrVector<TQConnectionList>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrVector<TQConnectionList>;
#endif
#if defined(Q_DEFINED_QVALUELIST) && !defined(Q_EXPORTED_QVALUELIST_BASIC_TEMPLATES)
#define Q_EXPORTED_QVALUELIST_BASIC_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueListIterator<bool>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList<bool>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueListIterator<int>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList<int>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueListIterator<bool>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueList<bool>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueListIterator<int>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueList<int>;
#endif
#if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QRECT) && !defined(Q_EXPORTED_QVALUELISTRECT_TEMPLATES)
#define Q_EXPORTED_QVALUELISTRECT_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueListIterator<TQRect>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList<TQRect>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueListIterator<TQRect>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueList<TQRect>;
#endif
#if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QSTRING) && !defined(Q_EXPORTED_QVALUELISTSTRING_TEMPLATES)
#define Q_EXPORTED_QVALUELISTSTRING_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueListIterator<TQString>;
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList<TQString>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueListIterator<TQString>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueList<TQString>;
#endif
// TQStylesheet template exports
#if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QSTYLESHEET) && !defined(Q_EXPORTED_QSTYLESHEETITEM1_TEMPLATES)
#define Q_EXPORTED_QSTYLESHEETITEM1_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList< TQPtrVector< TQStyleSheetItem> >;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueList< TQPtrVector< TQStyleSheetItem> >;
#endif
#if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QSTYLESHEET) && !defined(Q_EXPORTED_QSTYLESHEETITEM2_TEMPLATES)
#define Q_EXPORTED_QSTYLESHEETITEM2_TEMPLATES
-Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList<TQStyleSheetItem::ListStyle>;
+Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueList<TQStyleSheetItem::ListStyle>;
#endif
// qcanvas template exports
@@ -209,7 +209,7 @@ TQM_TEMPLATE_EXTERN_TABLE template class TQM_EXPORT_TABLE TQPtrVector<TQTableIte
#endif
#if defined(Q_DEFINED_QTABLE) && defined(Q_DEFINED_QPTRVECTOR)
-//Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrVector<TQTable>;
+//Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrVector<TQTable>;
#endif
// qsqlextension template exports
diff --git a/src/tools/qcom_p.h b/src/tools/qcom_p.h
index 79c5880fa..ab390e7fa 100644
--- a/src/tools/qcom_p.h
+++ b/src/tools/qcom_p.h
@@ -82,7 +82,7 @@ struct TQUObject;
#define IID_QUnknown TQUuid(0x1d8518cd, 0xe8f5, 0x4366, 0x99, 0xe8, 0x87, 0x9f, 0xd7, 0xe4, 0x82, 0xde)
#endif
-struct Q_EXPORT TQUnknownInterface
+struct TQ_EXPORT TQUnknownInterface
{
virtual TQRESULT queryInterface( const TQUuid&, TQUnknownInterface** ) = 0;
virtual ulong addRef() = 0;
@@ -96,7 +96,7 @@ struct Q_EXPORT TQUnknownInterface
// the dispatch interface that inherits the unknown interface.. It is
// used to explore interfaces during runtime and to do dynamic calls.
-struct Q_EXPORT TQDispatchInterface : public TQUnknownInterface
+struct TQ_EXPORT TQDispatchInterface : public TQUnknownInterface
{
// returns the interface description of this dispatch interface.
virtual const TQUInterfaceDescription* interfaceDescription() const = 0;
@@ -189,7 +189,7 @@ private:
#define IID_QObject TQUuid( 0x10a1501b, 0x4c5f, 0x4914, 0x95, 0xdd, 0xc4, 0x00, 0x48, 0x6c, 0xf9, 0x00)
#endif
-struct Q_EXPORT TQObjectInterface
+struct TQ_EXPORT TQObjectInterface
{
virtual TQObject* qObject() = 0;
};
@@ -199,7 +199,7 @@ struct Q_EXPORT TQObjectInterface
#define IID_QComponentInformation TQUuid(0x5f3968a5, 0xf451, 0x45b1, 0x96, 0xfb, 0x6, 0x1a, 0xd9, 0x8f, 0x92, 0x6e)
#endif
-struct Q_EXPORT TQComponentInformationInterface : public TQUnknownInterface
+struct TQ_EXPORT TQComponentInformationInterface : public TQUnknownInterface
{
virtual TQString name() const = 0;
virtual TQString description() const = 0;
@@ -212,7 +212,7 @@ struct Q_EXPORT TQComponentInformationInterface : public TQUnknownInterface
#define IID_QComponentFactory TQUuid( 0x6caa771b, 0x17bb, 0x4988, 0x9e, 0x78, 0xba, 0x5c, 0xdd, 0xaa, 0xc3, 0x1e)
#endif
-struct Q_EXPORT TQComponentFactoryInterface : public TQUnknownInterface
+struct TQ_EXPORT TQComponentFactoryInterface : public TQUnknownInterface
{
virtual TQRESULT createInstance( const TQUuid &cid, const TQUuid &iid, TQUnknownInterface** instance, TQUnknownInterface *outer ) = 0;
};
@@ -222,7 +222,7 @@ struct Q_EXPORT TQComponentFactoryInterface : public TQUnknownInterface
#define IID_QLibrary TQUuid( 0xd16111d4, 0xe1e7, 0x4c47, 0x85, 0x99, 0x24, 0x48, 0x3d, 0xae, 0x2e, 0x07)
#endif
-struct Q_EXPORT TQLibraryInterface : public TQUnknownInterface
+struct TQ_EXPORT TQLibraryInterface : public TQUnknownInterface
{
virtual bool init() = 0;
virtual void cleanup() = 0;
@@ -234,7 +234,7 @@ struct Q_EXPORT TQLibraryInterface : public TQUnknownInterface
#define IID_QFeatureList TQUuid(0x3f8fdc44, 0x3015, 0x4f3e, 0xb6, 0xd6, 0xe4, 0xaa, 0xaa, 0xbd, 0xea, 0xad)
#endif
-struct Q_EXPORT TQFeatureListInterface : public TQUnknownInterface
+struct TQ_EXPORT TQFeatureListInterface : public TQUnknownInterface
{
virtual TQStringList featureList() const = 0;
};
@@ -244,14 +244,14 @@ struct Q_EXPORT TQFeatureListInterface : public TQUnknownInterface
#define IID_QComponentRegistration TQUuid( 0xb5feb5de, 0xe0cd, 0x4e37, 0xb0, 0xeb, 0x8a, 0x81, 0x24, 0x99, 0xa0, 0xc1)
#endif
-struct Q_EXPORT TQComponentRegistrationInterface : public TQUnknownInterface
+struct TQ_EXPORT TQComponentRegistrationInterface : public TQUnknownInterface
{
virtual bool registerComponents( const TQString &filepath ) const = 0;
virtual bool unregisterComponents() const = 0;
};
// internal class that wraps an initialized ulong
-struct Q_EXPORT TQtULong
+struct TQ_EXPORT TQtULong
{
TQtULong() : ref( 0 ) { }
operator unsigned long () const { return ref; }
@@ -281,11 +281,11 @@ public: \
#define Q_UCM_FLAGS_STRING "01"
#endif
-#ifndef Q_EXTERN_C
+#ifndef TQ_EXTERN_C
#ifdef __cplusplus
-#define Q_EXTERN_C extern "C"
+#define TQ_EXTERN_C extern "C"
#else
-#define Q_EXTERN_C extern
+#define TQ_EXTERN_C extern
#endif
#endif
@@ -315,26 +315,26 @@ public: \
# ifdef Q_CC_BOR
# define Q_EXPORT_COMPONENT() \
Q_UCM_VERIFICATION_DATA \
- Q_EXTERN_C __declspec(dllexport) \
+ TQ_EXTERN_C __declspec(dllexport) \
const char * __stdcall qt_ucm_query_verification_data() \
{ return qt_ucm_verification_data; } \
- Q_EXTERN_C Q_EXPORT __declspec(dllexport) TQUnknownInterface* \
+ TQ_EXTERN_C TQ_EXPORT __declspec(dllexport) TQUnknownInterface* \
__stdcall ucm_instantiate()
# else
# define Q_EXPORT_COMPONENT() \
Q_UCM_VERIFICATION_DATA \
- Q_EXTERN_C __declspec(dllexport) \
+ TQ_EXTERN_C __declspec(dllexport) \
const char *qt_ucm_query_verification_data() \
{ return qt_ucm_verification_data; } \
- Q_EXTERN_C Q_EXPORT __declspec(dllexport) TQUnknownInterface* ucm_instantiate()
+ TQ_EXTERN_C TQ_EXPORT __declspec(dllexport) TQUnknownInterface* ucm_instantiate()
# endif
# else
# define Q_EXPORT_COMPONENT() \
Q_UCM_VERIFICATION_DATA \
- Q_EXTERN_C \
+ TQ_EXTERN_C \
const char *qt_ucm_query_verification_data() \
{ return qt_ucm_verification_data; } \
- Q_EXTERN_C Q_EXPORT TQUnknownInterface* ucm_instantiate()
+ TQ_EXTERN_C TQ_EXPORT TQUnknownInterface* ucm_instantiate()
# endif
# define Q_EXPORT_INTERFACE() Q_EXPORT_COMPONENT()
#endif
diff --git a/src/tools/qcomlibrary_p.h b/src/tools/qcomlibrary_p.h
index 8d53e2952..f738aff52 100644
--- a/src/tools/qcomlibrary_p.h
+++ b/src/tools/qcomlibrary_p.h
@@ -58,7 +58,7 @@
#ifndef TQT_NO_COMPONENT
-class Q_EXPORT TQComLibrary : public TQLibrary
+class TQ_EXPORT TQComLibrary : public TQLibrary
{
public:
TQComLibrary( const TQString &filename );
diff --git a/src/tools/qcomponentfactory_p.h b/src/tools/qcomponentfactory_p.h
index 0c343c74d..89399152f 100644
--- a/src/tools/qcomponentfactory_p.h
+++ b/src/tools/qcomponentfactory_p.h
@@ -59,7 +59,7 @@
#ifndef TQT_NO_COMPONENT
-class Q_EXPORT TQComponentFactory
+class TQ_EXPORT TQComponentFactory
{
public:
static TQRESULT createInstance( const TQString &cid, const TQUuid &iid, TQUnknownInterface** instance, TQUnknownInterface *outer = 0 );
diff --git a/src/tools/qgpluginmanager_p.h b/src/tools/qgpluginmanager_p.h
index 371299e9a..c531b1ab1 100644
--- a/src/tools/qgpluginmanager_p.h
+++ b/src/tools/qgpluginmanager_p.h
@@ -63,11 +63,11 @@
#if defined(Q_TEMPLATEDLL)
// MOC_SKIP_BEGIN
-//Q_TEMPLATE_EXTERN template class Q_EXPORT TQDict<TQLibrary>;
+//Q_TEMPLATE_EXTERN template class TQ_EXPORT TQDict<TQLibrary>;
// MOC_SKIP_END
#endif
-class Q_EXPORT TQGPluginManager
+class TQ_EXPORT TQGPluginManager
{
public:
TQGPluginManager( const TQUuid& id, const TQStringList& paths = TQString::null, const TQString &suffix = TQString::null, bool cs = TRUE );
diff --git a/src/tools/qmutexpool.cpp b/src/tools/qmutexpool.cpp
index 18cd55606..72c66c8ca 100644
--- a/src/tools/qmutexpool.cpp
+++ b/src/tools/qmutexpool.cpp
@@ -42,7 +42,7 @@
#include <ntqthread.h>
-Q_EXPORT TQMutexPool *tqt_global_mutexpool = 0;
+TQ_EXPORT TQMutexPool *tqt_global_mutexpool = 0;
/*!
diff --git a/src/tools/qmutexpool_p.h b/src/tools/qmutexpool_p.h
index cb2eef205..a0bb28562 100644
--- a/src/tools/qmutexpool_p.h
+++ b/src/tools/qmutexpool_p.h
@@ -58,7 +58,7 @@
#include "ntqmemarray.h"
#endif // QT_H
-class Q_EXPORT TQMutexPool
+class TQ_EXPORT TQMutexPool
{
public:
TQMutexPool( bool recursive = FALSE, int size = 17 );
@@ -73,7 +73,7 @@ private:
bool recurs;
};
-extern Q_EXPORT TQMutexPool *tqt_global_mutexpool;
+extern TQ_EXPORT TQMutexPool *tqt_global_mutexpool;
#endif // TQT_THREAD_SUPPORT
diff --git a/src/tools/qstring.cpp b/src/tools/qstring.cpp
index 9c205e950..01d90c1f7 100644
--- a/src/tools/qstring.cpp
+++ b/src/tools/qstring.cpp
@@ -1456,7 +1456,7 @@ char* TQString::unicodeToLatin1(const TQChar *uc, uint l, bool unpaged)
flags.
*/
-Q_EXPORT TQStringData *TQString::shared_null = 0;
+TQ_EXPORT TQStringData *TQString::shared_null = 0;
QT_STATIC_CONST_IMPL TQString TQString::null;
QT_STATIC_CONST_IMPL TQChar TQChar::null;
QT_STATIC_CONST_IMPL TQChar TQChar::replacement((ushort)0xfffd);
diff --git a/src/tools/qstringlist.cpp b/src/tools/qstringlist.cpp
index 71427d4e7..732bd7cf3 100644
--- a/src/tools/qstringlist.cpp
+++ b/src/tools/qstringlist.cpp
@@ -436,12 +436,12 @@ TQString TQStringList::join( const TQString &sep ) const
}
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &operator>>( TQDataStream & s, TQStringList& l )
+TQ_EXPORT TQDataStream &operator>>( TQDataStream & s, TQStringList& l )
{
return s >> (TQValueList<TQString>&)l;
}
-Q_EXPORT TQDataStream &operator<<( TQDataStream & s, const TQStringList& l )
+TQ_EXPORT TQDataStream &operator<<( TQDataStream & s, const TQStringList& l )
{
return s << (const TQValueList<TQString>&)l;
}
diff --git a/src/tools/qucom_p.h b/src/tools/qucom_p.h
index f4f7ea81b..db752560f 100644
--- a/src/tools/qucom_p.h
+++ b/src/tools/qucom_p.h
@@ -72,7 +72,7 @@ struct TQUnknownInterface;
struct TQDispatchInterface;
-struct Q_EXPORT TQUBuffer
+struct TQ_EXPORT TQUBuffer
{
virtual long read( char *data, ulong maxlen ) = 0;
virtual long write( const char *data, ulong len ) = 0;
@@ -80,7 +80,7 @@ struct Q_EXPORT TQUBuffer
// A type for a TQUObject
-struct Q_EXPORT TQUType
+struct TQ_EXPORT TQUType
{
virtual const TQUuid *uuid() const = 0;
virtual const char *desc() const = 0;
@@ -106,8 +106,8 @@ struct Q_EXPORT TQUType
// {DE56510E-4E9F-4b76-A3C2-D1E2EF42F1AC}
-extern Q_EXPORT const TQUuid TID_QUType_Null;
-struct Q_EXPORT TQUType_Null : public TQUType
+extern TQ_EXPORT const TQUuid TID_QUType_Null;
+struct TQ_EXPORT TQUType_Null : public TQUType
{
const TQUuid *uuid() const;
const char *desc() const;
@@ -120,11 +120,11 @@ struct Q_EXPORT TQUType_Null : public TQUType
int serializeTo( TQUObject *, TQUBuffer * );
int serializeFrom( TQUObject *, TQUBuffer * );
};
-extern Q_EXPORT TQUType_Null static_QUType_Null;
+extern TQ_EXPORT TQUType_Null static_QUType_Null;
// The magic TQUObject
-struct Q_EXPORT TQUObject
+struct TQ_EXPORT TQUObject
{
public: // scary MSVC bug makes this necessary
TQUObject() : type( &static_QUType_Null ), isLastObject(false) {}
@@ -192,7 +192,7 @@ public: // scary MSVC bug makes this necessary
// A parameter description describes one method parameters. A
// parameter has a name, a type and a flag describing whether it's an
// in parameter, an out parameter, or both ways
-struct Q_EXPORT TQUParameter
+struct TQ_EXPORT TQUParameter
{
const char* name;
TQUType *type;
@@ -203,7 +203,7 @@ struct Q_EXPORT TQUParameter
// A method description describes one method. A method has a name and
// an array of parameters.
-struct Q_EXPORT TQUMethod
+struct TQ_EXPORT TQUMethod
{
const char* name;
int count;
@@ -211,7 +211,7 @@ struct Q_EXPORT TQUMethod
};
// A Property description. Not used yet in the example.
-struct Q_EXPORT TQUProperty
+struct TQ_EXPORT TQUProperty
{
const char* name;
TQUType* type;
@@ -226,7 +226,7 @@ struct Q_EXPORT TQUProperty
// An interface description describes one interface, that is all its
// methods and properties.
-struct Q_EXPORT TQUInterfaceDescription
+struct TQ_EXPORT TQUInterfaceDescription
{
int methodCount;
const TQUMethod* methods;
@@ -238,7 +238,7 @@ struct Q_EXPORT TQUInterfaceDescription
// A component description describe one component, that is its name,
// vendor, release, info, its component uuid and all its interface
// uuids.
-struct Q_EXPORT TQUComponentDescription
+struct TQ_EXPORT TQUComponentDescription
{
const char* name;
const char* vendor;
@@ -253,7 +253,7 @@ struct Q_EXPORT TQUComponentDescription
// A component server description describe one component server, that
// is its name, vendor, release, info and the descriptions of all
// components it can instantiate.
-struct Q_EXPORT TQUComponentServerDescription
+struct TQ_EXPORT TQUComponentServerDescription
{
const char* name;
const char* vendor;
@@ -265,13 +265,13 @@ struct Q_EXPORT TQUComponentServerDescription
-struct Q_EXPORT TQUEnumItem // - a name/value pair
+struct TQ_EXPORT TQUEnumItem // - a name/value pair
{
const char *key;
int value;
};
-struct Q_EXPORT TQUEnum
+struct TQ_EXPORT TQUEnum
{
const char *name; // - enumerator name
unsigned int count; // - number of values
@@ -291,8 +291,8 @@ inline bool TQUType::check( TQUObject* o, TQUType* t ) {
// {7EE17B08-5419-47e2-9776-8EEA112DCAEC}
-extern Q_EXPORT const TQUuid TID_QUType_enum;
-struct Q_EXPORT TQUType_enum : public TQUType
+extern TQ_EXPORT const TQUuid TID_QUType_enum;
+struct TQ_EXPORT TQUType_enum : public TQUType
{
const TQUuid *uuid() const;
const char *desc() const;
@@ -307,12 +307,12 @@ struct Q_EXPORT TQUType_enum : public TQUType
int serializeTo( TQUObject *, TQUBuffer * );
int serializeFrom( TQUObject *, TQUBuffer * );
};
-extern Q_EXPORT TQUType_enum static_QUType_enum;
+extern TQ_EXPORT TQUType_enum static_QUType_enum;
// {8AC26448-5AB4-49eb-968C-8F30AB13D732}
-extern Q_EXPORT const TQUuid TID_QUType_ptr;
-struct Q_EXPORT TQUType_ptr : public TQUType
+extern TQ_EXPORT const TQUuid TID_QUType_ptr;
+struct TQ_EXPORT TQUType_ptr : public TQUType
{
const TQUuid *uuid() const;
const char *desc() const;
@@ -327,11 +327,11 @@ struct Q_EXPORT TQUType_ptr : public TQUType
int serializeTo( TQUObject *, TQUBuffer * );
int serializeFrom( TQUObject *, TQUBuffer * );
};
-extern Q_EXPORT TQUType_ptr static_QUType_ptr;
+extern TQ_EXPORT TQUType_ptr static_QUType_ptr;
// {97A2594D-6496-4402-A11E-55AEF2D4D25C}
-extern Q_EXPORT const TQUuid TID_QUType_iface;
-struct Q_EXPORT TQUType_iface : public TQUType
+extern TQ_EXPORT const TQUuid TID_QUType_iface;
+struct TQ_EXPORT TQUType_iface : public TQUType
{
const TQUuid *uuid() const;
const char *desc() const;
@@ -346,11 +346,11 @@ struct Q_EXPORT TQUType_iface : public TQUType
int serializeTo( TQUObject *, TQUBuffer * );
int serializeFrom( TQUObject *, TQUBuffer * );
};
-extern Q_EXPORT TQUType_iface static_QUType_iface;
+extern TQ_EXPORT TQUType_iface static_QUType_iface;
// {2F358164-E28F-4bf4-9FA9-4E0CDCABA50B}
-extern Q_EXPORT const TQUuid TID_QUType_idisp;
-struct Q_EXPORT TQUType_idisp : public TQUType
+extern TQ_EXPORT const TQUuid TID_QUType_idisp;
+struct TQ_EXPORT TQUType_idisp : public TQUType
{
const TQUuid *uuid() const;
const char *desc() const;
@@ -365,11 +365,11 @@ struct Q_EXPORT TQUType_idisp : public TQUType
int serializeTo( TQUObject *, TQUBuffer * );
int serializeFrom( TQUObject *, TQUBuffer * );
};
-extern Q_EXPORT TQUType_idisp static_QUType_idisp;
+extern TQ_EXPORT TQUType_idisp static_QUType_idisp;
// {CA42115D-13D0-456c-82B5-FC10187F313E}
-extern Q_EXPORT const TQUuid TID_QUType_bool;
-struct Q_EXPORT TQUType_bool : public TQUType
+extern TQ_EXPORT const TQUuid TID_QUType_bool;
+struct TQ_EXPORT TQUType_bool : public TQUType
{
const TQUuid *uuid() const;
const char *desc() const;
@@ -384,11 +384,11 @@ struct Q_EXPORT TQUType_bool : public TQUType
int serializeTo( TQUObject *, TQUBuffer * );
int serializeFrom( TQUObject *, TQUBuffer * );
};
-extern Q_EXPORT TQUType_bool static_QUType_bool;
+extern TQ_EXPORT TQUType_bool static_QUType_bool;
// {53C1F3BE-73C3-4c7d-9E05-CCF09EB676B5}
-extern Q_EXPORT const TQUuid TID_QUType_int;
-struct Q_EXPORT TQUType_int : public TQUType
+extern TQ_EXPORT const TQUuid TID_QUType_int;
+struct TQ_EXPORT TQUType_int : public TQUType
{
const TQUuid *uuid() const;
const char *desc() const;
@@ -403,12 +403,12 @@ struct Q_EXPORT TQUType_int : public TQUType
int serializeTo( TQUObject *, TQUBuffer * );
int serializeFrom( TQUObject *, TQUBuffer * );
};
-extern Q_EXPORT TQUType_int static_QUType_int;
+extern TQ_EXPORT TQUType_int static_QUType_int;
// {2D0974E5-0BA6-4ec2-8837-C198972CB48C}
-extern Q_EXPORT const TQUuid TID_QUType_double;
-struct Q_EXPORT TQUType_double : public TQUType
+extern TQ_EXPORT const TQUuid TID_QUType_double;
+struct TQ_EXPORT TQUType_double : public TQUType
{
const TQUuid *uuid() const;
const char *desc() const;
@@ -423,12 +423,12 @@ struct Q_EXPORT TQUType_double : public TQUType
int serializeTo( TQUObject *, TQUBuffer * );
int serializeFrom( TQUObject *, TQUBuffer * );
};
-extern Q_EXPORT TQUType_double static_QUType_double;
+extern TQ_EXPORT TQUType_double static_QUType_double;
// {EFCDD1D4-77A3-4b8e-8D46-DC14B8D393E9}
-extern Q_EXPORT const TQUuid TID_QUType_charstar;
-struct Q_EXPORT TQUType_charstar : public TQUType
+extern TQ_EXPORT const TQUuid TID_QUType_charstar;
+struct TQ_EXPORT TQUType_charstar : public TQUType
{
const TQUuid *uuid() const;
const char *desc() const;
@@ -444,12 +444,12 @@ struct Q_EXPORT TQUType_charstar : public TQUType
int serializeFrom( TQUObject *, TQUBuffer * );
};
-extern Q_EXPORT TQUType_charstar static_QUType_charstar;
+extern TQ_EXPORT TQUType_charstar static_QUType_charstar;
// {44C2A547-01E7-4e56-8559-35AF9D2F42B7}
extern const TQUuid TID_QUType_TQString;
-struct Q_EXPORT TQUType_TQString : public TQUType
+struct TQ_EXPORT TQUType_TQString : public TQUType
{
const TQUuid *uuid() const;
const char *desc() const;
@@ -466,7 +466,7 @@ struct Q_EXPORT TQUType_TQString : public TQUType
int serializeFrom( TQUObject *, TQUBuffer * );
};
-extern Q_EXPORT TQUType_TQString static_QUType_TQString;
+extern TQ_EXPORT TQUType_TQString static_QUType_TQString;
#endif // TQUCOM_P_H
diff --git a/src/widgets/ntqaction.h b/src/widgets/ntqaction.h
index cb568071d..a00d7d8fd 100644
--- a/src/widgets/ntqaction.h
+++ b/src/widgets/ntqaction.h
@@ -56,7 +56,7 @@ class TQStatusBar;
class TQPopupMenu;
class TQToolTipGroup;
-class Q_EXPORT TQAction : public TQObject
+class TQ_EXPORT TQAction : public TQObject
{
TQ_OBJECT
TQ_PROPERTY( bool toggleAction READ isToggleAction WRITE setToggleAction)
@@ -151,7 +151,7 @@ private:
#endif
};
-class Q_EXPORT TQActionGroup : public TQAction
+class TQ_EXPORT TQActionGroup : public TQAction
{
TQ_OBJECT
TQ_PROPERTY( bool exclusive READ isExclusive WRITE setExclusive )
diff --git a/src/widgets/ntqbutton.h b/src/widgets/ntqbutton.h
index 50d10e662..0d0aa65ef 100644
--- a/src/widgets/ntqbutton.h
+++ b/src/widgets/ntqbutton.h
@@ -53,7 +53,7 @@ class TQButtonGroup;
class TQToolBar;
class TQButtonData;
-class Q_EXPORT TQButton : public TQWidget
+class TQ_EXPORT TQButton : public TQWidget
{
TQ_OBJECT
TQ_ENUMS( ToggleType ToggleState )
diff --git a/src/widgets/ntqbuttongroup.h b/src/widgets/ntqbuttongroup.h
index 0903ae913..1eff32887 100644
--- a/src/widgets/ntqbuttongroup.h
+++ b/src/widgets/ntqbuttongroup.h
@@ -52,7 +52,7 @@ class TQButton;
class TQButtonList;
-class Q_EXPORT TQButtonGroup : public TQGroupBox
+class TQ_EXPORT TQButtonGroup : public TQGroupBox
{
TQ_OBJECT
TQ_PROPERTY( bool exclusive READ isExclusive WRITE setExclusive )
diff --git a/src/widgets/ntqcheckbox.h b/src/widgets/ntqcheckbox.h
index 4c91197e7..4a63e4b4a 100644
--- a/src/widgets/ntqcheckbox.h
+++ b/src/widgets/ntqcheckbox.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_CHECKBOX
-class Q_EXPORT TQCheckBox : public TQButton
+class TQ_EXPORT TQCheckBox : public TQButton
{
TQ_OBJECT
TQ_PROPERTY( bool checked READ isChecked WRITE setChecked )
diff --git a/src/widgets/ntqcombobox.h b/src/widgets/ntqcombobox.h
index faca22c2f..f7bf2e422 100644
--- a/src/widgets/ntqcombobox.h
+++ b/src/widgets/ntqcombobox.h
@@ -56,7 +56,7 @@ class TQListBox;
class TQComboBoxData;
class TQWheelEvent;
-class Q_EXPORT TQComboBox : public TQWidget
+class TQ_EXPORT TQComboBox : public TQWidget
{
TQ_OBJECT
TQ_ENUMS( Policy )
diff --git a/src/widgets/ntqdatetimeedit.h b/src/widgets/ntqdatetimeedit.h
index b96ff38dc..6ff8f0215 100644
--- a/src/widgets/ntqdatetimeedit.h
+++ b/src/widgets/ntqdatetimeedit.h
@@ -49,7 +49,7 @@
#ifndef TQT_NO_DATETIMEEDIT
-class Q_EXPORT TQDateTimeEditBase : public TQWidget
+class TQ_EXPORT TQDateTimeEditBase : public TQWidget
{
TQ_OBJECT
public:
@@ -74,7 +74,7 @@ private:
class TQDateEditPrivate;
-class Q_EXPORT TQDateEdit : public TQDateTimeEditBase
+class TQ_EXPORT TQDateEdit : public TQDateTimeEditBase
{
TQ_OBJECT
TQ_ENUMS( Order )
@@ -154,7 +154,7 @@ private:
class TQTimeEditPrivate;
-class Q_EXPORT TQTimeEdit : public TQDateTimeEditBase
+class TQ_EXPORT TQTimeEdit : public TQDateTimeEditBase
{
TQ_OBJECT
TQ_SETS( Display )
@@ -238,7 +238,7 @@ private:
class TQDateTimeEditPrivate;
-class Q_EXPORT TQDateTimeEdit : public TQWidget
+class TQ_EXPORT TQDateTimeEdit : public TQWidget
{
TQ_OBJECT
TQ_PROPERTY( TQDateTime dateTime READ dateTime WRITE setDateTime )
diff --git a/src/widgets/ntqdial.h b/src/widgets/ntqdial.h
index bb1f17377..b4dba6eec 100644
--- a/src/widgets/ntqdial.h
+++ b/src/widgets/ntqdial.h
@@ -51,7 +51,7 @@
class TQDialPrivate;
-class Q_EXPORT TQDial: public TQWidget, public TQRangeControl
+class TQ_EXPORT TQDial: public TQWidget, public TQRangeControl
{
TQ_OBJECT
TQ_PROPERTY( bool tracking READ tracking WRITE setTracking )
diff --git a/src/widgets/ntqdockarea.h b/src/widgets/ntqdockarea.h
index 39ad32a59..e3a767c4d 100644
--- a/src/widgets/ntqdockarea.h
+++ b/src/widgets/ntqdockarea.h
@@ -60,7 +60,7 @@ class TQMouseEvent;
class TQDockWindowResizeHandle;
class TQDockAreaPrivate;
-class Q_EXPORT TQDockAreaLayout : public TQLayout
+class TQ_EXPORT TQDockAreaLayout : public TQLayout
{
TQ_OBJECT
friend class TQDockArea;
@@ -103,7 +103,7 @@ private:
#endif
};
-class Q_EXPORT TQDockArea : public TQWidget
+class TQ_EXPORT TQDockArea : public TQWidget
{
TQ_OBJECT
TQ_ENUMS( HandlePosition )
@@ -180,8 +180,8 @@ private: // Disabled copy constructor and operator=
};
#ifndef TQT_NO_TEXTSTREAM
-Q_EXPORT TQTextStream &operator<<( TQTextStream &, const TQDockArea & );
-Q_EXPORT TQTextStream &operator>>( TQTextStream &, TQDockArea & );
+TQ_EXPORT TQTextStream &operator<<( TQTextStream &, const TQDockArea & );
+TQ_EXPORT TQTextStream &operator>>( TQTextStream &, TQDockArea & );
#endif
#define Q_DEFINED_QDOCKAREA
diff --git a/src/widgets/ntqdockwindow.h b/src/widgets/ntqdockwindow.h
index 6f5d69fd4..51d8ab456 100644
--- a/src/widgets/ntqdockwindow.h
+++ b/src/widgets/ntqdockwindow.h
@@ -62,7 +62,7 @@ class TQDockWindowPrivate;
class TQToolBar;
class TQWindowsXPStyle;
-class Q_EXPORT TQDockWindow : public TQFrame
+class TQ_EXPORT TQDockWindow : public TQFrame
{
TQ_OBJECT
TQ_ENUMS( CloseMode Place )
diff --git a/src/widgets/ntqframe.h b/src/widgets/ntqframe.h
index 74710e0c7..e0afe5923 100644
--- a/src/widgets/ntqframe.h
+++ b/src/widgets/ntqframe.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_FRAME
-class Q_EXPORT TQFrame : public TQWidget
+class TQ_EXPORT TQFrame : public TQWidget
{
TQ_OBJECT
TQ_ENUMS( Shape Shadow )
diff --git a/src/widgets/ntqgrid.h b/src/widgets/ntqgrid.h
index 7479b9548..8fd72e4d6 100644
--- a/src/widgets/ntqgrid.h
+++ b/src/widgets/ntqgrid.h
@@ -45,7 +45,7 @@
class TQGridLayout;
-class Q_EXPORT TQGrid : public TQFrame
+class TQ_EXPORT TQGrid : public TQFrame
{
TQ_OBJECT
public:
diff --git a/src/widgets/ntqgridview.h b/src/widgets/ntqgridview.h
index e08adfa5e..6a8a3c182 100644
--- a/src/widgets/ntqgridview.h
+++ b/src/widgets/ntqgridview.h
@@ -49,7 +49,7 @@
class TQGridViewPrivate;
-class Q_EXPORT TQGridView : public TQScrollView
+class TQ_EXPORT TQGridView : public TQScrollView
{
TQ_OBJECT
TQ_PROPERTY( int numRows READ numRows WRITE setNumRows )
diff --git a/src/widgets/ntqgroupbox.h b/src/widgets/ntqgroupbox.h
index 42c674b4b..5a33f1329 100644
--- a/src/widgets/ntqgroupbox.h
+++ b/src/widgets/ntqgroupbox.h
@@ -54,7 +54,7 @@ class TQVBoxLayout;
class TQGridLayout;
class TQSpacerItem;
-class Q_EXPORT TQGroupBox : public TQFrame
+class TQ_EXPORT TQGroupBox : public TQFrame
{
TQ_OBJECT
TQ_PROPERTY( TQString title READ title WRITE setTitle )
diff --git a/src/widgets/ntqhbox.h b/src/widgets/ntqhbox.h
index b2fd75946..8b45cb751 100644
--- a/src/widgets/ntqhbox.h
+++ b/src/widgets/ntqhbox.h
@@ -48,7 +48,7 @@
class TQBoxLayout;
-class Q_EXPORT TQHBox : public TQFrame
+class TQ_EXPORT TQHBox : public TQFrame
{
TQ_OBJECT
public:
diff --git a/src/widgets/ntqhbuttongroup.h b/src/widgets/ntqhbuttongroup.h
index acc4b0fc5..b101a4c6b 100644
--- a/src/widgets/ntqhbuttongroup.h
+++ b/src/widgets/ntqhbuttongroup.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_HBUTTONGROUP
-class Q_EXPORT TQHButtonGroup : public TQButtonGroup
+class TQ_EXPORT TQHButtonGroup : public TQButtonGroup
{
TQ_OBJECT
public:
diff --git a/src/widgets/ntqheader.h b/src/widgets/ntqheader.h
index 65df516ad..7030fe11d 100644
--- a/src/widgets/ntqheader.h
+++ b/src/widgets/ntqheader.h
@@ -53,7 +53,7 @@ class TQShowEvent;
class TQHeaderData;
class TQTable;
-class Q_EXPORT TQHeader : public TQWidget
+class TQ_EXPORT TQHeader : public TQWidget
{
friend class TQTable;
friend class TQTableHeader;
@@ -212,7 +212,7 @@ inline TQHeader::Orientation TQHeader::orientation() const
inline void TQHeader::setTracking( bool enable ) { trackingIsOn = enable; }
inline bool TQHeader::tracking() const { return trackingIsOn; }
-extern Q_EXPORT bool tqt_qheader_label_return_null_strings; // needed for professional edition
+extern TQ_EXPORT bool tqt_qheader_label_return_null_strings; // needed for professional edition
#endif // TQT_NO_HEADER
diff --git a/src/widgets/ntqhgroupbox.h b/src/widgets/ntqhgroupbox.h
index a6f818930..b71776a05 100644
--- a/src/widgets/ntqhgroupbox.h
+++ b/src/widgets/ntqhgroupbox.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_HGROUPBOX
-class Q_EXPORT TQHGroupBox : public TQGroupBox
+class TQ_EXPORT TQHGroupBox : public TQGroupBox
{
TQ_OBJECT
public:
diff --git a/src/widgets/ntqiconview.h b/src/widgets/ntqiconview.h
index e9c5d9490..c7ebd66dd 100644
--- a/src/widgets/ntqiconview.h
+++ b/src/widgets/ntqiconview.h
@@ -72,7 +72,7 @@ class TQIconDragPrivate;
#ifndef TQT_NO_DRAGANDDROP
-class Q_EXPORT TQIconDragItem
+class TQ_EXPORT TQIconDragItem
{
public:
TQIconDragItem();
@@ -86,7 +86,7 @@ private:
};
-class Q_EXPORT TQIconDrag : public TQDragObject
+class TQ_EXPORT TQIconDrag : public TQDragObject
{
TQ_OBJECT
public:
@@ -116,7 +116,7 @@ private:
class TQIconViewToolTip;
class TQIconViewItemPrivate;
-class Q_EXPORT TQIconViewItem : public TQt
+class TQ_EXPORT TQIconViewItem : public TQt
{
friend class TQIconView;
friend class TQIconViewToolTip;
@@ -263,7 +263,7 @@ private:
class TQIconViewPrivate; /* don't touch */
-class Q_EXPORT TQIconView : public TQScrollView
+class TQ_EXPORT TQIconView : public TQScrollView
{
friend class TQIconViewItem;
friend class TQIconViewPrivate;
diff --git a/src/widgets/ntqlabel.h b/src/widgets/ntqlabel.h
index e9c348e4e..f8d728807 100644
--- a/src/widgets/ntqlabel.h
+++ b/src/widgets/ntqlabel.h
@@ -50,7 +50,7 @@
class TQSimpleRichText;
class TQLabelPrivate;
-class Q_EXPORT TQLabel : public TQFrame
+class TQ_EXPORT TQLabel : public TQFrame
{
TQ_OBJECT
TQ_PROPERTY( TQString text READ text WRITE setText )
diff --git a/src/widgets/ntqlcdnumber.h b/src/widgets/ntqlcdnumber.h
index 140131290..780f4af28 100644
--- a/src/widgets/ntqlcdnumber.h
+++ b/src/widgets/ntqlcdnumber.h
@@ -51,7 +51,7 @@
class TQLCDNumberPrivate;
-class Q_EXPORT TQLCDNumber : public TQFrame // LCD number widget
+class TQ_EXPORT TQLCDNumber : public TQFrame // LCD number widget
{
TQ_OBJECT
TQ_ENUMS( Mode SegmentStyle )
diff --git a/src/widgets/ntqlineedit.h b/src/widgets/ntqlineedit.h
index 1542acbdd..0748a5d23 100644
--- a/src/widgets/ntqlineedit.h
+++ b/src/widgets/ntqlineedit.h
@@ -56,7 +56,7 @@ class TQPopupMenu;
class TQTextParagraph;
class TQTextCursor;
-class Q_EXPORT TQLineEdit : public TQFrame
+class TQ_EXPORT TQLineEdit : public TQFrame
{
TQ_OBJECT
TQ_ENUMS( EchoMode )
diff --git a/src/widgets/ntqlistbox.h b/src/widgets/ntqlistbox.h
index 6a44866b7..a0eba4324 100644
--- a/src/widgets/ntqlistbox.h
+++ b/src/widgets/ntqlistbox.h
@@ -56,7 +56,7 @@ class TQStrList;
class TQStringList;
-class Q_EXPORT TQListBox : public TQScrollView
+class TQ_EXPORT TQListBox : public TQScrollView
{
friend class TQListBoxItem;
friend class TQListBoxPrivate;
@@ -315,7 +315,7 @@ private: // Disabled copy constructor and operator=
};
-class Q_EXPORT TQListBoxItem
+class TQ_EXPORT TQListBoxItem
{
public:
TQListBoxItem( TQListBox* listbox = 0 );
@@ -373,7 +373,7 @@ private: // Disabled copy constructor and operator=
};
-class Q_EXPORT TQListBoxText : public TQListBoxItem
+class TQ_EXPORT TQListBoxText : public TQListBoxItem
{
public:
TQListBoxText( TQListBox* listbox, const TQString & text=TQString::null );
@@ -398,7 +398,7 @@ private: // Disabled copy constructor and operator=
};
-class Q_EXPORT TQListBoxPixmap : public TQListBoxItem
+class TQ_EXPORT TQListBoxPixmap : public TQListBoxItem
{
public:
TQListBoxPixmap( TQListBox* listbox, const TQPixmap & );
diff --git a/src/widgets/ntqlistview.h b/src/widgets/ntqlistview.h
index 250389a56..b46513372 100644
--- a/src/widgets/ntqlistview.h
+++ b/src/widgets/ntqlistview.h
@@ -63,7 +63,7 @@ class TQMimeSource;
class TQLineEdit;
class TQListViewToolTip;
-class Q_EXPORT TQListViewItem : public TQt
+class TQ_EXPORT TQListViewItem : public TQt
{
friend class TQListViewItemIterator;
friend class TQListViewToolTip;
@@ -234,7 +234,7 @@ private:
class TQCheckListItem;
-class Q_EXPORT TQListView: public TQScrollView
+class TQ_EXPORT TQListView: public TQScrollView
{
friend class TQListViewItemIterator;
friend class TQListViewItem;
@@ -468,7 +468,7 @@ private: // Disabled copy constructor and operator=
};
-class Q_EXPORT TQCheckListItem : public TQListViewItem
+class TQ_EXPORT TQCheckListItem : public TQListViewItem
{
public:
enum Type { RadioButton,
@@ -540,7 +540,7 @@ private:
TQCheckListItemPrivate *d;
};
-class Q_EXPORT TQListViewItemIterator
+class TQ_EXPORT TQListViewItemIterator
{
friend struct TQListViewPrivate;
friend class TQListView;
diff --git a/src/widgets/ntqmainwindow.h b/src/widgets/ntqmainwindow.h
index 1104608a4..02e2939a3 100644
--- a/src/widgets/ntqmainwindow.h
+++ b/src/widgets/ntqmainwindow.h
@@ -57,7 +57,7 @@ class TQMainWindowPrivate;
class TQMainWindowLayout;
class TQPopupMenu;
-class Q_EXPORT TQMainWindow: public TQWidget
+class TQ_EXPORT TQMainWindow: public TQWidget
{
TQ_OBJECT
TQ_PROPERTY( bool rightJustification READ rightJustification WRITE setRightJustification DESIGNABLE false )
@@ -252,8 +252,8 @@ inline void TQMainWindow::setToolBarsMovable( bool b )
#endif
#ifndef TQT_NO_TEXTSTREAM
-Q_EXPORT TQTextStream &operator<<( TQTextStream &, const TQMainWindow & );
-Q_EXPORT TQTextStream &operator>>( TQTextStream &, TQMainWindow & );
+TQ_EXPORT TQTextStream &operator<<( TQTextStream &, const TQMainWindow & );
+TQ_EXPORT TQTextStream &operator>>( TQTextStream &, TQMainWindow & );
#endif
#endif // TQT_NO_MAINWINDOW
diff --git a/src/widgets/ntqmenubar.h b/src/widgets/ntqmenubar.h
index 03b7cc1d2..5212ca520 100644
--- a/src/widgets/ntqmenubar.h
+++ b/src/widgets/ntqmenubar.h
@@ -51,7 +51,7 @@
class TQPopupMenu;
-class Q_EXPORT TQMenuBar : public TQFrame, public TQMenuData
+class TQ_EXPORT TQMenuBar : public TQFrame, public TQMenuData
{
TQ_OBJECT
TQ_ENUMS( Separator )
diff --git a/src/widgets/ntqmenudata.h b/src/widgets/ntqmenudata.h
index 620c0daf9..0f7e08afc 100644
--- a/src/widgets/ntqmenudata.h
+++ b/src/widgets/ntqmenudata.h
@@ -59,7 +59,7 @@ class TQObject;
class TQCustomMenuItem;
class TQMenuItemData;
-class Q_EXPORT TQMenuItem // internal menu item class
+class TQ_EXPORT TQMenuItem // internal menu item class
{
friend class TQMenuData;
public:
@@ -137,7 +137,7 @@ typedef TQPtrList<TQMenuItem> TQMenuItemList;
typedef TQPtrListIterator<TQMenuItem> TQMenuItemListIt;
-class Q_EXPORT TQCustomMenuItem : public TQt
+class TQ_EXPORT TQCustomMenuItem : public TQt
{
public:
TQCustomMenuItem();
@@ -151,7 +151,7 @@ public:
};
-class Q_EXPORT TQMenuData // menu data class
+class TQ_EXPORT TQMenuData // menu data class
{
friend class TQMenuBar;
friend class TQPopupMenu;
diff --git a/src/widgets/ntqmultilineedit.h b/src/widgets/ntqmultilineedit.h
index a40e8df92..bbf22d8bd 100644
--- a/src/widgets/ntqmultilineedit.h
+++ b/src/widgets/ntqmultilineedit.h
@@ -51,7 +51,7 @@ class TQMultiLineEditCommand;
class TQValidator;
class TQMultiLineEditData;
-class Q_EXPORT TQMultiLineEdit : public TQTextEdit
+class TQ_EXPORT TQMultiLineEdit : public TQTextEdit
{
TQ_OBJECT
TQ_PROPERTY( int numLines READ numLines )
diff --git a/src/widgets/ntqpopupmenu.h b/src/widgets/ntqpopupmenu.h
index 6fb1e1b4d..04ae7db85 100644
--- a/src/widgets/ntqpopupmenu.h
+++ b/src/widgets/ntqpopupmenu.h
@@ -49,7 +49,7 @@
#ifndef TQT_NO_POPUPMENU
class TQPopupMenuPrivate;
-class Q_EXPORT TQPopupMenu : public TQFrame, public TQMenuData
+class TQ_EXPORT TQPopupMenu : public TQFrame, public TQMenuData
{
TQ_OBJECT
TQ_PROPERTY( bool checkable READ isCheckable WRITE setCheckable )
diff --git a/src/widgets/ntqprogressbar.h b/src/widgets/ntqprogressbar.h
index 4515b0989..c84b8d852 100644
--- a/src/widgets/ntqprogressbar.h
+++ b/src/widgets/ntqprogressbar.h
@@ -51,7 +51,7 @@
class TQProgressBarPrivate;
-class Q_EXPORT TQProgressBar : public TQFrame
+class TQ_EXPORT TQProgressBar : public TQFrame
{
TQ_OBJECT
TQ_PROPERTY( int totalSteps READ totalSteps WRITE setTotalSteps )
diff --git a/src/widgets/ntqpushbutton.h b/src/widgets/ntqpushbutton.h
index fc52aac39..1b77f5d4d 100644
--- a/src/widgets/ntqpushbutton.h
+++ b/src/widgets/ntqpushbutton.h
@@ -50,7 +50,7 @@
class TQPushButtonPrivate;
class TQPopupMenu;
-class Q_EXPORT TQPushButton : public TQButton
+class TQ_EXPORT TQPushButton : public TQButton
{
TQ_OBJECT
diff --git a/src/widgets/ntqradiobutton.h b/src/widgets/ntqradiobutton.h
index b660eadb7..1c7c0ae34 100644
--- a/src/widgets/ntqradiobutton.h
+++ b/src/widgets/ntqradiobutton.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_RADIOBUTTON
-class Q_EXPORT TQRadioButton : public TQButton
+class TQ_EXPORT TQRadioButton : public TQButton
{
TQ_OBJECT
TQ_PROPERTY( bool checked READ isChecked WRITE setChecked )
diff --git a/src/widgets/ntqrangecontrol.h b/src/widgets/ntqrangecontrol.h
index 63f101664..46072b589 100644
--- a/src/widgets/ntqrangecontrol.h
+++ b/src/widgets/ntqrangecontrol.h
@@ -52,7 +52,7 @@
class TQRangeControlPrivate;
-class Q_EXPORT TQRangeControl
+class TQ_EXPORT TQRangeControl
{
public:
TQRangeControl();
@@ -127,7 +127,7 @@ inline int TQRangeControl::pageStep() const
#ifndef TQT_NO_SPINWIDGET
class TQSpinWidgetPrivate;
-class Q_EXPORT TQSpinWidget : public TQWidget
+class TQ_EXPORT TQSpinWidget : public TQWidget
{
TQ_OBJECT
public:
diff --git a/src/widgets/ntqscrollbar.h b/src/widgets/ntqscrollbar.h
index dffd09930..ab52ff626 100644
--- a/src/widgets/ntqscrollbar.h
+++ b/src/widgets/ntqscrollbar.h
@@ -50,7 +50,7 @@ class TQTimer;
#ifndef TQT_NO_SCROLLBAR
-class Q_EXPORT TQScrollBar : public TQWidget, public TQRangeControl
+class TQ_EXPORT TQScrollBar : public TQWidget, public TQRangeControl
{
TQ_OBJECT
TQ_PROPERTY( int minValue READ minValue WRITE setMinValue )
diff --git a/src/widgets/ntqscrollview.h b/src/widgets/ntqscrollview.h
index abad327eb..c9dcc8846 100644
--- a/src/widgets/ntqscrollview.h
+++ b/src/widgets/ntqscrollview.h
@@ -49,7 +49,7 @@
class TQScrollViewData;
-class Q_EXPORT TQScrollView : public TQFrame
+class TQ_EXPORT TQScrollView : public TQFrame
{
TQ_OBJECT
TQ_ENUMS( ResizePolicy ScrollBarMode )
diff --git a/src/widgets/ntqslider.h b/src/widgets/ntqslider.h
index c5e922f95..1bf9a6c6b 100644
--- a/src/widgets/ntqslider.h
+++ b/src/widgets/ntqslider.h
@@ -52,7 +52,7 @@ struct TQSliderPrivate;
class TQTimer;
-class Q_EXPORT TQSlider : public TQWidget, public TQRangeControl
+class TQ_EXPORT TQSlider : public TQWidget, public TQRangeControl
{
TQ_OBJECT
TQ_ENUMS( TickSetting )
diff --git a/src/widgets/ntqspinbox.h b/src/widgets/ntqspinbox.h
index 0657b3b57..5b1abd8b0 100644
--- a/src/widgets/ntqspinbox.h
+++ b/src/widgets/ntqspinbox.h
@@ -52,7 +52,7 @@ class TQLineEdit;
class TQValidator;
class TQSpinBoxPrivate;
-class Q_EXPORT TQSpinBox: public TQWidget, public TQRangeControl
+class TQ_EXPORT TQSpinBox: public TQWidget, public TQRangeControl
{
TQ_OBJECT
TQ_ENUMS( ButtonSymbols )
diff --git a/src/widgets/ntqsplashscreen.h b/src/widgets/ntqsplashscreen.h
index 131ab1aa1..6649923e6 100644
--- a/src/widgets/ntqsplashscreen.h
+++ b/src/widgets/ntqsplashscreen.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_SPLASHSCREEN
class TQSplashScreenPrivate;
-class Q_EXPORT TQSplashScreen : public TQWidget
+class TQ_EXPORT TQSplashScreen : public TQWidget
{
TQ_OBJECT
public:
diff --git a/src/widgets/ntqsplitter.h b/src/widgets/ntqsplitter.h
index cc8c431c7..887b1b265 100644
--- a/src/widgets/ntqsplitter.h
+++ b/src/widgets/ntqsplitter.h
@@ -69,7 +69,7 @@ public:
int handleWidth;
};
-class Q_EXPORT TQSplitterLayoutStruct : public TQt
+class TQ_EXPORT TQSplitterLayoutStruct : public TQt
{
public:
TQCOORD sizer;
@@ -83,7 +83,7 @@ public:
TQCOORD getSizer( Orientation orient );
};
-class Q_EXPORT TQSplitter : public TQFrame
+class TQ_EXPORT TQSplitter : public TQFrame
{
TQ_OBJECT
TQ_PROPERTY( Orientation orientation READ orientation WRITE setOrientation )
@@ -186,11 +186,11 @@ private:
};
#ifndef TQT_NO_TEXTSTREAM
-Q_EXPORT TQTextStream& operator<<( TQTextStream&, const TQSplitter& );
-Q_EXPORT TQTextStream& operator>>( TQTextStream&, TQSplitter& );
+TQ_EXPORT TQTextStream& operator<<( TQTextStream&, const TQSplitter& );
+TQ_EXPORT TQTextStream& operator>>( TQTextStream&, TQSplitter& );
#endif
-class Q_EXPORT TQSplitterHandle : public TQWidget
+class TQ_EXPORT TQSplitterHandle : public TQWidget
{
TQ_OBJECT
public:
diff --git a/src/widgets/ntqstatusbar.h b/src/widgets/ntqstatusbar.h
index 91fe500b4..4b3f98f32 100644
--- a/src/widgets/ntqstatusbar.h
+++ b/src/widgets/ntqstatusbar.h
@@ -51,7 +51,7 @@
class TQStatusBarPrivate;
-class Q_EXPORT TQStatusBar: public TQWidget
+class TQ_EXPORT TQStatusBar: public TQWidget
{
TQ_OBJECT
TQ_PROPERTY( bool sizeGripEnabled READ isSizeGripEnabled WRITE setSizeGripEnabled )
diff --git a/src/widgets/ntqsyntaxhighlighter.h b/src/widgets/ntqsyntaxhighlighter.h
index 344211008..7ecb07403 100644
--- a/src/widgets/ntqsyntaxhighlighter.h
+++ b/src/widgets/ntqsyntaxhighlighter.h
@@ -52,7 +52,7 @@ class TQSyntaxHighlighterInternal;
class TQSyntaxHighlighterPrivate;
class TQTextParagraph;
-class Q_EXPORT TQSyntaxHighlighter : public TQt
+class TQ_EXPORT TQSyntaxHighlighter : public TQt
{
friend class TQSyntaxHighlighterInternal;
diff --git a/src/widgets/ntqtabbar.h b/src/widgets/ntqtabbar.h
index 8aa5bb023..9e8f71667 100644
--- a/src/widgets/ntqtabbar.h
+++ b/src/widgets/ntqtabbar.h
@@ -49,7 +49,7 @@
class TQTabBar;
class TQIconSet;
-class Q_EXPORT TQTab : public TQt
+class TQ_EXPORT TQTab : public TQt
{
friend class TQTabBar;
friend class TQTabWidget;
@@ -85,7 +85,7 @@ private:
struct TQTabPrivate;
//class *TQAccel;
-class Q_EXPORT TQTabBar: public TQWidget
+class TQ_EXPORT TQTabBar: public TQWidget
{
TQ_OBJECT
TQ_ENUMS( Shape )
diff --git a/src/widgets/ntqtabwidget.h b/src/widgets/ntqtabwidget.h
index f60739bd4..e2ba055c4 100644
--- a/src/widgets/ntqtabwidget.h
+++ b/src/widgets/ntqtabwidget.h
@@ -54,7 +54,7 @@ class TQTab;
class TQWidgetStack;
-class Q_EXPORT TQTabWidget : public TQWidget
+class TQ_EXPORT TQTabWidget : public TQWidget
{
TQ_OBJECT
TQ_ENUMS( TabPosition )
diff --git a/src/widgets/ntqtextbrowser.h b/src/widgets/ntqtextbrowser.h
index c852fa3a6..32806a539 100644
--- a/src/widgets/ntqtextbrowser.h
+++ b/src/widgets/ntqtextbrowser.h
@@ -52,7 +52,7 @@
class TQTextBrowserData;
-class Q_EXPORT TQTextBrowser : public TQTextEdit
+class TQ_EXPORT TQTextBrowser : public TQTextEdit
{
TQ_OBJECT
TQ_PROPERTY( TQString source READ source WRITE setSource )
diff --git a/src/widgets/ntqtextedit.h b/src/widgets/ntqtextedit.h
index b103cc29d..3cd475c94 100644
--- a/src/widgets/ntqtextedit.h
+++ b/src/widgets/ntqtextedit.h
@@ -132,7 +132,7 @@ public:
};
#endif
-class Q_EXPORT TQTextEdit : public TQScrollView
+class TQ_EXPORT TQTextEdit : public TQScrollView
{
friend class TQTextBrowser;
friend class TQSyntaxHighlighter;
@@ -470,7 +470,7 @@ private slots:
void clipboardChanged();
private:
- struct Q_EXPORT UndoRedoInfo {
+ struct TQ_EXPORT UndoRedoInfo {
enum Type { Invalid, Insert, Delete, Backspace, Return, RemoveSelected, Format, Style, IME };
UndoRedoInfo( TQTextDocument *dc );
diff --git a/src/widgets/ntqtextview.h b/src/widgets/ntqtextview.h
index 4d2431811..2d0d73cfe 100644
--- a/src/widgets/ntqtextview.h
+++ b/src/widgets/ntqtextview.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_TEXTVIEW
-class Q_EXPORT TQTextView : public TQTextEdit
+class TQ_EXPORT TQTextView : public TQTextEdit
{
TQ_OBJECT
TQ_OVERRIDE( int undoDepth DESIGNABLE false SCRIPTABLE false )
diff --git a/src/widgets/ntqtoolbar.h b/src/widgets/ntqtoolbar.h
index 87163aef8..5571d9931 100644
--- a/src/widgets/ntqtoolbar.h
+++ b/src/widgets/ntqtoolbar.h
@@ -52,7 +52,7 @@ class TQButton;
class TQBoxLayout;
class TQToolBarPrivate;
-class Q_EXPORT TQToolBar: public TQDockWindow
+class TQ_EXPORT TQToolBar: public TQDockWindow
{
TQ_OBJECT
TQ_PROPERTY( TQString label READ label WRITE setLabel )
diff --git a/src/widgets/ntqtoolbox.h b/src/widgets/ntqtoolbox.h
index 5b0030b20..4b6cf672b 100644
--- a/src/widgets/ntqtoolbox.h
+++ b/src/widgets/ntqtoolbox.h
@@ -51,7 +51,7 @@
class TQToolBoxPrivate;
class TQWidgetList;
-class Q_EXPORT TQToolBox : public TQFrame
+class TQ_EXPORT TQToolBox : public TQFrame
{
TQ_OBJECT
TQ_PROPERTY( int currentIndex READ currentIndex WRITE setCurrentIndex )
diff --git a/src/widgets/ntqtoolbutton.h b/src/widgets/ntqtoolbutton.h
index 48d222f94..144ac8074 100644
--- a/src/widgets/ntqtoolbutton.h
+++ b/src/widgets/ntqtoolbutton.h
@@ -54,7 +54,7 @@ class TQToolButtonPrivate;
class TQToolBar;
class TQPopupMenu;
-class Q_EXPORT TQToolButton : public TQButton
+class TQ_EXPORT TQToolButton : public TQButton
{
TQ_OBJECT
TQ_ENUMS( TextPosition )
diff --git a/src/widgets/ntqtooltip.h b/src/widgets/ntqtooltip.h
index 2bd4af521..e5673511d 100644
--- a/src/widgets/ntqtooltip.h
+++ b/src/widgets/ntqtooltip.h
@@ -53,7 +53,7 @@ class TQTipManager;
class TQIconViewToolTip;
class TQListViewToolTip;
-class Q_EXPORT TQToolTipGroup: public TQObject
+class TQ_EXPORT TQToolTipGroup: public TQObject
{
TQ_OBJECT
TQ_PROPERTY( bool delay READ delay WRITE setDelay )
@@ -88,7 +88,7 @@ private: // Disabled copy constructor and operator=
};
-class Q_EXPORT TQToolTip: public TQt
+class TQ_EXPORT TQToolTip: public TQt
{
public:
TQToolTip( TQWidget *, TQToolTipGroup * = 0 );
diff --git a/src/widgets/ntqvalidator.h b/src/widgets/ntqvalidator.h
index a66f99a63..c5ddedaac 100644
--- a/src/widgets/ntqvalidator.h
+++ b/src/widgets/ntqvalidator.h
@@ -50,7 +50,7 @@
#ifndef TQT_NO_VALIDATOR
-class Q_EXPORT TQValidator : public TQObject
+class TQ_EXPORT TQValidator : public TQObject
{
TQ_OBJECT
public:
@@ -70,7 +70,7 @@ private:
};
-class Q_EXPORT TQIntValidator : public TQValidator
+class TQ_EXPORT TQIntValidator : public TQValidator
{
TQ_OBJECT
TQ_PROPERTY( int bottom READ bottom WRITE setBottom )
@@ -102,7 +102,7 @@ private:
#ifndef TQT_NO_REGEXP
-class Q_EXPORT TQDoubleValidator : public TQValidator
+class TQ_EXPORT TQDoubleValidator : public TQValidator
{
TQ_OBJECT
TQ_PROPERTY( double bottom READ bottom WRITE setBottom )
@@ -137,7 +137,7 @@ private:
};
-class Q_EXPORT TQRegExpValidator : public TQValidator
+class TQ_EXPORT TQRegExpValidator : public TQValidator
{
TQ_OBJECT
// TQ_PROPERTY( TQRegExp regExp READ regExp WRITE setRegExp )
diff --git a/src/widgets/ntqvbox.h b/src/widgets/ntqvbox.h
index 8328ebd71..ae1d5fabd 100644
--- a/src/widgets/ntqvbox.h
+++ b/src/widgets/ntqvbox.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_VBOX
-class Q_EXPORT TQVBox : public TQHBox
+class TQ_EXPORT TQVBox : public TQHBox
{
TQ_OBJECT
public:
diff --git a/src/widgets/ntqvbuttongroup.h b/src/widgets/ntqvbuttongroup.h
index cfccba708..605b69a04 100644
--- a/src/widgets/ntqvbuttongroup.h
+++ b/src/widgets/ntqvbuttongroup.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_VBUTTONGROUP
-class Q_EXPORT TQVButtonGroup : public TQButtonGroup
+class TQ_EXPORT TQVButtonGroup : public TQButtonGroup
{
TQ_OBJECT
public:
diff --git a/src/widgets/ntqvgroupbox.h b/src/widgets/ntqvgroupbox.h
index 27cb9216a..4a4505c8e 100644
--- a/src/widgets/ntqvgroupbox.h
+++ b/src/widgets/ntqvgroupbox.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_VGROUPBOX
-class Q_EXPORT TQVGroupBox : public TQGroupBox
+class TQ_EXPORT TQVGroupBox : public TQGroupBox
{
TQ_OBJECT
public:
diff --git a/src/widgets/ntqwhatsthis.h b/src/widgets/ntqwhatsthis.h
index 22ecafa7d..98f1fd9fa 100644
--- a/src/widgets/ntqwhatsthis.h
+++ b/src/widgets/ntqwhatsthis.h
@@ -51,7 +51,7 @@ class TQToolButton;
class TQPopupMenu;
class TQStyleSheet;
-class Q_EXPORT TQWhatsThis: public TQt
+class TQ_EXPORT TQWhatsThis: public TQt
{
public:
TQWhatsThis( TQWidget *);
diff --git a/src/widgets/ntqwidgetplugin.h b/src/widgets/ntqwidgetplugin.h
index 51cf6cd1e..16c24eb26 100644
--- a/src/widgets/ntqwidgetplugin.h
+++ b/src/widgets/ntqwidgetplugin.h
@@ -61,7 +61,7 @@
class TQWidgetPluginPrivate;
class TQWidget;
-class Q_EXPORT TQWidgetPlugin : public TQGPlugin
+class TQ_EXPORT TQWidgetPlugin : public TQGPlugin
{
TQ_OBJECT
public:
@@ -86,7 +86,7 @@ private:
class TQWidgetContainerPluginPrivate;
-class Q_EXPORT TQWidgetContainerPlugin : public TQWidgetPlugin
+class TQ_EXPORT TQWidgetContainerPlugin : public TQWidgetPlugin
{
public:
diff --git a/src/widgets/ntqwidgetstack.h b/src/widgets/ntqwidgetstack.h
index 2844042db..4967804c8 100644
--- a/src/widgets/ntqwidgetstack.h
+++ b/src/widgets/ntqwidgetstack.h
@@ -53,7 +53,7 @@
class TQWidgetStackPrivate;
-class Q_EXPORT TQWidgetStack: public TQFrame
+class TQ_EXPORT TQWidgetStack: public TQFrame
{
TQ_OBJECT
public:
diff --git a/src/widgets/qdatetimeedit.cpp b/src/widgets/qdatetimeedit.cpp
index 346217920..2989678ac 100644
--- a/src/widgets/qdatetimeedit.cpp
+++ b/src/widgets/qdatetimeedit.cpp
@@ -58,7 +58,7 @@
#define TQDATETIMEEDIT_HIDDEN_CHAR '0'
-class Q_EXPORT TQNumberSection
+class TQ_EXPORT TQNumberSection
{
public:
TQNumberSection( int selStart = 0, int selEnd = 0, bool separat = TRUE, int actual = -1 )
diff --git a/src/widgets/qdockarea.cpp b/src/widgets/qdockarea.cpp
index 1d9d3ac3a..a763cdc53 100644
--- a/src/widgets/qdockarea.cpp
+++ b/src/widgets/qdockarea.cpp
@@ -52,7 +52,7 @@
//#define TQDOCKAREA_DEBUG
-struct Q_EXPORT DockData
+struct TQ_EXPORT DockData
{
DockData() : w( 0 ), rect() {}
DockData( TQDockWindow *dw, const TQRect &r ) : w( dw ), rect( r ) {}
diff --git a/src/widgets/qeffects_p.h b/src/widgets/qeffects_p.h
index 918dca0bd..4f5cecd21 100644
--- a/src/widgets/qeffects_p.h
+++ b/src/widgets/qeffects_p.h
@@ -74,8 +74,8 @@ struct TQEffects
typedef uint DirFlags;
};
-extern void Q_EXPORT qScrollEffect( TQWidget*, TQEffects::DirFlags dir = TQEffects::DownScroll, int time = -1 );
-extern void Q_EXPORT qFadeEffect( TQWidget*, int time = -1 );
+extern void TQ_EXPORT qScrollEffect( TQWidget*, TQEffects::DirFlags dir = TQEffects::DownScroll, int time = -1 );
+extern void TQ_EXPORT qFadeEffect( TQWidget*, int time = -1 );
#endif // TQT_NO_EFFECTS
#endif // TQEFFECTS_P_H
diff --git a/src/widgets/qiconview.cpp b/src/widgets/qiconview.cpp
index 6e801ccb0..8ce8cfb9a 100644
--- a/src/widgets/qiconview.cpp
+++ b/src/widgets/qiconview.cpp
@@ -166,7 +166,7 @@ static TQPixmap *get_qiv_buffer_pixmap( const TQSize &s )
#ifndef TQT_NO_DRAGANDDROP
-class Q_EXPORT TQIconDragData
+class TQ_EXPORT TQIconDragData
{
public:
TQIconDragData();
@@ -184,7 +184,7 @@ public:
bool operator==( const TQIconDragData &i ) const;
};
-class Q_EXPORT TQIconDragDataItem
+class TQ_EXPORT TQIconDragDataItem
{
public:
TQIconDragDataItem() {}
diff --git a/src/widgets/qtitlebar_p.h b/src/widgets/qtitlebar_p.h
index d45ec0717..d19a5c440 100644
--- a/src/widgets/qtitlebar_p.h
+++ b/src/widgets/qtitlebar_p.h
@@ -66,7 +66,7 @@ class TQToolTip;
class TQTitleBarPrivate;
class TQPixmap;
-class Q_EXPORT TQTitleBar : public TQWidget
+class TQ_EXPORT TQTitleBar : public TQWidget
{
TQ_OBJECT
TQ_PROPERTY( bool autoRaise READ autoRaise WRITE setAutoRaise )
diff --git a/src/widgets/qwidgetplugin.cpp b/src/widgets/qwidgetplugin.cpp
index ca92e9e8d..f7d0bb2f9 100644
--- a/src/widgets/qwidgetplugin.cpp
+++ b/src/widgets/qwidgetplugin.cpp
@@ -61,7 +61,7 @@
Writing a widget plugin is achieved by subclassing this base
class, reimplementing the pure virtual functions keys(), create(),
group(), iconSet(), includeFile(), toolTip(), whatsThis() and
- isContainer(), and exporting the class with the \c Q_EXPORT_PLUGIN
+ isContainer(), and exporting the class with the \c TQ_EXPORT_PLUGIN
macro.
See the \link designer-manual.book TQt Designer manual's\endlink,
@@ -351,7 +351,7 @@ TQString TQWidgetPluginPrivate::createCode( const TQString &key, const TQString
/*!
Constructs a widget plugin. This is invoked automatically by the
- \c Q_EXPORT_PLUGIN macro.
+ \c TQ_EXPORT_PLUGIN macro.
*/
TQWidgetPlugin::TQWidgetPlugin()
: TQGPlugin( (TQWidgetFactoryInterface*)(d = new TQWidgetPluginPrivate( this )) )
@@ -461,7 +461,7 @@ bool TQWidgetPlugin::isContainer( const TQString & ) const
subclassing this base class. First by reimplementing
TQWidgetPlugin's pure virtual functions keys(), create(), group(),
iconSet(), includeFile(), toolTip(), whatsThis() and
- isContainer(), and exporting the class with the \c Q_EXPORT_PLUGIN
+ isContainer(), and exporting the class with the \c TQ_EXPORT_PLUGIN
macro. In addition containerOfWidget(), isPassiveInteractor() and
supportsPages() must be reimplemented. If the widget
supportsPages(), count(), currentIndex(), pageLabel(), page(),
@@ -475,7 +475,7 @@ bool TQWidgetPlugin::isContainer( const TQString & ) const
/*!
Constructs a complex container widget plugin. This is invoked
- automatically by the \c Q_EXPORT_PLUGIN macro.
+ automatically by the \c TQ_EXPORT_PLUGIN macro.
*/
TQWidgetContainerPlugin::TQWidgetContainerPlugin()
diff --git a/src/widgets/qwidgetresizehandler_p.h b/src/widgets/qwidgetresizehandler_p.h
index c65f47bdf..08f04b65d 100644
--- a/src/widgets/qwidgetresizehandler_p.h
+++ b/src/widgets/qwidgetresizehandler_p.h
@@ -60,7 +60,7 @@
class TQMouseEvent;
class TQKeyEvent;
-class Q_EXPORT TQWidgetResizeHandler : public TQObject
+class TQ_EXPORT TQWidgetResizeHandler : public TQObject
{
TQ_OBJECT
diff --git a/src/workspace/ntqworkspace.h b/src/workspace/ntqworkspace.h
index 45ba1dd24..eee079d32 100644
--- a/src/workspace/ntqworkspace.h
+++ b/src/workspace/ntqworkspace.h
@@ -51,7 +51,7 @@
#if !defined( TQT_MODULE_WORKSPACE ) || defined( QT_INTERNAL_WORKSPACE )
#define TQM_EXPORT_WORKSPACE
#else
-#define TQM_EXPORT_WORKSPACE Q_EXPORT
+#define TQM_EXPORT_WORKSPACE TQ_EXPORT
#endif
class TQWorkspaceChild;
diff --git a/src/xml/ntqdom.h b/src/xml/ntqdom.h
index aa250520f..1a7089a81 100644
--- a/src/xml/ntqdom.h
+++ b/src/xml/ntqdom.h
@@ -48,7 +48,7 @@
#if !defined(TQT_MODULE_XML) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_XML )
#define TQM_EXPORT_DOM
#else
-#define TQM_EXPORT_DOM Q_EXPORT
+#define TQM_EXPORT_DOM TQ_EXPORT
#endif
#ifndef TQT_NO_DOM
diff --git a/src/xml/ntqxml.h b/src/xml/ntqxml.h
index b6a08d828..b2f86dc93 100644
--- a/src/xml/ntqxml.h
+++ b/src/xml/ntqxml.h
@@ -52,7 +52,7 @@
#if !defined(TQT_MODULE_XML) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_XML )
#define TQM_EXPORT_XML
#else
-#define TQM_EXPORT_XML Q_EXPORT
+#define TQM_EXPORT_XML TQ_EXPORT
#endif
#ifndef TQT_NO_XML
diff --git a/src/xml/qsvgdevice_p.h b/src/xml/qsvgdevice_p.h
index 388f671bb..391a08e07 100644
--- a/src/xml/qsvgdevice_p.h
+++ b/src/xml/qsvgdevice_p.h
@@ -62,7 +62,7 @@
#if !defined(TQT_MODULE_XML) || defined( QT_LICENSE_PROFESSIONAL ) || defined( QT_INTERNAL_XML )
#define TQM_EXPORT_SVG
#else
-#define TQM_EXPORT_SVG Q_EXPORT
+#define TQM_EXPORT_SVG TQ_EXPORT
#endif
#ifndef TQT_NO_SVG