summaryrefslogtreecommitdiffstats
path: root/xparts/src/gtk
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /xparts/src/gtk
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'xparts/src/gtk')
-rw-r--r--xparts/src/gtk/gtkbrowserextension.c10
-rw-r--r--xparts/src/gtk/gtkpart.c12
2 files changed, 11 insertions, 11 deletions
diff --git a/xparts/src/gtk/gtkbrowserextension.c b/xparts/src/gtk/gtkbrowserextension.c
index 5885f5c7..36dc374c 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(TQByteArray)" ) == 0 )
+ else if ( strcmp( fun, "restoreState(TTQByteArray)" ) == 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(TQByteArray)" ) );
+ res = g_list_append( res, g_strdup( "restoreState(TTQByteArray)" ) );
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(TQCString)", data,
+ if ( !dcop_client_call( P->client, P->host_app_id, P->host_obj_id, "openURLRequest(TTQCString)", 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(TQString)", data,
+ if ( !dcop_client_call( P->client, P->host_app_id, "parthost", "setStatusBarText(TTQString)", 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(TQString)", data,
+ if ( !dcop_client_call( P->client, P->host_app_id, "parthost", "setWindowCaption(TTQString)", 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 2a214123..27040832 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(TQCString)" ) == 0 )
+ else if ( strcmp( fun, "openURL(TTQCString)" ) == 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(TQCString,int)" ) == 0 )
+ else if ( strcmp( fun, "activateAction(TTQCString,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(TQCString)" ) == 0 ) {
+ else if ( strcmp( fun, "queryExtension(TTQCString)" ) == 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(TQString url)" ) );
+ res = g_list_append( res, g_strdup( "bool openURL(TTQString url)" ) );
res = g_list_append( res, g_strdup( "bool closeURL()" ) );
- res = g_list_append( res, g_strdup( "queryExtension(TQCString)" ) );
+ res = g_list_append( res, g_strdup( "queryExtension(TTQCString)" ) );
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(TQCString)", data ) ) {
+ if( !dcop_client_send( d->client, d->host_app_id, d->host_obj_id, "createActions(TTQCString)", data ) ) {
fprintf( stderr, "could not create actions\n" );
dcop_data_deref( data );
return FALSE;