From beb289c9a974045e2c9388bb281203c346578c59 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 May 2024 17:48:00 +0900 Subject: Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT Signed-off-by: Michele Calgaro (cherry picked from commit 026828840f8255b5c4fde83ea95209f6f1f5ef8f) --- konqueror/client/kfmclient.cpp | 2 +- konqueror/keditbookmarks/main.cpp | 2 +- konqueror/konq_main.cpp | 2 +- konqueror/preloader/preloader.cpp | 2 +- konqueror/sidebar/konqsidebarplugin.h | 2 +- konqueror/sidebar/sidebar_widget.h | 2 +- konqueror/sidebar/test/konqsidebartest.cpp | 2 +- konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp | 2 +- konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp | 2 +- konqueror/sidebar/trees/history_module/history_module.cpp | 2 +- konqueror/sidebar/trees/konqsidebar_tree.cpp | 4 ++-- konqueror/sidebar/web_module/web_module.cpp | 4 ++-- 12 files changed, 14 insertions(+), 14 deletions(-) (limited to 'konqueror') diff --git a/konqueror/client/kfmclient.cpp b/konqueror/client/kfmclient.cpp index 001734cdb..db9d40fd3 100644 --- a/konqueror/client/kfmclient.cpp +++ b/konqueror/client/kfmclient.cpp @@ -68,7 +68,7 @@ static const TDECmdLineOptions options[] = TDECmdLineLastOption }; -extern "C" KDE_EXPORT int kdemain( int argc, char **argv ) +extern "C" TDE_EXPORT int kdemain( int argc, char **argv ) { TDECmdLineArgs::init(argc, argv, appName, programName, description, version, false); diff --git a/konqueror/keditbookmarks/main.cpp b/konqueror/keditbookmarks/main.cpp index 94e08a357..27c5b2ad5 100644 --- a/konqueror/keditbookmarks/main.cpp +++ b/konqueror/keditbookmarks/main.cpp @@ -110,7 +110,7 @@ static int askUser(TDEApplication &app, TQString filename, bool &readonly) { #include -extern "C" KDE_EXPORT int kdemain(int argc, char **argv) { +extern "C" TDE_EXPORT int kdemain(int argc, char **argv) { TDELocale::setMainCatalogue("konqueror"); TDEAboutData aboutData("keditbookmarks", I18N_NOOP("Bookmark Editor"), VERSION, I18N_NOOP("Konqueror Bookmarks Editor"), diff --git a/konqueror/konq_main.cpp b/konqueror/konq_main.cpp index ee1fc71db..0f582d1a0 100644 --- a/konqueror/konq_main.cpp +++ b/konqueror/konq_main.cpp @@ -48,7 +48,7 @@ static const TDECmdLineOptions options[] = TDECmdLineLastOption }; -extern "C" KDE_EXPORT int kdemain( int argc, char **argv ) +extern "C" TDE_EXPORT int kdemain( int argc, char **argv ) { TDECmdLineArgs::init( argc, argv, KonqFactory::aboutData() ); diff --git a/konqueror/preloader/preloader.cpp b/konqueror/preloader/preloader.cpp index ecc6691da..fcfa4b4d0 100644 --- a/konqueror/preloader/preloader.cpp +++ b/konqueror/preloader/preloader.cpp @@ -143,7 +143,7 @@ void KonqyPreloader::unloadAllPreloaded() } extern "C" -KDE_EXPORT KDEDModule *create_konqy_preloader( const TQCString& obj ) +TDE_EXPORT KDEDModule *create_konqy_preloader( const TQCString& obj ) { return new KonqyPreloader( obj ); } diff --git a/konqueror/sidebar/konqsidebarplugin.h b/konqueror/sidebar/konqsidebarplugin.h index 367e7324d..7941fb1c9 100644 --- a/konqueror/sidebar/konqsidebarplugin.h +++ b/konqueror/sidebar/konqsidebarplugin.h @@ -30,7 +30,7 @@ class KonqSidebarPluginPrivate; -class KDE_EXPORT KonqSidebarPlugin : public TQObject +class TDE_EXPORT KonqSidebarPlugin : public TQObject { TQ_OBJECT public: diff --git a/konqueror/sidebar/sidebar_widget.h b/konqueror/sidebar/sidebar_widget.h index 391db5101..7e31004ad 100644 --- a/konqueror/sidebar/sidebar_widget.h +++ b/konqueror/sidebar/sidebar_widget.h @@ -93,7 +93,7 @@ private: TQWidget *m_parent; }; -class KDE_EXPORT Sidebar_Widget: public TQWidget +class TDE_EXPORT Sidebar_Widget: public TQWidget { TQ_OBJECT public: diff --git a/konqueror/sidebar/test/konqsidebartest.cpp b/konqueror/sidebar/test/konqsidebartest.cpp index 2032fe202..3c979d5fc 100644 --- a/konqueror/sidebar/test/konqsidebartest.cpp +++ b/konqueror/sidebar/test/konqsidebartest.cpp @@ -19,7 +19,7 @@ extern "C" { - KDE_EXPORT void* create_konq_sidebartest(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) + TDE_EXPORT void* create_konq_sidebartest(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) { return new SidebarTest(instance,par,widp,desktopname,name); } diff --git a/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp b/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp index f1dd0b953..fa4b2b4f6 100644 --- a/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp +++ b/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp @@ -574,7 +574,7 @@ TQString BookmarkEditDialog::finalTitle() const extern "C" { - KDE_EXPORT KonqSidebarTreeModule* create_konq_sidebartree_bookmarks(KonqSidebarTree* par,const bool) + TDE_EXPORT KonqSidebarTreeModule* create_konq_sidebartree_bookmarks(KonqSidebarTree* par,const bool) { return new KonqSidebarBookmarkModule(par); } diff --git a/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp b/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp index e6e4a0af3..7592c5479 100644 --- a/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp +++ b/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp @@ -624,7 +624,7 @@ void KonqSidebarDirTreeModule::followURL( const KURL & url ) extern "C" { - KDE_EXPORT KonqSidebarTreeModule *create_konq_sidebartree_dirtree(KonqSidebarTree* par,const bool showHidden) + TDE_EXPORT KonqSidebarTreeModule *create_konq_sidebartree_dirtree(KonqSidebarTree* par,const bool showHidden) { return new KonqSidebarDirTreeModule(par,showHidden); } diff --git a/konqueror/sidebar/trees/history_module/history_module.cpp b/konqueror/sidebar/trees/history_module/history_module.cpp index 416054cf1..f941bd0f7 100644 --- a/konqueror/sidebar/trees/history_module/history_module.cpp +++ b/konqueror/sidebar/trees/history_module/history_module.cpp @@ -358,7 +358,7 @@ void KonqSidebarHistoryModule::slotClearHistory() extern "C" { - KDE_EXPORT KonqSidebarTreeModule* create_konq_sidebartree_history(KonqSidebarTree* par, const bool) + TDE_EXPORT KonqSidebarTreeModule* create_konq_sidebartree_history(KonqSidebarTree* par, const bool) { return new KonqSidebarHistoryModule(par); } diff --git a/konqueror/sidebar/trees/konqsidebar_tree.cpp b/konqueror/sidebar/trees/konqsidebar_tree.cpp index 4bd91f9f3..293616f21 100644 --- a/konqueror/sidebar/trees/konqsidebar_tree.cpp +++ b/konqueror/sidebar/trees/konqsidebar_tree.cpp @@ -124,7 +124,7 @@ void KonqSidebar_Tree::rename() extern "C" { - KDE_EXPORT void* create_konqsidebar_tree(TDEInstance *inst,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) + TDE_EXPORT void* create_konqsidebar_tree(TDEInstance *inst,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) { return new KonqSidebar_Tree(inst,par,widp,desktopname,name); } @@ -132,7 +132,7 @@ extern "C" extern "C" { - KDE_EXPORT bool add_konqsidebar_tree(TQString* fn, TQString*, TQMap *map) + TDE_EXPORT bool add_konqsidebar_tree(TQString* fn, TQString*, TQMap *map) { TDEStandardDirs *dirs=TDEGlobal::dirs(); TQStringList list=dirs->findAllResources("data","konqsidebartng/dirtree/*.desktop",false,true); diff --git a/konqueror/sidebar/web_module/web_module.cpp b/konqueror/sidebar/web_module/web_module.cpp index feb1a6692..02543b652 100644 --- a/konqueror/sidebar/web_module/web_module.cpp +++ b/konqueror/sidebar/web_module/web_module.cpp @@ -182,14 +182,14 @@ void KonqSideBarWebModule::pageLoaded() { extern "C" { - KDE_EXPORT KonqSidebarPlugin* create_konqsidebar_web(TDEInstance *instance, TQObject *parent, TQWidget *widget, TQString &desktopName, const char *name) { + TDE_EXPORT KonqSidebarPlugin* create_konqsidebar_web(TDEInstance *instance, TQObject *parent, TQWidget *widget, TQString &desktopName, const char *name) { return new KonqSideBarWebModule(instance, parent, widget, desktopName, name); } } extern "C" { - KDE_EXPORT bool add_konqsidebar_web(TQString* fn, TQString* param, TQMap *map) { + TDE_EXPORT bool add_konqsidebar_web(TQString* fn, TQString* param, TQMap *map) { Q_UNUSED(param); TDEGlobal::dirs()->addResourceType("websidebardata", TDEStandardDirs::kde_default("data") + "konqsidebartng/websidebar"); KURL url; -- cgit v1.2.1