[Okular-devel] [PATCH] Factor out static methods for determining the event type and button

Radu Voicilas rvoicilas at gmail.com
Mon Aug 16 13:05:27 CEST 2010


On Sun, Aug 15, 2010 at 12:39 AM, Radu Voicilas <rvoicilas at gmail.com> wrote:

> This patch is mostly a refactoring of the same lines of code used
> throughout multiple files to determine the event type and button type which
> maps back to the ones AnnotatorEngine provides.
> This should help when trying to implement some other states for
> AnnotatorEngine::Button.
>
> The files affected are the following:
>
> -- okular/ui/annotationtools.h
> -- okular/ui/annotationtools.cpp
> -- okular/ui/pageviewannotator.cpp
> -- okular/ui/presentationwidget.cpp
>
> Thanks,
> Radu.
>

Resending this after a talk on IRC with Pino.

Please review.

Thanks,
Radu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/okular-devel/attachments/20100816/5eae3553/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: refactor-to-decode-event.diff
Type: text/x-patch
Size: 4325 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/okular-devel/attachments/20100816/5eae3553/attachment.diff 


More information about the Okular-devel mailing list