summaryrefslogtreecommitdiffstats
path: root/deco
diff options
context:
space:
mode:
Diffstat (limited to 'deco')
-rw-r--r--deco/baghiraclient.cc8
-rw-r--r--deco/config/baghiraconfig.cc12
-rw-r--r--deco/config/baghiraconfig.cc.new12
3 files changed, 18 insertions, 14 deletions
diff --git a/deco/baghiraclient.cc b/deco/baghiraclient.cc
index ab14cc4..593460a 100644
--- a/deco/baghiraclient.cc
+++ b/deco/baghiraclient.cc
@@ -130,8 +130,12 @@ bool BaghiraFactory::delAppname_;
Atom baghira_deco_design = XInternAtom(tqt_xdisplay(), "BAGHIRA_DECO_DESIGN", False);
-extern "C" KDecorationFactory* create_factory() {
- return new Baghira::BaghiraFactory();
+extern "C"
+{
+ KDE_EXPORT KDecorationFactory* create_factory()
+ {
+ return new Baghira::BaghiraFactory();
+ }
}
DeMaximizer::DeMaximizer() : TQWidget(0, "deMaximizer", TQt::WType_TopLevel | TQt::WStyle_NoBorder | TQt::WX11BypassWM )
diff --git a/deco/config/baghiraconfig.cc b/deco/config/baghiraconfig.cc
index 23faf15..714eabb 100644
--- a/deco/config/baghiraconfig.cc
+++ b/deco/config/baghiraconfig.cc
@@ -714,16 +714,16 @@ void ButtonColors::init(){
behindColor->init();
shadeColor->init();
}
-
+
//////////////////////////////////////////////////////////////////////////////
// Plugin Stuff //
//////////////////////////////////////////////////////////////////////////////
-
+
extern "C"
-{
- TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
+{
+ KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return(new BaghiraConfig(config, parent));
}
-}
-
+}
+
#include "baghiraconfig.moc"
diff --git a/deco/config/baghiraconfig.cc.new b/deco/config/baghiraconfig.cc.new
index 5c64932..1a93ca3 100644
--- a/deco/config/baghiraconfig.cc.new
+++ b/deco/config/baghiraconfig.cc.new
@@ -715,16 +715,16 @@ void ButtonColors::init(){
behindColor->init();
shadeColor->init();
}
-
+
//////////////////////////////////////////////////////////////////////////////
// Plugin Stuff //
//////////////////////////////////////////////////////////////////////////////
-
+
extern "C"
-{
- TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
+{
+ KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return(new BaghiraConfig(config, parent));
}
-}
-
+}
+
#include "baghiraconfig.moc"