summaryrefslogtreecommitdiffstats
path: root/superkaramba/examples/globalMouse
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /superkaramba/examples/globalMouse
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'superkaramba/examples/globalMouse')
-rw-r--r--superkaramba/examples/globalMouse/extension/xcursor.c4
-rw-r--r--superkaramba/examples/globalMouse/eyes.py2
-rw-r--r--superkaramba/examples/globalMouse/eyes.theme2
3 files changed, 4 insertions, 4 deletions
diff --git a/superkaramba/examples/globalMouse/extension/xcursor.c b/superkaramba/examples/globalMouse/extension/xcursor.c
index 8dad240..3de7ae3 100644
--- a/superkaramba/examples/globalMouse/extension/xcursor.c
+++ b/superkaramba/examples/globalMouse/extension/xcursor.c
@@ -47,7 +47,7 @@ static PyObject* xcursor_position(self, args)
char* display_name;
int root_x_return, root_y_return;
int win_x_return, win_y_return;
- unsigned int mask_return;
+ unsigned int tqmask_return;
if (! (display_name = getenv("DISPLAY")) )
{
@@ -83,7 +83,7 @@ static PyObject* xcursor_position(self, args)
XQueryPointer(display, root, &root_return, &child_return,
&root_x_return, &root_y_return,
&win_x_return, &win_y_return,
- &mask_return);
+ &tqmask_return);
/* return Python Object */
return Py_BuildValue("(i,i)", root_x_return, root_y_return);
diff --git a/superkaramba/examples/globalMouse/eyes.py b/superkaramba/examples/globalMouse/eyes.py
index b95f86d..64bc3e0 100644
--- a/superkaramba/examples/globalMouse/eyes.py
+++ b/superkaramba/examples/globalMouse/eyes.py
@@ -108,7 +108,7 @@ def widgetUpdated(widget):
#f.close()
- #karamba.createWidgetMask(widget, theme_path + "pics/mask.png")
+ #karamba.createWidgetMask(widget, theme_path + "pics/tqmask.png")
linkePupille = karamba.createImage(widget, 15, 30, theme_path + "pics/pupille.png")
rechtePupille = karamba.createImage(widget, 100, 30, theme_path + "pics/pupille.png")
diff --git a/superkaramba/examples/globalMouse/eyes.theme b/superkaramba/examples/globalMouse/eyes.theme
index 4f2417b..ffdff73 100644
--- a/superkaramba/examples/globalMouse/eyes.theme
+++ b/superkaramba/examples/globalMouse/eyes.theme
@@ -1,3 +1,3 @@
-KARAMBA X=5 Y=850 W=167 H=111 MASK="pics/mask.png" LOCKED=false INTERVAL=100
+KARAMBA X=5 Y=850 W=167 H=111 MASK="pics/tqmask.png" LOCKED=false INTERVAL=100
IMAGE X=0 Y=0 PATH="pics/eyes.png"