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-02 21:11:19 +0900
commit62949e0a61c1340c38a696a7652fde623c36b0ae (patch)
tree9a6ef1b5a2cb7910f984368933eda680133fef95 /networkstatus
parentbef9baf7ee87538c596dd04c8d379b1814bb94e8 (diff)
downloadtdelibs-62949e0a61c1340c38a696a7652fde623c36b0ae.tar.gz
tdelibs-62949e0a61c1340c38a696a7652fde623c36b0ae.zip
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit bba3128085abe1a32cca43d9fb8ac02c2a29bf6b)
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;