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 | |
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')
-rw-r--r-- | xparts/src/gtk/gtkbrowserextension.c | 6 | ||||
-rw-r--r-- | xparts/src/gtk/gtkpart.c | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/xparts/src/gtk/gtkbrowserextension.c b/xparts/src/gtk/gtkbrowserextension.c index 165320a8..420bb3d5 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(QByteArray)" ) == 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(QByteArray)" ) ); + 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(QCString)", 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; 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; |