From bba3128085abe1a32cca43d9fb8ac02c2a29bf6b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 1 May 2024 21:32:16 +0900 Subject: Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT Signed-off-by: Michele Calgaro --- tdeio/kpasswdserver/kpasswdserver.cpp | 2 +- tdeio/kssl/ksslutils.h | 6 +++--- tdeio/misc/kpac/proxyscout.cpp | 2 +- tdeio/misc/kssld/kssld.cpp | 4 ++-- tdeio/misc/tdewalletd/tdewalletd.cpp | 2 +- tdeio/misc/uiserver.cpp | 2 +- tdeio/tdeio/kprotocolinfo.cpp | 2 +- tdeio/tdeio/posixacladdons.cpp | 6 +++--- 8 files changed, 13 insertions(+), 13 deletions(-) (limited to 'tdeio') diff --git a/tdeio/kpasswdserver/kpasswdserver.cpp b/tdeio/kpasswdserver/kpasswdserver.cpp index 8e16290a5..2bee1af83 100644 --- a/tdeio/kpasswdserver/kpasswdserver.cpp +++ b/tdeio/kpasswdserver/kpasswdserver.cpp @@ -43,7 +43,7 @@ #endif extern "C" { - KDE_EXPORT KDEDModule *create_kpasswdserver(const TQCString &name) + TDE_EXPORT KDEDModule *create_kpasswdserver(const TQCString &name) { return new KPasswdServer(name); } diff --git a/tdeio/kssl/ksslutils.h b/tdeio/kssl/ksslutils.h index 33cec9503..eca012b9b 100644 --- a/tdeio/kssl/ksslutils.h +++ b/tdeio/kssl/ksslutils.h @@ -48,7 +48,7 @@ class TQDateTime; * @return the date formatted in a TQString * @see ASN1_UTCTIME_QDateTime */ -KDE_EXPORT TQString ASN1_UTCTIME_QString(ASN1_UTCTIME *tm); +TDE_EXPORT TQString ASN1_UTCTIME_QString(ASN1_UTCTIME *tm); /** * Convert an ASN1 UTCTIME value to a TQDateTime. Uses TDELocale settings. @@ -58,7 +58,7 @@ KDE_EXPORT TQString ASN1_UTCTIME_QString(ASN1_UTCTIME *tm); * * @return the date formatted in a QDateTime */ -KDE_EXPORT TQDateTime ASN1_UTCTIME_QDateTime(ASN1_UTCTIME *tm, int *isGmt); +TDE_EXPORT TQDateTime ASN1_UTCTIME_QDateTime(ASN1_UTCTIME *tm, int *isGmt); /** @@ -68,7 +68,7 @@ KDE_EXPORT TQDateTime ASN1_UTCTIME_QDateTime(ASN1_UTCTIME *tm, int *isGmt); * * @return the number formatted in a TQString */ -KDE_EXPORT TQString ASN1_INTEGER_QString(ASN1_INTEGER *aint); +TDE_EXPORT TQString ASN1_INTEGER_QString(ASN1_INTEGER *aint); #endif diff --git a/tdeio/misc/kpac/proxyscout.cpp b/tdeio/misc/kpac/proxyscout.cpp index c1140af1b..1d2cf8f87 100644 --- a/tdeio/misc/kpac/proxyscout.cpp +++ b/tdeio/misc/kpac/proxyscout.cpp @@ -187,7 +187,7 @@ namespace KPAC return "DIRECT"; } - extern "C" KDE_EXPORT KDEDModule* create_proxyscout( const TQCString& name ) + extern "C" TDE_EXPORT KDEDModule* create_proxyscout( const TQCString& name ) { return new ProxyScout( name ); } diff --git a/tdeio/misc/kssld/kssld.cpp b/tdeio/misc/kssld/kssld.cpp index 33a87c13d..3a04d93f0 100644 --- a/tdeio/misc/kssld/kssld.cpp +++ b/tdeio/misc/kssld/kssld.cpp @@ -52,11 +52,11 @@ // See design notes at end extern "C" { - KDE_EXPORT KDEDModule *create_kssld(const TQCString &name) { + TDE_EXPORT KDEDModule *create_kssld(const TQCString &name) { return new KSSLD(name); } - KDE_EXPORT void *__kde_do_unload; + TDE_EXPORT void *__kde_do_unload; } diff --git a/tdeio/misc/tdewalletd/tdewalletd.cpp b/tdeio/misc/tdewalletd/tdewalletd.cpp index 5b7840fd0..009ea348b 100644 --- a/tdeio/misc/tdewalletd/tdewalletd.cpp +++ b/tdeio/misc/tdewalletd/tdewalletd.cpp @@ -51,7 +51,7 @@ #include extern "C" { - KDE_EXPORT KDEDModule *create_tdewalletd(const TQCString &name) { + TDE_EXPORT KDEDModule *create_tdewalletd(const TQCString &name) { return new TDEWalletD(name); } } diff --git a/tdeio/misc/uiserver.cpp b/tdeio/misc/uiserver.cpp index b2d02615d..05f11fd06 100644 --- a/tdeio/misc/uiserver.cpp +++ b/tdeio/misc/uiserver.cpp @@ -1374,7 +1374,7 @@ UIServer* UIServer::createInstance() //------------------------------------------------------------ -extern "C" KDE_EXPORT int kdemain(int argc, char **argv) +extern "C" TDE_EXPORT int kdemain(int argc, char **argv) { TDELocale::setMainCatalogue("tdelibs"); // GS 5/2001 - I changed the name to "TDE" to make it look better diff --git a/tdeio/tdeio/kprotocolinfo.cpp b/tdeio/tdeio/kprotocolinfo.cpp index bf11060e4..4332fc23b 100644 --- a/tdeio/tdeio/kprotocolinfo.cpp +++ b/tdeio/tdeio/kprotocolinfo.cpp @@ -19,7 +19,7 @@ #ifdef MAKE_TDECORE_LIB //needed for proper linkage (win32) #undef TDEIO_EXPORT -#define TDEIO_EXPORT KDE_EXPORT +#define TDEIO_EXPORT TDE_EXPORT #endif #include "kprotocolinfo.h" diff --git a/tdeio/tdeio/posixacladdons.cpp b/tdeio/tdeio/posixacladdons.cpp index 873f1a81e..1e4d9bec0 100644 --- a/tdeio/tdeio/posixacladdons.cpp +++ b/tdeio/tdeio/posixacladdons.cpp @@ -63,7 +63,7 @@ protected: } }; -KDE_EXPORT int acl_cmp(acl_t acl1, acl_t acl2) +TDE_EXPORT int acl_cmp(acl_t acl1, acl_t acl2) { if ( !acl1 || !acl2 ) return -1; @@ -129,7 +129,7 @@ KDE_EXPORT int acl_cmp(acl_t acl1, acl_t acl2) return 0; } -KDE_EXPORT acl_t acl_from_mode(mode_t mode) +TDE_EXPORT acl_t acl_from_mode(mode_t mode) { acl_t newACL = acl_init( 3 ); acl_entry_t entry; @@ -180,7 +180,7 @@ KDE_EXPORT acl_t acl_from_mode(mode_t mode) return newACL; } -KDE_EXPORT int acl_equiv_mode(acl_t acl, mode_t *mode_p) +TDE_EXPORT int acl_equiv_mode(acl_t acl, mode_t *mode_p) { acl_entry_t entry; acl_tag_t tag; -- cgit v1.2.1