summaryrefslogtreecommitdiffstats
path: root/networkstatus
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-01 21:32:16 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-01 21:32:16 +0900
commitbba3128085abe1a32cca43d9fb8ac02c2a29bf6b (patch)
treef831d0139ef6cd483a39cc1fb0cb39445f317185 /networkstatus
parentcfbeb5efe9335d9a47bd5beebd81304cabab9f61 (diff)
downloadtdelibs-bba3128085abe1a32cca43d9fb8ac02c2a29bf6b.tar.gz
tdelibs-bba3128085abe1a32cca43d9fb8ac02c2a29bf6b.zip
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'networkstatus')
-rw-r--r--networkstatus/networkstatus.cpp12
-rw-r--r--networkstatus/networkstatuscommon.cpp4
2 files changed, 3 insertions, 13 deletions
diff --git a/networkstatus/networkstatus.cpp b/networkstatus/networkstatus.cpp
index 7060477c1..98ea086b6 100644
--- a/networkstatus/networkstatus.cpp
+++ b/networkstatus/networkstatus.cpp
@@ -36,18 +36,8 @@
#include <tdeversion.h>
#include <kdemacros.h>
-#if KDE_IS_VERSION( 3,3,90 )
-/* life is great */
-#else
-/* workaround typo that breaks compilation with newer gcc */
-#undef KDE_EXPORT
-#define KDE_EXPORT
-#undef KDE_NO_EXPORT
-#define KDE_NO_EXPORT
-#endif
-
extern "C" {
- KDE_EXPORT KDEDModule* create_networkstatus( const TQCString& obj )
+ TDE_EXPORT KDEDModule* create_networkstatus( const TQCString& obj )
{
return new NetworkStatusModule( obj );
}
diff --git a/networkstatus/networkstatuscommon.cpp b/networkstatus/networkstatuscommon.cpp
index b2a8cc8f1..0b7df6151 100644
--- a/networkstatus/networkstatuscommon.cpp
+++ b/networkstatus/networkstatuscommon.cpp
@@ -22,7 +22,7 @@
#include "networkstatuscommon.h"
#include <kdebug.h>
-KDE_EXPORT TQDataStream & operator<< ( TQDataStream & s, const NetworkStatus::Properties p )
+TDE_EXPORT TQDataStream & operator<< ( TQDataStream & s, const NetworkStatus::Properties p )
{
kdDebug() << k_funcinfo << "status is: " << (int)p.status << endl;
s << (int)p.status;
@@ -33,7 +33,7 @@ KDE_EXPORT TQDataStream & operator<< ( TQDataStream & s, const NetworkStatus::Pr
return s;
}
-KDE_EXPORT TQDataStream & operator>> ( TQDataStream & s, NetworkStatus::Properties &p )
+TDE_EXPORT TQDataStream & operator>> ( TQDataStream & s, NetworkStatus::Properties &p )
{
int status, onDemandPolicy, internet;
s >> status;