summaryrefslogtreecommitdiffstats
path: root/src/keyboard.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:04:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:04:30 -0600
commitbcf4e9197f2fa5cfa5b65e74ab714b894836f26d (patch)
tree730ced31ce2ca1bc657052a89eb1d350618915e7 /src/keyboard.cpp
parentc3bdfdc9307844c8e93c2c1e7c4a1dc8b050f459 (diff)
downloadbasket-bcf4e9197f2fa5cfa5b65e74ab714b894836f26d.tar.gz
basket-bcf4e9197f2fa5cfa5b65e74ab714b894836f26d.zip
Rename additional global functions and variables for tqt3
Diffstat (limited to 'src/keyboard.cpp')
-rw-r--r--src/keyboard.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/keyboard.cpp b/src/keyboard.cpp
index 9bab590..dbbce6e 100644
--- a/src/keyboard.cpp
+++ b/src/keyboard.cpp
@@ -37,7 +37,7 @@ void Keyboard::pressedKeys(bool &shiftPressed, bool &controlPressed)
Window child;
int root_x, root_y, win_x, win_y;
uint keybstate;
- XQueryPointer( qt_xdisplay(), qt_xrootwin(), &root, &child,
+ XQueryPointer( tqt_xdisplay(), tqt_xrootwin(), &root, &child,
&root_x, &root_y, &win_x, &win_y, &keybstate );
shiftPressed = keybstate & ShiftMask;
@@ -54,7 +54,7 @@ bool Keyboard::shiftPressed()
Window child;
int root_x, root_y, win_x, win_y;
uint keybstate;
- XQueryPointer( qt_xdisplay(), qt_xrootwin(), &root, &child,
+ XQueryPointer( tqt_xdisplay(), tqt_xrootwin(), &root, &child,
&root_x, &root_y, &win_x, &win_y, &keybstate );
return (keybstate & ShiftMask) != 0;
@@ -72,7 +72,7 @@ bool Keyboard::controlPressed()
Window child;
int root_x, root_y, win_x, win_y;
uint keybstate;
- XQueryPointer( qt_xdisplay(), qt_xrootwin(), &root, &child,
+ XQueryPointer( tqt_xdisplay(), tqt_xrootwin(), &root, &child,
&root_x, &root_y, &win_x, &win_y, &keybstate );
return (keybstate & ControlMask) != 0;
@@ -90,7 +90,7 @@ bool Keyboard::altPressed()
Window child;
int root_x, root_y, win_x, win_y;
uint keybstate;
- XQueryPointer( qt_xdisplay(), qt_xrootwin(), &root, &child,
+ XQueryPointer( tqt_xdisplay(), tqt_xrootwin(), &root, &child,
&root_x, &root_y, &win_x, &win_y, &keybstate );
return (keybstate & Mod1Mask) != 0;
@@ -120,7 +120,7 @@ uint KApplication::keyboardModifiers()
Window child;
int root_x, root_y, win_x, win_y;
uint keybstate;
- XQueryPointer( qt_xdisplay(), qt_xrootwin(), &root, &child,
+ XQueryPointer( tqt_xdisplay(), tqt_xrootwin(), &root, &child,
&root_x, &root_y, &win_x, &win_y, &keybstate );
return keybstate & 0x00ff;
}