[poppler] qt4/src

Albert Astals Cid aacid at kde.org
Wed Mar 4 13:11:16 PST 2009


A Dimecres, 4 de març de 2009, Pino Toscano va escriure:
> Alle martedì 03 marzo 2009, Albert Astals Cid ha scritto:
> > I think it would be a good idea exposing the error to the user so that
> > okular can tell you if saving failed because opening the file failed or
> > because we don't support writing encripted files.
>
> What do you think about adding the following to BaseConverter:
>
> enum ConversionError
> {
>   NoError = 0,
>   OpenError,
>   WriteError,
>   DocumentIsEncryptedError
> };
>
> ConversionError error() const;
> with a behaviour close to QFile's one, ie returning the error of the last
> conversion, or NoError if succeeded.

Sounds okaish to me.

Albert



More information about the poppler mailing list