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

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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
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.
[prev in list] [next in list] [prev in thread] [next in thread] 

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