Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/21/head
Michele Calgaro 10 months ago
parent d0d226cfec
commit 3ff3ecabf4
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -72,7 +72,7 @@ K_EXPORT_COMPONENT_FACTORY( kcm_gtk, KcmGtkFactory("gtk"))*/
extern "C" extern "C"
{ {
KDE_EXPORT TDECModule *create_kcmgtk( TQWidget * parent, const char * name ) TDE_EXPORT TDECModule *create_kcmgtk( TQWidget * parent, const char * name )
{ {
TDEGlobal::locale()->insertCatalogue( "gtk-qt-engine" ); TDEGlobal::locale()->insertCatalogue( "gtk-qt-engine" );
return new KcmGtk( parent, "kcmgtk" ); return new KcmGtk( parent, "kcmgtk" );

@ -10,23 +10,23 @@
#include "qt_qt_wrapper.h" #include "qt_qt_wrapper.h"
KDE_EXPORT void theme_init (GTypeModule *module); TDE_EXPORT void theme_init (GTypeModule *module);
KDE_EXPORT void theme_exit (void); TDE_EXPORT void theme_exit (void);
KDE_EXPORT GtkRcStyle * theme_create_rc_style (void); TDE_EXPORT GtkRcStyle * theme_create_rc_style (void);
KDE_EXPORT void theme_init (GTypeModule *module) TDE_EXPORT void theme_init (GTypeModule *module)
{ {
createTQApp(); createTQApp();
qtengine_rc_style_register_type (module); qtengine_rc_style_register_type (module);
qtengine_style_register_type (module); qtengine_style_register_type (module);
} }
KDE_EXPORT void theme_exit (void) TDE_EXPORT void theme_exit (void)
{ {
destroyTQApp(); destroyTQApp();
} }
KDE_EXPORT GtkRcStyle * theme_create_rc_style (void) TDE_EXPORT GtkRcStyle * theme_create_rc_style (void)
{ {
void *ptr = GTK_RC_STYLE (g_object_new (TQTENGINE_TYPE_RC_STYLE, NULL)); void *ptr = GTK_RC_STYLE (g_object_new (TQTENGINE_TYPE_RC_STYLE, NULL));
return (GtkRcStyle *)ptr; return (GtkRcStyle *)ptr;

Loading…
Cancel
Save