|
|
|
@ -10,23 +10,23 @@
|
|
|
|
|
|
|
|
|
|
#include "qt_qt_wrapper.h"
|
|
|
|
|
|
|
|
|
|
KDE_EXPORT void theme_init (GTypeModule *module);
|
|
|
|
|
KDE_EXPORT void theme_exit (void);
|
|
|
|
|
KDE_EXPORT GtkRcStyle * theme_create_rc_style (void);
|
|
|
|
|
TDE_EXPORT void theme_init (GTypeModule *module);
|
|
|
|
|
TDE_EXPORT void theme_exit (void);
|
|
|
|
|
TDE_EXPORT GtkRcStyle * theme_create_rc_style (void);
|
|
|
|
|
|
|
|
|
|
KDE_EXPORT void theme_init (GTypeModule *module)
|
|
|
|
|
TDE_EXPORT void theme_init (GTypeModule *module)
|
|
|
|
|
{
|
|
|
|
|
createTQApp();
|
|
|
|
|
qtengine_rc_style_register_type (module);
|
|
|
|
|
qtengine_style_register_type (module);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KDE_EXPORT void theme_exit (void)
|
|
|
|
|
TDE_EXPORT void theme_exit (void)
|
|
|
|
|
{
|
|
|
|
|
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));
|
|
|
|
|
return (GtkRcStyle *)ptr;
|
|
|
|
|