diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-19 16:01:28 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-19 16:01:28 +0200 |
commit | 90cc6ddb9083689cb8395f7188c07c9142179d1a (patch) | |
tree | 8cfdcc2c49356c1c7df7b97d4513484930837d63 /deco | |
parent | d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc (diff) | |
download | tde-style-baghira-90cc6ddb9083689cb8395f7188c07c9142179d1a.tar.gz tde-style-baghira-90cc6ddb9083689cb8395f7188c07c9142179d1a.zip |
Add KDE_EXPORT to the public symbols.
Rename the search symbol allocate_kstyle_config to
allocate_tdestyle_config. This is related to KDE => TDE conversion.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'deco')
-rw-r--r-- | deco/baghiraclient.cc | 8 | ||||
-rw-r--r-- | deco/config/baghiraconfig.cc | 12 | ||||
-rw-r--r-- | deco/config/baghiraconfig.cc.new | 12 |
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" |