[Kde-pim] fixing #42767 : attach directories to mail

Torgny Nyblom nyblom at kde.org
Wed Aug 31 04:16:20 BST 2011


On Wednesday 31 August 2011 00.31.50 Martin Bednár wrote:
> Hi,
> 
> I'm trying to implement folder attaching for kmail (messagecomposer) using
> the KZip library.
> As of now, I have created a
> "class AttachmentFromFolder : public AttachmentLoadJob" And implemented (I
> think) the core functionality. The structure of the class is more or less a
> copy of AttachmentFromUrlJob To take care of directories, I'm using the QDir
> class, and at compile time, I get '
> QDir::Filter' is not a class or namespace. I'm completely at a loss as to
> what it means (yes, I'm a C++ newb), since I did include QDir, and used it
> according to its documentation.
> 
> A bit further is (preceded by line numbers).
> error: 'QFile::QFile(const QFile&)' is private
> error: within this context

Could you post here or elsewhere the code? It will be easier to help if one 
can see the code.

/Regards
Torgny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110831/6eb22eef/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list