[poppler] qt4/src

Pino Toscano pino at kde.org
Wed Mar 4 06:45:37 PST 2009


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.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/poppler/attachments/20090304/575a45d1/attachment.pgp 


More information about the poppler mailing list