[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 109836] Add Support for displaying Face: header
From:       Volker Krause <volker.krause () rwth-aachen ! de>
Date:       2005-08-16 7:51:29
Message-ID: 20050816075129.20875.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=109836         




------- Additional Comments From volker.krause rwth-aachen de  2005-08-16 09:51 -------
I used the following code in a similar situation:
    QByteArray decodedPicture;
    KCodecs::base64Decode( text.utf8(), decodedPicture );
    a.setPhoto( Picture( QImage( decodedPicture ) ) );

QString::utf8() returns a QCString which is a sub-class of QByteArray.
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic