diff options
Diffstat (limited to 'xparts/src/gtk')
-rw-r--r-- | xparts/src/gtk/gtkbrowserextension.c | 10 | ||||
-rw-r--r-- | xparts/src/gtk/gtkpart.c | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/xparts/src/gtk/gtkbrowserextension.c b/xparts/src/gtk/gtkbrowserextension.c index 36dc374c..5885f5c7 100644 --- a/xparts/src/gtk/gtkbrowserextension.c +++ b/xparts/src/gtk/gtkbrowserextension.c @@ -133,7 +133,7 @@ gboolean gtk_xbrowserextension_dcop_process( DcopObject *obj, const char *fun, d } return True; } - else if ( strcmp( fun, "restoreState(TTQByteArray)" ) == 0 ) + else if ( strcmp( fun, "restoreState(TQByteArray)" ) == 0 ) { if( klass->restore_state ) { size_t len; @@ -157,7 +157,7 @@ GList *gtk_xbrowserextension_dcop_functions( DcopObject *obj ) { GList *res = parent_class->functions( obj ); res = g_list_append( res, g_strdup( "saveState()" ) ); - res = g_list_append( res, g_strdup( "restoreState(TTQByteArray)" ) ); + res = g_list_append( res, g_strdup( "restoreState(TQByteArray)" ) ); return res; } @@ -235,7 +235,7 @@ gboolean gtk_browserextension_open_url_request( GtkXBrowserExtension *part, cons dcop_marshal_string( data, url ); - if ( !dcop_client_call( P->client, P->host_app_id, P->host_obj_id, "openURLRequest(TTQCString)", data, + if ( !dcop_client_call( P->client, P->host_app_id, P->host_obj_id, "openURLRequest(TQCString)", data, &reply_type, &reply_data ) ) { g_warning(" openURLRequest failed"); return FALSE; @@ -254,7 +254,7 @@ gboolean gtk_browserextension_set_status_bar_text( GtkXBrowserExtension *part, c dcop_marshal_string16( data, info ); - if ( !dcop_client_call( P->client, P->host_app_id, "parthost", "setStatusBarText(TTQString)", data, + if ( !dcop_client_call( P->client, P->host_app_id, "parthost", "setStatusBarText(TQString)", data, &reply_type, &reply_data ) ) { g_warning(" setStatusBarText failed"); return FALSE; @@ -273,7 +273,7 @@ gboolean gtk_browserextension_set_window_caption( GtkXBrowserExtension *part, co dcop_marshal_string16( data, info ); - if ( !dcop_client_call( P->client, P->host_app_id, "parthost", "setWindowCaption(TTQString)", data, + if ( !dcop_client_call( P->client, P->host_app_id, "parthost", "setWindowCaption(TQString)", data, &reply_type, &reply_data ) ) { g_warning(" setWindowCaption failed"); return FALSE; diff --git a/xparts/src/gtk/gtkpart.c b/xparts/src/gtk/gtkpart.c index 27040832..2a214123 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(TTQCString)" ) == 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(TTQCString,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(TTQCString)" ) == 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(TTQString 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(TTQCString)" ) ); + 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(TTQCString)", 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; |