> On Dec. 31, 2013, 2:53 p.m., Albert Astals Cid wrote: > > any reason you've implemented the custom key event handler instead of > > implementing it in slotReturnPressed (as it seems to me that shit+return > > also invokes it?) > > Saheb Preet Singh wrote: > yes slotReturnPressed tracks shift+return but is there any way of > checking whether the shift is pressed at that time or not??? > > Albert Astals Cid wrote: > Qt::KeyboardModifiers QApplication::keyboardModifiers () [static] >
Thank you for your guidance, changed the implementation using slot return pressed - Saheb ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/114754/#review46501 ----------------------------------------------------------- On Jan. 2, 2014, 1:58 p.m., Saheb Preet Singh wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/114754/ > ----------------------------------------------------------- > > (Updated Jan. 2, 2014, 1:58 p.m.) > > > Review request for Okular, Albert Astals Cid and Kevin Funk. > > > Bugs: 328576 > http://bugs.kde.org/show_bug.cgi?id=328576 > > > Repository: okular > > > Description > ------- > > > okular do not have a shortcut for searching previous word using shift + enter > > > Added a key event listener to the SearchLineEdit class for shift+return. > > > Diffs > ----- > > ui/searchlineedit.cpp 31be8fb > > Diff: https://git.reviewboard.kde.org/r/114754/diff/ > > > Testing > ------- > > > Thanks, > > Saheb Preet Singh > >
_______________________________________________ Okular-devel mailing list Okular-devel@kde.org https://mail.kde.org/mailman/listinfo/okular-devel