summaryrefslogtreecommitdiffstats
path: root/xparts
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-06-20 01:09:59 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-06-20 01:09:59 -0500
commita5ebcd697325e8e6ac9756cc96857d9298d2c114 (patch)
tree83ad2687d35b7c717b2ac5a0c69e61dac17cb0dd /xparts
parentb9190991168c11cd8a602c3b4490300ac01776fb (diff)
downloadtdebindings-a5ebcd697325e8e6ac9756cc96857d9298d2c114.tar.gz
tdebindings-a5ebcd697325e8e6ac9756cc96857d9298d2c114.zip
Update for recent TQ changes.
Diffstat (limited to 'xparts')
-rw-r--r--xparts/src/gtk/gtkpart.c2
-rw-r--r--xparts/src/interfaces/xpart.h2
-rw-r--r--xparts/xpart_notepad/xp_notepad.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/xparts/src/gtk/gtkpart.c b/xparts/src/gtk/gtkpart.c
index 2a214123..b47a191a 100644
--- a/xparts/src/gtk/gtkpart.c
+++ b/xparts/src/gtk/gtkpart.c
@@ -136,7 +136,7 @@ gboolean gtk_xpart_dcop_process( DcopObject *obj, const char *fun, dcop_data *da
if ( strcmp( fun, "windowId()" ) == 0 )
{
- *reply_type = strdup( "Q_UINT32" );
+ *reply_type = strdup( "TQ_UINT32" );
*reply_data = dcop_data_ref( dcop_data_new() );
fprintf( stderr, "returning window id %ld\n", GDK_WINDOW_XWINDOW( d->widget->window ) );
diff --git a/xparts/src/interfaces/xpart.h b/xparts/src/interfaces/xpart.h
index 1d323a5d..5c44cbbd 100644
--- a/xparts/src/interfaces/xpart.h
+++ b/xparts/src/interfaces/xpart.h
@@ -11,7 +11,7 @@ class XPart : public DCOPObject
k_dcop:
/** The XPartManager uses the windowId() to embed the part. */
- virtual Q_UINT32 windowId() = 0;
+ virtual TQ_UINT32 windowId() = 0;
/** Called when the part should display itself */
virtual void show() = 0;
diff --git a/xparts/xpart_notepad/xp_notepad.cpp b/xparts/xpart_notepad/xp_notepad.cpp
index 5dc7157c..ae8cc850 100644
--- a/xparts/xpart_notepad/xp_notepad.cpp
+++ b/xparts/xpart_notepad/xp_notepad.cpp
@@ -23,7 +23,7 @@ public:
}
/** needed by XPartManager to embed the part */
- Q_UINT32 windowId()
+ TQ_UINT32 windowId()
{ return winId(); }
/** used by XPartManager to show the part */