diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /xparts/src/gtk/gtkpart.c | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'xparts/src/gtk/gtkpart.c')
-rw-r--r-- | xparts/src/gtk/gtkpart.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xparts/src/gtk/gtkpart.c b/xparts/src/gtk/gtkpart.c index 740910fb..655b7aa5 100644 --- a/xparts/src/gtk/gtkpart.c +++ b/xparts/src/gtk/gtkpart.c @@ -150,7 +150,7 @@ gboolean gtk_xpart_dcop_process( DcopObject *obj, const char *fun, dcop_data *da gtk_widget_show_all( d->widget ); return True; } - else if ( strcmp( fun, "openURL(QCString)" ) == 0 ) + else if ( strcmp( fun, "openURL(TQCString)" ) == 0 ) { char *url; fprintf( stderr, "openURL!\n" ); @@ -174,7 +174,7 @@ gboolean gtk_xpart_dcop_process( DcopObject *obj, const char *fun, dcop_data *da dcop_marshal_boolean( *reply_data, b ); return True; } - else if ( strcmp( fun, "activateAction(QCString,int)" ) == 0 ) + else if ( strcmp( fun, "activateAction(TQCString,int)" ) == 0 ) { char *name; uint state; @@ -184,7 +184,7 @@ gboolean gtk_xpart_dcop_process( DcopObject *obj, const char *fun, dcop_data *da gtk_signal_emit_by_name( GTK_OBJECT(part), name, state); return True; } - else if ( strcmp( fun, "queryExtension(QCString)" ) == 0 ) { + else if ( strcmp( fun, "queryExtension(TQCString)" ) == 0 ) { char *name; char *extension = NULL; dcop_demarshal_string( data, &name ); @@ -205,9 +205,9 @@ GList *gtk_xpart_dcop_functions( DcopObject *obj ) GList *res = parent_class->functions( obj ); res = g_list_append( res, g_strdup( "windowId()" ) ); res = g_list_append( res, g_strdup( "show()" ) ); - res = g_list_append( res, g_strdup( "bool openURL(QString url)" ) ); + res = g_list_append( res, g_strdup( "bool openURL(TQString url)" ) ); res = g_list_append( res, g_strdup( "bool closeURL()" ) ); - res = g_list_append( res, g_strdup( "queryExtension(QCString)" ) ); + res = g_list_append( res, g_strdup( "queryExtension(TQCString)" ) ); return res; } @@ -289,7 +289,7 @@ gboolean gtk_xpart_initialize_actions( GtkXPart *part, const char * actions ) data = dcop_data_ref( dcop_data_new() ); dcop_marshal_string( data, actions ); - if( !dcop_client_send( d->client, d->host_app_id, d->host_obj_id, "createActions(QCString)", data ) ) { + if( !dcop_client_send( d->client, d->host_app_id, d->host_obj_id, "createActions(TQCString)", data ) ) { fprintf( stderr, "could not create actions\n" ); dcop_data_deref( data ); return FALSE; |