[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/krdc/vnc
From:       Caleb Tennis <caleb () gentoo ! org>
Date:       2005-09-06 21:19:17
Message-ID: 1126041557.629089.26977.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 457878 by ctennis:

Use KKeyNative::modXBlah instead of KKeyNative::modX(ModFlags)

 M  +8 -8      kvncview.cpp  


--- trunk/KDE/kdenetwork/krdc/vnc/kvncview.cpp #457877:457878
@@ -602,25 +602,25 @@
 void KVncView::pressKey(XEvent *xe) {
 	KKeyNative k(xe);
 	uint mod = k.mod();
-	if (mod & KKeyNative::modX(KKey::SHIFT))
+	if (mod & KKeyNative::modXShift())
 		m_wthread.queueKeyEvent(XK_Shift_L, true);
-	if (mod & KKeyNative::modX(KKey::CTRL))
+	if (mod & KKeyNative::modXCtrl())
 		m_wthread.queueKeyEvent(XK_Control_L, true);
-	if (mod & KKeyNative::modX(KKey::ALT))
+	if (mod & KKeyNative::modXAlt())
 		m_wthread.queueKeyEvent(XK_Alt_L, true);
-	if (mod & KKeyNative::modX(KKey::WIN))
+	if (mod & KKeyNative::modXWin())
 		m_wthread.queueKeyEvent(XK_Meta_L, true);
 
 	m_wthread.queueKeyEvent(k.sym(), true);
 	m_wthread.queueKeyEvent(k.sym(), false);
 
-	if (mod & KKeyNative::modX(KKey::WIN))
+	if (mod & KKeyNative::modXWin())
 		m_wthread.queueKeyEvent(XK_Meta_L, false);
-	if (mod & KKeyNative::modX(KKey::ALT))
+	if (mod & KKeyNative::modXAlt())
 		m_wthread.queueKeyEvent(XK_Alt_L, false);
-	if (mod & KKeyNative::modX(KKey::CTRL))
+	if (mod & KKeyNative::modXCtrl())
 		m_wthread.queueKeyEvent(XK_Control_L, false);
-	if (mod & KKeyNative::modX(KKey::SHIFT))
+	if (mod & KKeyNative::modXShift())
 		m_wthread.queueKeyEvent(XK_Shift_L, false);
 
 	m_mods.clear();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic