> On Dec. 28, 2012, 5:17 p.m., Kevin Ottens wrote: > > kdeui/actions/kaction.h, line 460 > > <http://git.reviewboard.kde.org/r/107973/diff/1/?file=102093#file102093line460> > > > > Since the end game is to move KAction in kde4support, we should try to > > keep its API unchanged. > > > > Please keep those methods in its API, but internally the implementation > > should just forward to the new implementation you're working on in > > KGestureMap.
Done > On Dec. 28, 2012, 5:17 p.m., Kevin Ottens wrote: > > kdeui/shortcuts/kgesturemap.h, line 44 > > <http://git.reviewboard.kde.org/r/107973/diff/1/?file=102098#file102098line44> > > > > I don't really like the extra boolean which flips the semantic of > > addGesture... Looking at lxr.kde.org it turns out that addGesture and > > removeGesture are never called (except by KAction of course). > > > > That's good news as it means we can more freely modify KGestureMap API. > > :-) > > > > Seeing the existing calls in KAction basically always do a > > removeGesture followed by an addGesture, and that KAction itself exposed a > > setter API, what about simply removing them from the API and just have a > > setGesture + setDefaultGesture in the public API? Done - Valentin ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/107973/#review24126 ----------------------------------------------------------- On Dec. 28, 2012, 11:32 a.m., Valentin Rusu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/107973/ > ----------------------------------------------------------- > > (Updated Dec. 28, 2012, 11:32 a.m.) > > > Review request for KDE Frameworks. > > > Description > ------- > > This changeset removes all gesture facilities from KAction and define them in > KGestureMap. Thanks for the feedback. > > > Diffs > ----- > > KDE5PORTING.html 86dfc1a > kdeui/actions/kaction.h f45c94d > kdeui/actions/kaction.cpp b78d1d6 > kdeui/actions/kaction_p.h f87272c > kdeui/dialogs/kshortcutseditor.cpp 5653984 > kdeui/dialogs/kshortcutseditoritem.cpp e85a203 > kdeui/shortcuts/kgesturemap.h 56b42b6 > kdeui/shortcuts/kgesturemap.cpp 1350dbe > > Diff: http://git.reviewboard.kde.org/r/107973/diff/ > > > Testing > ------- > > Code builds OK. KGestureMap is not actually used, though, as > KGestureMap::eventFilter method return false right away. > > > Thanks, > > Valentin Rusu > >
_______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel