KFilterDev changes from KDE3

Pino Toscano toscano.pino at tiscali.it
Tue Mar 17 10:44:05 GMT 2009


Alle lunedì 16 marzo 2009, David Faure ha scritto:
> keep around the mimetype and call the above method. I.e. port
>
>     filterBase->setDevice(&comprFile);
>     KFilterDev filter(filterBase, false);
>     filter.open(IO_WriteOnly);
>
> to
>
>     QIODevice* filter = KFilterDev::device(&comprFile, mimeType, false);
>     filter->open(IO_WriteOnly);
>     [...]
>     delete filter;

or
    filter->open(QIODevice::WriteOnly);

for full Qt4 port ;)

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090317/0dd502d0/attachment.sig>


More information about the kde-core-devel mailing list