From 91064f3b1d93fb0449e588f70552f050b4033e9f Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 5 May 2011 17:16:35 +0000 Subject: Port gtk-qt-engine to TQt4 This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gtk-qt-engine@1230499 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/qt_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/qt_main.c') diff --git a/src/qt_main.c b/src/qt_main.c index 4e9eb1b..fab6003 100644 --- a/src/qt_main.c +++ b/src/qt_main.c @@ -11,19 +11,19 @@ G_MODULE_EXPORT GtkRcStyle * theme_create_rc_style (void); G_MODULE_EXPORT void theme_init (GTypeModule *module) { - createQApp(); + createTQApp(); qtengine_rc_style_register_type (module); qtengine_style_register_type (module); } G_MODULE_EXPORT void theme_exit (void) { - destroyQApp(); + destroyTQApp(); } G_MODULE_EXPORT GtkRcStyle * theme_create_rc_style (void) { - void *ptr = GTK_RC_STYLE (g_object_new (QTENGINE_TYPE_RC_STYLE, NULL)); + void *ptr = GTK_RC_STYLE (g_object_new (TQTENGINE_TYPE_RC_STYLE, NULL)); return (GtkRcStyle *)ptr; } -- cgit v1.2.3