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>
pull/2/head
Slávek Banko 4 years ago
parent d0c03cc9a9
commit 90cc6ddb90
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -211,7 +211,7 @@ void bab::configureBaghira()
return; return;
} }
void* allocPtr = library->symbol("allocate_kstyle_config"); void* allocPtr = library->symbol("allocate_tdestyle_config");
if (!allocPtr) if (!allocPtr)
{ {

@ -130,8 +130,12 @@ bool BaghiraFactory::delAppname_;
Atom baghira_deco_design = XInternAtom(tqt_xdisplay(), "BAGHIRA_DECO_DESIGN", False); Atom baghira_deco_design = XInternAtom(tqt_xdisplay(), "BAGHIRA_DECO_DESIGN", False);
extern "C" KDecorationFactory* create_factory() { extern "C"
return new Baghira::BaghiraFactory(); {
KDE_EXPORT KDecorationFactory* create_factory()
{
return new Baghira::BaghiraFactory();
}
} }
DeMaximizer::DeMaximizer() : TQWidget(0, "deMaximizer", TQt::WType_TopLevel | TQt::WStyle_NoBorder | TQt::WX11BypassWM ) DeMaximizer::DeMaximizer() : TQWidget(0, "deMaximizer", TQt::WType_TopLevel | TQt::WStyle_NoBorder | TQt::WX11BypassWM )

@ -714,16 +714,16 @@ void ButtonColors::init(){
behindColor->init(); behindColor->init();
shadeColor->init(); shadeColor->init();
} }
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
// Plugin Stuff // // Plugin Stuff //
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
extern "C" extern "C"
{ {
TQObject* allocate_config(TDEConfig* config, TQWidget* parent) { KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return(new BaghiraConfig(config, parent)); return(new BaghiraConfig(config, parent));
} }
} }
#include "baghiraconfig.moc" #include "baghiraconfig.moc"

@ -715,16 +715,16 @@ void ButtonColors::init(){
behindColor->init(); behindColor->init();
shadeColor->init(); shadeColor->init();
} }
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
// Plugin Stuff // // Plugin Stuff //
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
extern "C" extern "C"
{ {
TQObject* allocate_config(TDEConfig* config, TQWidget* parent) { KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return(new BaghiraConfig(config, parent)); return(new BaghiraConfig(config, parent));
} }
} }
#include "baghiraconfig.moc" #include "baghiraconfig.moc"

@ -61,7 +61,7 @@ extern Time tqt_x_time;
extern "C" extern "C"
{ {
KPanelApplet* init( TQWidget* parent_P, const TQString& configFile_P ) KDE_EXPORT KPanelApplet* init( TQWidget* parent_P, const TQString& configFile_P )
{ {
TDEGlobal::locale()->insertCatalogue("kmenuapplet"); TDEGlobal::locale()->insertCatalogue("kmenuapplet");
return new KickerMenuApplet::Applet( configFile_P, parent_P ); return new KickerMenuApplet::Applet( configFile_P, parent_P );

@ -273,7 +273,7 @@ void UserManager::saveSession()
extern "C" extern "C"
{ {
KPanelApplet* init( TQWidget *parent, const TQString& configFile) KDE_EXPORT KPanelApplet* init( TQWidget *parent, const TQString& configFile)
{ {
TDEGlobal::locale()->insertCatalogue("usermanager"); TDEGlobal::locale()->insertCatalogue("usermanager");
return new UserManager(configFile, KPanelApplet::Normal, KPanelApplet::About, parent, "usermanager"); return new UserManager(configFile, KPanelApplet::Normal, KPanelApplet::About, parent, "usermanager");

@ -61,8 +61,8 @@ extern "C" {
extern "C" extern "C"
{ {
void* create_konqsidebar_baghirasidebar(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) KDE_EXPORT void* create_konqsidebar_baghirasidebar(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name)
{ {
return new baghiraSidebar(instance,par,widp,desktopname,name); return new baghiraSidebar(instance,par,widp,desktopname,name);
} }
}; }

@ -473,7 +473,7 @@ bool starter::eventFilter( TQObject*, TQEvent *e )
extern "C" extern "C"
{ {
KPanelApplet* init( TQWidget *parent, const TQString& configFile) KDE_EXPORT KPanelApplet* init( TQWidget *parent, const TQString& configFile)
{ {
TDEGlobal::locale()->insertCatalogue("starter"); TDEGlobal::locale()->insertCatalogue("starter");
return new starter(configFile, KPanelApplet::Normal, return new starter(configFile, KPanelApplet::Normal,

Loading…
Cancel
Save