From 7c71ab86d1f7e387fc3df63b48df07231f111862 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- chalk/ui/kis_canvas.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chalk/ui/kis_canvas.cc') diff --git a/chalk/ui/kis_canvas.cc b/chalk/ui/kis_canvas.cc index 01ca372e..8ad09df3 100644 --- a/chalk/ui/kis_canvas.cc +++ b/chalk/ui/kis_canvas.cc @@ -304,23 +304,23 @@ void KisCanvasWidget::initX11Support() Display *x11Display = TQApplication::desktop()->x11Display(); - // Look at the modifier mapping and get the correct tqmasks for alt/meta + // Look at the modifier mapping and get the correct masks for alt/meta XModifierKeymap *map = XGetModifierMapping(x11Display); if (map) { int mapIndex = 0; - for (int tqmaskIndex = 0; tqmaskIndex < 8; tqmaskIndex++) { + for (int maskIndex = 0; maskIndex < 8; maskIndex++) { for (int i = 0; i < map->max_keypermod; i++) { if (map->modifiermap[mapIndex]) { KeySym sym = XKeycodeToKeysym(x11Display, map->modifiermap[mapIndex], 0); if (X11AltMask == 0 && (sym == XK_Alt_L || sym == XK_Alt_R)) { - X11AltMask = 1 << tqmaskIndex; + X11AltMask = 1 << maskIndex; } if (X11MetaMask == 0 && (sym == XK_Meta_L || sym == XK_Meta_R)) { - X11MetaMask = 1 << tqmaskIndex; + X11MetaMask = 1 << maskIndex; } } -- cgit v1.2.1