Review Request: Keyboard navigation for calendar applet

Farhad Hedayati Fard hf.farhad at gmail.com
Thu Feb 24 06:41:17 CET 2011



> On Feb. 23, 2011, 8:02 p.m., Marco Martin wrote:
> > libs/plasmaclock/calendar.cpp, line 212
> > <http://git.reviewboard.kde.org/r/100718/diff/3/?file=9968#file9968line212>
> >
> >     those ifs can be replaced by a switch, since it's just an enum

replace by a switch!


> On Feb. 23, 2011, 8:02 p.m., Marco Martin wrote:
> > libs/plasmaclock/calendar.cpp, line 219
> > <http://git.reviewboard.kde.org/r/100718/diff/3/?file=9968#file9968line219>
> >
> >     if isn't used, remove it alltogether

ops :D I just forgot to add the code for them here :P they're used to navigate one week forward/backward, added the code :)


- Farhad


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100718/#review1613
-----------------------------------------------------------


On Feb. 23, 2011, 7:27 p.m., Farhad Hedayati Fard wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100718/
> -----------------------------------------------------------
> 
> (Updated Feb. 23, 2011, 7:27 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Summary
> -------
> 
> Added some keyboard shortcuts through "keyPressEvent"s 
> Key_Right -> next month
> Key_Left -> previous month
> Key_Return and Key_Enter -> today
> Key_PageUp -> next year
> Key_PageDown -> previous year
> 
> 
> This addresses bug https://bugs.kde.org/show_bug.cgi?id=249866.
>     http://bugs.kde.org/show_bug.cgi?id=https://bugs.kde.org/show_bug.cgi?id=249866
> 
> 
> Diffs
> -----
> 
>   libs/plasmaclock/calendar.h f0f1c09 
>   libs/plasmaclock/calendar.cpp 57eecd6 
>   libs/plasmaclock/clockapplet.h b75f286 
>   libs/plasmaclock/clockapplet.cpp e81d549 
>   plasma/generic/applets/calendar/calendar.h 94cbe93 
>   plasma/generic/applets/calendar/calendar.cpp c83b9ee 
> 
> Diff: http://git.reviewboard.kde.org/r/100718/diff
> 
> 
> Testing
> -------
> 
> works fine here!
> 
> 
> Thanks,
> 
> Farhad
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20110224/27c93de7/attachment-0001.htm 


More information about the Plasma-devel mailing list