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

Albert Astals Cid aacid at kde.org
Wed Aug 18 21:12:03 CEST 2010


A Dilluns, 16 d'agost de 2010, Radu Voicilas va escriure:
> 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.

Commited with some style fixes.

Thanks,
  Albert

> 
> Please review.
> 
> Thanks,
> Radu.


More information about the Okular-devel mailing list