summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-13 13:18:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-13 13:18:58 +0900
commit1ba13366a7a377d50b9e8df9044ce11d8209f98c (patch)
tree40765573bcccd42239475344141eb98d2ac5d45e /tools
parent926102a455014e6ab308aaced19e32eed7ed4414 (diff)
downloadtqt3-1ba13366a7a377d50b9e8df9044ce11d8209f98c.tar.gz
tqt3-1ba13366a7a377d50b9e8df9044ce11d8209f98c.zip
Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools')
-rw-r--r--tools/assistant/lib/ntqassistantclient.h2
-rw-r--r--tools/assistant/mainwindow.ui.h2
-rw-r--r--tools/designer/designer/designerapp.cpp6
-rw-r--r--tools/designer/designer/mainwindow.cpp4
-rw-r--r--tools/designer/designer/mainwindowactions.cpp4
-rw-r--r--tools/designer/designer/outputwindow.cpp2
-rw-r--r--tools/designer/examples/filechooser/plugin/plugin.cpp2
-rw-r--r--tools/designer/shared/domtool.h2
-rw-r--r--tools/designer/uic/embed.cpp2
-rw-r--r--tools/designer/uilib/ntqwidgetfactory.h2
-rw-r--r--tools/designer/uilib/qwidgetfactory.cpp6
-rw-r--r--tools/linguist/lupdate/fetchtr.cpp4
-rw-r--r--tools/qtconfig/mainwindow.cpp2
13 files changed, 20 insertions, 20 deletions
diff --git a/tools/assistant/lib/ntqassistantclient.h b/tools/assistant/lib/ntqassistantclient.h
index c2eefbecd..c3856e068 100644
--- a/tools/assistant/lib/ntqassistantclient.h
+++ b/tools/assistant/lib/ntqassistantclient.h
@@ -39,7 +39,7 @@
class TQSocket;
class TQProcess;
-class Q_EXPORT TQAssistantClient : public TQObject
+class TQ_EXPORT TQAssistantClient : public TQObject
{
TQ_OBJECT
TQ_PROPERTY( bool open READ isOpen )
diff --git a/tools/assistant/mainwindow.ui.h b/tools/assistant/mainwindow.ui.h
index 662f890cb..789b085eb 100644
--- a/tools/assistant/mainwindow.ui.h
+++ b/tools/assistant/mainwindow.ui.h
@@ -47,7 +47,7 @@
TQPtrList<MainWindow> *MainWindow::windows = 0;
#if defined(Q_WS_WIN)
-extern Q_EXPORT int qt_ntfs_permission_lookup;
+extern TQ_EXPORT int qt_ntfs_permission_lookup;
#endif
void MainWindow::init()
diff --git a/tools/designer/designer/designerapp.cpp b/tools/designer/designer/designerapp.cpp
index 2eba6e507..caa4b0b30 100644
--- a/tools/designer/designer/designerapp.cpp
+++ b/tools/designer/designer/designerapp.cpp
@@ -58,7 +58,7 @@ void set_splash_status( const TQString &txt )
splash->message( splashText, TQt::AlignRight|TQt::AlignTop );
}
-Q_EXPORT DesignerApplication::DesignerApplication( int &argc, char **argv )
+TQ_EXPORT DesignerApplication::DesignerApplication( int &argc, char **argv )
: TQApplication( argc, argv )
{
#if defined(Q_WS_WIN)
@@ -69,7 +69,7 @@ Q_EXPORT DesignerApplication::DesignerApplication( int &argc, char **argv )
#endif
}
-Q_EXPORT TQSplashScreen *DesignerApplication::showSplash()
+TQ_EXPORT TQSplashScreen *DesignerApplication::showSplash()
{
TQRect screen = TQApplication::desktop()->screenGeometry();
TQSettings config;
@@ -101,7 +101,7 @@ void DesignerApplication::closeSplash()
static TQString *settings_key = 0;
static TQString *old_settings_key = 0;
-Q_EXPORT TQString DesignerApplication::settingsKey()
+TQ_EXPORT TQString DesignerApplication::settingsKey()
{
if ( !settings_key )
settings_key = new TQString( "/TQt Designer/" +
diff --git a/tools/designer/designer/mainwindow.cpp b/tools/designer/designer/mainwindow.cpp
index 969ba868a..cf72b728b 100644
--- a/tools/designer/designer/mainwindow.cpp
+++ b/tools/designer/designer/mainwindow.cpp
@@ -129,7 +129,7 @@ extern void set_splash_status( const TQString &txt );
extern TQObject* qwf_form_object;
extern TQString *qwf_plugin_dir;
-Q_EXPORT MainWindow *MainWindow::self = 0;
+TQ_EXPORT MainWindow *MainWindow::self = 0;
TQString assistantPath()
{
@@ -150,7 +150,7 @@ static TQString textNoAccel( const TQString& text)
}
-Q_EXPORT MainWindow::MainWindow( bool asClient, bool single, const TQString &plgDir )
+TQ_EXPORT MainWindow::MainWindow( bool asClient, bool single, const TQString &plgDir )
: TQMainWindow( 0, "designer_mainwindow", WType_TopLevel | (single ? 0 : WDestructiveClose) | WGroupLeader ),
grd( 10, 10 ), sGrid( TRUE ), snGrid( TRUE ), restoreConfig( TRUE ), splashScreen( TRUE ),
fileFilter( tr( "TQt User-Interface Files (*.ui)" ) ), client( asClient ),
diff --git a/tools/designer/designer/mainwindowactions.cpp b/tools/designer/designer/mainwindowactions.cpp
index aa4949b8d..bae9ed2ee 100644
--- a/tools/designer/designer/mainwindowactions.cpp
+++ b/tools/designer/designer/mainwindowactions.cpp
@@ -1175,7 +1175,7 @@ void MainWindow::projectInsertFile()
fileOpen( "", "" );
}
-Q_EXPORT void MainWindow::fileOpen( const TQString &filter, const TQString &extension, const TQString &fn, bool inProject )
+TQ_EXPORT void MainWindow::fileOpen( const TQString &filter, const TQString &extension, const TQString &fn, bool inProject )
{
statusBar()->message( tr( "Open a file...") );
@@ -1278,7 +1278,7 @@ Q_EXPORT void MainWindow::fileOpen( const TQString &filter, const TQString &exte
}
}
-Q_EXPORT FormWindow *MainWindow::openFormWindow( const TQString &filename, bool validFileName, FormFile *ff )
+TQ_EXPORT FormWindow *MainWindow::openFormWindow( const TQString &filename, bool validFileName, FormFile *ff )
{
if ( filename.isEmpty() )
return 0;
diff --git a/tools/designer/designer/outputwindow.cpp b/tools/designer/designer/outputwindow.cpp
index dea1ae648..5d069f7ab 100644
--- a/tools/designer/designer/outputwindow.cpp
+++ b/tools/designer/designer/outputwindow.cpp
@@ -45,7 +45,7 @@
#include <ntqpainter.h>
static TQTextEdit *debugoutput = 0;
-Q_EXPORT bool debugToStderr = FALSE;
+TQ_EXPORT bool debugToStderr = FALSE;
TQtMsgHandler OutputWindow::oldMsgHandler = 0;
diff --git a/tools/designer/examples/filechooser/plugin/plugin.cpp b/tools/designer/examples/filechooser/plugin/plugin.cpp
index 4f7334c8d..be8105ff5 100644
--- a/tools/designer/examples/filechooser/plugin/plugin.cpp
+++ b/tools/designer/examples/filechooser/plugin/plugin.cpp
@@ -92,4 +92,4 @@ bool CustomWidgetPlugin::isContainer( const TQString& ) const
}
-Q_EXPORT_PLUGIN( CustomWidgetPlugin )
+TQ_EXPORT_PLUGIN( CustomWidgetPlugin )
diff --git a/tools/designer/shared/domtool.h b/tools/designer/shared/domtool.h
index f53e205f5..8eea8d676 100644
--- a/tools/designer/shared/domtool.h
+++ b/tools/designer/shared/domtool.h
@@ -40,7 +40,7 @@
class TQDomElement;
class TQDomDocument;
-class Q_EXPORT DomTool : public TQt
+class TQ_EXPORT DomTool : public TQt
{
public:
static TQVariant readProperty( const TQDomElement& e, const TQString& name, const TQVariant& defValue );
diff --git a/tools/designer/uic/embed.cpp b/tools/designer/uic/embed.cpp
index 9352a917e..b4618618c 100644
--- a/tools/designer/uic/embed.cpp
+++ b/tools/designer/uic/embed.cpp
@@ -283,7 +283,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
out << "static TQMimeSourceFactory* factory = 0;\n";
out << "\n";
- out << "Q_EXPORT void qInitImages_" << cProject << "()\n";
+ out << "TQ_EXPORT void qInitImages_" << cProject << "()\n";
out << "{\n";
out << " if ( !factory ) {\n";
out << "\tfactory = new MimeSourceFactory_" << cProject << ";\n";
diff --git a/tools/designer/uilib/ntqwidgetfactory.h b/tools/designer/uilib/ntqwidgetfactory.h
index 19bf1834a..fb54e8ae1 100644
--- a/tools/designer/uilib/ntqwidgetfactory.h
+++ b/tools/designer/uilib/ntqwidgetfactory.h
@@ -55,7 +55,7 @@ class TQWidget;
class TQWidgetFactoryPrivate;
class UibStrTable;
-class Q_EXPORT TQWidgetFactory
+class TQ_EXPORT TQWidgetFactory
{
public:
TQWidgetFactory();
diff --git a/tools/designer/uilib/qwidgetfactory.cpp b/tools/designer/uilib/qwidgetfactory.cpp
index 6d9014469..428385d5d 100644
--- a/tools/designer/uilib/qwidgetfactory.cpp
+++ b/tools/designer/uilib/qwidgetfactory.cpp
@@ -120,13 +120,13 @@ static TQPluginManager<WidgetInterface> *widgetInterfaceManager = 0;
static TQMap<TQString, bool> *availableWidgetMap = 0;
static TQStringList *availableWidgetList = 0;
-Q_EXPORT TQMap<TQWidget*, TQString> *qwf_forms = 0;
+TQ_EXPORT TQMap<TQWidget*, TQString> *qwf_forms = 0;
TQString *qwf_language = 0;
-Q_EXPORT bool qwf_execute_code = TRUE;
+TQ_EXPORT bool qwf_execute_code = TRUE;
bool qwf_stays_on_top = FALSE;
TQString qwf_currFileName = "";
TQObject *qwf_form_object = 0;
-Q_EXPORT TQString *qwf_plugin_dir = 0;
+TQ_EXPORT TQString *qwf_plugin_dir = 0;
static void setupPluginDir()
{
diff --git a/tools/linguist/lupdate/fetchtr.cpp b/tools/linguist/lupdate/fetchtr.cpp
index d72b911c6..c5ed953b0 100644
--- a/tools/linguist/lupdate/fetchtr.cpp
+++ b/tools/linguist/lupdate/fetchtr.cpp
@@ -496,8 +496,8 @@ static void parse( MetaTranslator *tor, const char *initialContext,
/*
This code should execute only once, but we play
safe with impure definitions such as
- 'class Q_EXPORT TQMessageBox', in which case
- 'TQMessageBox' is the class name, not 'Q_EXPORT'.
+ 'class TQ_EXPORT TQMessageBox', in which case
+ 'TQMessageBox' is the class name, not 'TQ_EXPORT'.
*/
functionContext = yyIdent;
yyTok = getToken();
diff --git a/tools/qtconfig/mainwindow.cpp b/tools/qtconfig/mainwindow.cpp
index ed7992df9..6b116a48b 100644
--- a/tools/qtconfig/mainwindow.cpp
+++ b/tools/qtconfig/mainwindow.cpp
@@ -60,7 +60,7 @@
// from qapplication.cpp and qapplication_x11.cpp - These are NOT for
// external use ignore them
-extern bool Q_EXPORT tqt_resolve_symlinks;
+extern bool TQ_EXPORT tqt_resolve_symlinks;
static const char *appearance_text =