diff options
Diffstat (limited to 'tools/designer')
-rw-r--r-- | tools/designer/designer/designerapp.cpp | 6 | ||||
-rw-r--r-- | tools/designer/designer/mainwindow.cpp | 4 | ||||
-rw-r--r-- | tools/designer/designer/mainwindowactions.cpp | 4 | ||||
-rw-r--r-- | tools/designer/designer/outputwindow.cpp | 2 | ||||
-rw-r--r-- | tools/designer/examples/filechooser/plugin/plugin.cpp | 2 | ||||
-rw-r--r-- | tools/designer/shared/domtool.h | 2 | ||||
-rw-r--r-- | tools/designer/uic/embed.cpp | 2 | ||||
-rw-r--r-- | tools/designer/uilib/ntqwidgetfactory.h | 2 | ||||
-rw-r--r-- | tools/designer/uilib/qwidgetfactory.cpp | 6 |
9 files changed, 15 insertions, 15 deletions
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() { |