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

Martin Bednár serafean at gmail.com
Wed Aug 31 11:04:46 BST 2011


Le Wednesday 31 of August 2011 05:16:20 Torgny Nyblom a écrit :
> 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

Posted on kde pastebin : http://pastebin.kde.org/116515/

Thanks

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110831/5e256cb9/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