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-26 11:33:24 +0200 |
commit | 3fc75f4d0a82dd095d40d38f5fe79684249b101d (patch) | |
tree | 64d255c1ecc048a4c66d71abc68a2f82dbeefff3 /deco | |
parent | cd1471858e29d0d23355a93178e063fd0550d31c (diff) | |
download | tde-style-baghira-3fc75f4d0a82dd095d40d38f5fe79684249b101d.tar.gz tde-style-baghira-3fc75f4d0a82dd095d40d38f5fe79684249b101d.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>
(cherry picked from commit 90cc6ddb9083689cb8395f7188c07c9142179d1a)
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" |