diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 17:16:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 17:16:35 +0000 |
commit | 91064f3b1d93fb0449e588f70552f050b4033e9f (patch) | |
tree | 5d042542cfd52a1ea454774157300f0509b84441 /src/qt_main.c | |
parent | 5cf5e6b8214ace7beb2836bce2f2b3e3324222ca (diff) | |
download | gtk-qt-engine-91064f3b1d93fb0449e588f70552f050b4033e9f.tar.gz gtk-qt-engine-91064f3b1d93fb0449e588f70552f050b4033e9f.zip |
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
Diffstat (limited to 'src/qt_main.c')
-rw-r--r-- | src/qt_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |