summaryrefslogtreecommitdiffstats
path: root/src/keyboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.cpp')
-rw-r--r--src/keyboard.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/keyboard.cpp b/src/keyboard.cpp
index a7871b3..9bab590 100644
--- a/src/keyboard.cpp
+++ b/src/keyboard.cpp
@@ -18,7 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#include <kapplication.h> // it define Q_WS_X11
+#include <kapplication.h> // it define TQ_WS_X11
#include "keyboard.h"
@@ -26,13 +26,13 @@
*/
// ShiftMask, ControlMask and Mod1Mask are defined in <X11/X.h>
-#if defined Q_WS_X11 && ! defined K_WS_QTONLY
+#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
#include <X11/Xlib.h> // schroder
#endif
void Keyboard::pressedKeys(bool &shiftPressed, bool &controlPressed)
{
-#if defined Q_WS_X11 && ! defined K_WS_QTONLY
+#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
Window root;
Window child;
int root_x, root_y, win_x, win_y;
@@ -49,7 +49,7 @@ void Keyboard::pressedKeys(bool &shiftPressed, bool &controlPressed)
*/
bool Keyboard::shiftPressed()
{
-#if defined Q_WS_X11 && ! defined K_WS_QTONLY
+#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
Window root;
Window child;
int root_x, root_y, win_x, win_y;
@@ -67,7 +67,7 @@ bool Keyboard::shiftPressed()
*/
bool Keyboard::controlPressed()
{
-#if defined Q_WS_X11 && ! defined K_WS_QTONLY
+#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
Window root;
Window child;
int root_x, root_y, win_x, win_y;
@@ -85,7 +85,7 @@ bool Keyboard::controlPressed()
*/
bool Keyboard::altPressed()
{
-#if defined Q_WS_X11 && ! defined K_WS_QTONLY
+#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
Window root;
Window child;
int root_x, root_y, win_x, win_y;
@@ -107,7 +107,7 @@ bool Keyboard::altPressed()
/ *
* Returns the currently pressed keyboard modifiers (e.g. shift, control, etc.)
* Usually you simply want to test for those in key events, in which case
- * QKeyEvent::state() does the job (or QKeyEvent::key() to
+ * TQKeyEvent::state() does the job (or TQKeyEvent::key() to
* notice when a modifier is pressed alone).
* But it can be useful to query for the status of the modifiers at another moment
* (e.g. some KDE apps do that upon a drop event).