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

Martin Bednár serafean at gmail.com
Tue Aug 30 23:31:50 BST 2011


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

I tried googling, but haven't found an explanation of what these errors mean.

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/df1a10b9/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