summaryrefslogtreecommitdiffstats
path: root/twin
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-05 17:48:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-05 17:48:00 +0900
commit026828840f8255b5c4fde83ea95209f6f1f5ef8f (patch)
tree0913e862abec5c9720808f6ec76d7f1069599355 /twin
parent91c12dbe3672aee1bddac6c85fa9e1f9d6dab894 (diff)
downloadtdebase-026828840f8255b5c4fde83ea95209f6f1f5ef8f.tar.gz
tdebase-026828840f8255b5c4fde83ea95209f6f1f5ef8f.zip
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'twin')
-rw-r--r--twin/clients/b2/b2client.cpp2
-rw-r--r--twin/clients/b2/config/config.cpp2
-rw-r--r--twin/clients/default/config/config.cpp2
-rw-r--r--twin/clients/default/kdedefault.cpp2
-rw-r--r--twin/clients/keramik/config/config.cpp2
-rw-r--r--twin/clients/keramik/keramik.cpp2
-rw-r--r--twin/clients/kwmtheme/kwmthemeclient.cpp2
-rw-r--r--twin/clients/laptop/laptopclient.cpp2
-rw-r--r--twin/clients/modernsystem/config/config.cpp2
-rw-r--r--twin/clients/modernsystem/modernsys.cpp2
-rw-r--r--twin/clients/plastik/config/config.cpp2
-rw-r--r--twin/clients/plastik/plastik.cpp2
-rw-r--r--twin/clients/quartz/config/config.cpp2
-rw-r--r--twin/clients/quartz/quartz.cpp2
-rw-r--r--twin/clients/redmond/redmond.cpp2
-rw-r--r--twin/clients/test/test.cpp2
-rw-r--r--twin/clients/web/Web.cpp2
-rw-r--r--twin/kcmtwin/twinoptions/main.cpp14
-rw-r--r--twin/kcmtwin/twinrules/kcm.cpp2
-rw-r--r--twin/kcmtwin/twinrules/main.cpp2
-rw-r--r--twin/lib/kdecoration.h2
-rw-r--r--twin/main.cpp2
22 files changed, 28 insertions, 28 deletions
diff --git a/twin/clients/b2/b2client.cpp b/twin/clients/b2/b2client.cpp
index 16a451932..032065602 100644
--- a/twin/clients/b2/b2client.cpp
+++ b/twin/clients/b2/b2client.cpp
@@ -82,7 +82,7 @@ static bool drawSmallBorders = false;
// =====================================
-extern "C" KDE_EXPORT KDecorationFactory* create_factory()
+extern "C" TDE_EXPORT KDecorationFactory* create_factory()
{
return new B2::B2ClientFactory();
}
diff --git a/twin/clients/b2/config/config.cpp b/twin/clients/b2/config/config.cpp
index b955254ec..70942bce1 100644
--- a/twin/clients/b2/config/config.cpp
+++ b/twin/clients/b2/config/config.cpp
@@ -15,7 +15,7 @@
extern "C"
{
- KDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
+ TDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
{
return(new B2Config(conf, parent));
}
diff --git a/twin/clients/default/config/config.cpp b/twin/clients/default/config/config.cpp
index 36ddb1402..054279fc0 100644
--- a/twin/clients/default/config/config.cpp
+++ b/twin/clients/default/config/config.cpp
@@ -17,7 +17,7 @@
extern "C"
{
- KDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
+ TDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
{
return(new KDEDefaultConfig(conf, parent));
}
diff --git a/twin/clients/default/kdedefault.cpp b/twin/clients/default/kdedefault.cpp
index 3513ca5df..33eb46f4d 100644
--- a/twin/clients/default/kdedefault.cpp
+++ b/twin/clients/default/kdedefault.cpp
@@ -1060,7 +1060,7 @@ TQRegion KDEDefaultClient::cornerShape(WindowCorner corner)
} // namespace
// Extended KWin plugin interface
-extern "C" KDE_EXPORT KDecorationFactory* create_factory()
+extern "C" TDE_EXPORT KDecorationFactory* create_factory()
{
return new Default::KDEDefaultHandler();
}
diff --git a/twin/clients/keramik/config/config.cpp b/twin/clients/keramik/config/config.cpp
index 98a46e308..408c5a38a 100644
--- a/twin/clients/keramik/config/config.cpp
+++ b/twin/clients/keramik/config/config.cpp
@@ -33,7 +33,7 @@
extern "C"
{
- KDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
+ TDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
{
return ( new KeramikConfig( conf, parent ) );
}
diff --git a/twin/clients/keramik/keramik.cpp b/twin/clients/keramik/keramik.cpp
index 942962693..576d2d97b 100644
--- a/twin/clients/keramik/keramik.cpp
+++ b/twin/clients/keramik/keramik.cpp
@@ -1836,7 +1836,7 @@ bool KeramikClient::eventFilter( TQObject* o, TQEvent* e )
extern "C"
{
- KDE_EXPORT KDecorationFactory *create_factory()
+ TDE_EXPORT KDecorationFactory *create_factory()
{
Keramik::clientHandler = new Keramik::KeramikHandler();
return Keramik::clientHandler;
diff --git a/twin/clients/kwmtheme/kwmthemeclient.cpp b/twin/clients/kwmtheme/kwmthemeclient.cpp
index defc8a3df..5cff37b3c 100644
--- a/twin/clients/kwmtheme/kwmthemeclient.cpp
+++ b/twin/clients/kwmtheme/kwmthemeclient.cpp
@@ -927,7 +927,7 @@ TODO
extern "C"
{
- KDE_EXPORT KDecorationFactory *create_factory()
+ TDE_EXPORT KDecorationFactory *create_factory()
{
return new KWMTheme::KWMThemeFactory();
}
diff --git a/twin/clients/laptop/laptopclient.cpp b/twin/clients/laptop/laptopclient.cpp
index 30fb76b3a..b0bc659dd 100644
--- a/twin/clients/laptop/laptopclient.cpp
+++ b/twin/clients/laptop/laptopclient.cpp
@@ -65,7 +65,7 @@ static bool pixmaps_created = false;
// =====================================
-extern "C" KDE_EXPORT KDecorationFactory* create_factory()
+extern "C" TDE_EXPORT KDecorationFactory* create_factory()
{
return new Laptop::LaptopClientFactory();
}
diff --git a/twin/clients/modernsystem/config/config.cpp b/twin/clients/modernsystem/config/config.cpp
index 187278d43..4fba7538d 100644
--- a/twin/clients/modernsystem/config/config.cpp
+++ b/twin/clients/modernsystem/config/config.cpp
@@ -12,7 +12,7 @@
extern "C"
{
- KDE_EXPORT TQObject* allocate_config(TDEConfig* conf, TQWidget* parent)
+ TDE_EXPORT TQObject* allocate_config(TDEConfig* conf, TQWidget* parent)
{
return(new ModernSysConfig(conf, parent));
}
diff --git a/twin/clients/modernsystem/modernsys.cpp b/twin/clients/modernsystem/modernsys.cpp
index 94615b190..3777df9d8 100644
--- a/twin/clients/modernsystem/modernsys.cpp
+++ b/twin/clients/modernsystem/modernsys.cpp
@@ -731,7 +731,7 @@ bool ModernSysFactory::supports( Ability ability )
}
// KWin extended plugin interface
-extern "C" KDE_EXPORT KDecorationFactory* create_factory()
+extern "C" TDE_EXPORT KDecorationFactory* create_factory()
{
return new ModernSystem::ModernSysFactory();
}
diff --git a/twin/clients/plastik/config/config.cpp b/twin/clients/plastik/config/config.cpp
index 81192f699..0fdc126e2 100644
--- a/twin/clients/plastik/config/config.cpp
+++ b/twin/clients/plastik/config/config.cpp
@@ -115,7 +115,7 @@ void PlastikConfig::defaults()
extern "C"
{
- KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
+ TDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return (new PlastikConfig(config, parent));
}
}
diff --git a/twin/clients/plastik/plastik.cpp b/twin/clients/plastik/plastik.cpp
index b5a4808d7..6f835fde8 100644
--- a/twin/clients/plastik/plastik.cpp
+++ b/twin/clients/plastik/plastik.cpp
@@ -590,7 +590,7 @@ PlastikHandler* Handler()
extern "C"
{
- KDE_EXPORT KDecorationFactory *create_factory()
+ TDE_EXPORT KDecorationFactory *create_factory()
{
KWinPlastik::handler = new KWinPlastik::PlastikHandler();
return KWinPlastik::handler;
diff --git a/twin/clients/quartz/config/config.cpp b/twin/clients/quartz/config/config.cpp
index 106ea28dc..f6bd853b1 100644
--- a/twin/clients/quartz/config/config.cpp
+++ b/twin/clients/quartz/config/config.cpp
@@ -15,7 +15,7 @@
extern "C"
{
- KDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
+ TDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
{
return(new QuartzConfig(conf, parent));
}
diff --git a/twin/clients/quartz/quartz.cpp b/twin/clients/quartz/quartz.cpp
index dff79ff4b..31a0dbcf1 100644
--- a/twin/clients/quartz/quartz.cpp
+++ b/twin/clients/quartz/quartz.cpp
@@ -783,7 +783,7 @@ void QuartzClient::paintEvent( TQPaintEvent* )
/////////////////////////////////
extern "C"
{
- KDE_EXPORT KDecorationFactory *create_factory()
+ TDE_EXPORT KDecorationFactory *create_factory()
{
Quartz::clientHandler = new Quartz::QuartzHandler();
return Quartz::clientHandler;
diff --git a/twin/clients/redmond/redmond.cpp b/twin/clients/redmond/redmond.cpp
index 6deddeaee..006f19122 100644
--- a/twin/clients/redmond/redmond.cpp
+++ b/twin/clients/redmond/redmond.cpp
@@ -688,7 +688,7 @@ TQValueList< RedmondDecoFactory::BorderSize > RedmondDecoFactory::borderSizes()
}
-extern "C" KDE_EXPORT KDecorationFactory *create_factory()
+extern "C" TDE_EXPORT KDecorationFactory *create_factory()
{
return new Redmond::RedmondDecoFactory();
}
diff --git a/twin/clients/test/test.cpp b/twin/clients/test/test.cpp
index 0cf45a90b..113254f98 100644
--- a/twin/clients/test/test.cpp
+++ b/twin/clients/test/test.cpp
@@ -333,7 +333,7 @@ bool Factory::reset( unsigned long changed )
extern "C"
{
-KDE_EXPORT KDecorationFactory *create_factory()
+TDE_EXPORT KDecorationFactory *create_factory()
{
return new KWinTest::Factory();
}
diff --git a/twin/clients/web/Web.cpp b/twin/clients/web/Web.cpp
index 5c2457e1c..f40dc552b 100644
--- a/twin/clients/web/Web.cpp
+++ b/twin/clients/web/Web.cpp
@@ -29,7 +29,7 @@
extern "C"
{
- KDE_EXPORT KDecorationFactory *create_factory()
+ TDE_EXPORT KDecorationFactory *create_factory()
{
return new Web::WebFactory();
}
diff --git a/twin/kcmtwin/twinoptions/main.cpp b/twin/kcmtwin/twinoptions/main.cpp
index 2ce258c3c..0b392cd14 100644
--- a/twin/kcmtwin/twinoptions/main.cpp
+++ b/twin/kcmtwin/twinoptions/main.cpp
@@ -36,7 +36,7 @@
extern "C"
{
- KDE_EXPORT TDECModule *create_twinfocus(TQWidget *parent, const char *name)
+ TDE_EXPORT TDECModule *create_twinfocus(TQWidget *parent, const char *name)
{
//CT there's need for decision: kwm or twin?
TDEGlobal::locale()->insertCatalogue("kcmkwm");
@@ -44,14 +44,14 @@ extern "C"
return new KFocusConfig(true, c, parent, name);
}
- KDE_EXPORT TDECModule *create_twinactions(TQWidget *parent, const char *name)
+ TDE_EXPORT TDECModule *create_twinactions(TQWidget *parent, const char *name)
{
//CT there's need for decision: kwm or twin?
TDEGlobal::locale()->insertCatalogue("kcmkwm");
return new TDEActionsOptions( parent, name);
}
- KDE_EXPORT TDECModule *create_twinmoving(TQWidget *parent, const char *name)
+ TDE_EXPORT TDECModule *create_twinmoving(TQWidget *parent, const char *name)
{
//CT there's need for decision: kwm or twin?
TDEGlobal::locale()->insertCatalogue("kcmkwm");
@@ -59,14 +59,14 @@ extern "C"
return new KMovingConfig(true, c, parent, name);
}
- KDE_EXPORT TDECModule *create_twinaborders(TQWidget *parent, const char *name)
+ TDE_EXPORT TDECModule *create_twinaborders(TQWidget *parent, const char *name)
{
TDEGlobal::locale()->insertCatalogue("kcmkwm");
TDEConfig *c = new TDEConfig("twinrc", false, true);
return new KActiveBorderConfig(true, c, parent, name);
}
- KDE_EXPORT TDECModule *create_twinadvanced(TQWidget *parent, const char *name)
+ TDE_EXPORT TDECModule *create_twinadvanced(TQWidget *parent, const char *name)
{
//CT there's need for decision: kwm or twin?
TDEGlobal::locale()->insertCatalogue("kcmkwm");
@@ -74,7 +74,7 @@ extern "C"
return new KAdvancedConfig(true, c, parent, name);
}
- KDE_EXPORT TDECModule *create_twintranslucency(TQWidget *parent, const char *name)
+ TDE_EXPORT TDECModule *create_twintranslucency(TQWidget *parent, const char *name)
{
//CT there's need for decision: kwm or twin?
TDEGlobal::locale()->insertCatalogue("kcmkwm");
@@ -82,7 +82,7 @@ extern "C"
return new KTranslucencyConfig(true, c, parent, name);
}
- KDE_EXPORT TDECModule *create_twinoptions ( TQWidget *parent, const char* name)
+ TDE_EXPORT TDECModule *create_twinoptions ( TQWidget *parent, const char* name)
{
//CT there's need for decision: kwm or twin?
TDEGlobal::locale()->insertCatalogue("kcmkwm");
diff --git a/twin/kcmtwin/twinrules/kcm.cpp b/twin/kcmtwin/twinrules/kcm.cpp
index fb7451626..e2a75ee62 100644
--- a/twin/kcmtwin/twinrules/kcm.cpp
+++ b/twin/kcmtwin/twinrules/kcm.cpp
@@ -28,7 +28,7 @@
#include "ruleslist.h"
extern "C"
- KDE_EXPORT TDECModule *create_twinrules( TQWidget *parent, const char *name )
+ TDE_EXPORT TDECModule *create_twinrules( TQWidget *parent, const char *name )
{
//CT there's need for decision: kwm or twin?
TDEGlobal::locale()->insertCatalogue( "kcmtwinrules" );
diff --git a/twin/kcmtwin/twinrules/main.cpp b/twin/kcmtwin/twinrules/main.cpp
index 21cb007ec..67e21332c 100644
--- a/twin/kcmtwin/twinrules/main.cpp
+++ b/twin/kcmtwin/twinrules/main.cpp
@@ -273,7 +273,7 @@ static const TDECmdLineOptions options[] =
};
extern "C"
-KDE_EXPORT int kdemain( int argc, char* argv[] )
+TDE_EXPORT int kdemain( int argc, char* argv[] )
{
TDELocale::setMainCatalogue( "kcmtwinrules" );
TDECmdLineArgs::init( argc, argv, "twin_rules_dialog", I18N_NOOP( "TWin" ),
diff --git a/twin/lib/kdecoration.h b/twin/lib/kdecoration.h
index 03e1c863e..ee8e66eef 100644
--- a/twin/lib/kdecoration.h
+++ b/twin/lib/kdecoration.h
@@ -37,7 +37,7 @@ class KDecorationBridge;
class KDecorationPrivate;
class KDecorationFactory;
-#define KWIN_EXPORT KDE_EXPORT
+#define KWIN_EXPORT TDE_EXPORT
/**
* This class provides a namespace for all decoration related classes.
diff --git a/twin/main.cpp b/twin/main.cpp
index 61fb82847..540595a1b 100644
--- a/twin/main.cpp
+++ b/twin/main.cpp
@@ -240,7 +240,7 @@ static TDECmdLineOptions args[] =
};
extern "C"
-KDE_EXPORT int kdemain( int argc, char * argv[] )
+TDE_EXPORT int kdemain( int argc, char * argv[] )
{
bool restored = false;
for (int arg = 1; arg < argc; arg++)