diff -r 4bc7b118b3df -r 397d00875918 activityfw/activitydatabase/s60/src/hsserializer.cpp --- a/activityfw/activitydatabase/s60/src/hsserializer.cpp Fri May 14 16:10:06 2010 +0300 +++ b/activityfw/activitydatabase/s60/src/hsserializer.cpp Thu May 27 13:11:12 2010 +0300 @@ -20,39 +20,6 @@ // // ----------------------------------------------------------------------------- // -RBuf8 &operator <<(RBuf8 &dst, const QPixmap &src) -{ - QByteArray buffer; - QDataStream stream(&buffer, QIODevice::WriteOnly); - - QT_TRYCATCH_LEAVING(stream << src); - const int dataLength(buffer.length()); - const unsigned char *dataPtr(reinterpret_cast(buffer.constData())); - if (dst.MaxLength() < dataLength) { - dst.ReAllocL(dataLength); - } - dst.Copy(dataPtr, dataLength); - return dst; -} - -// ----------------------------------------------------------------------------- -// -// ----------------------------------------------------------------------------- -// -QPixmap &operator <<(QPixmap &dst, const TDesC8 &src) -{ - QByteArray buffer(QByteArray::fromRawData(reinterpret_cast(src.Ptr()), - src.Length()) ); - - QDataStream stream(&buffer, QIODevice::ReadOnly); - QT_TRYCATCH_LEAVING(stream >> dst); - return dst; -} - -// ----------------------------------------------------------------------------- -// -// ----------------------------------------------------------------------------- -// RBuf8 &operator <<(RBuf8 &dst, const QVariantHash &src) { QByteArray buffer; @@ -86,24 +53,6 @@ // // ----------------------------------------------------------------------------- // -RBuf8 &operator <<(RBuf8 &dst, const QList& src) -{ - QByteArray buffer; - QDataStream stream(&buffer, QIODevice::WriteOnly); - - QT_TRYCATCH_LEAVING(stream << src); - - if (dst.MaxLength() < buffer.length()) { - dst.ReAllocL(buffer.length()); - } - dst.Copy(reinterpret_cast(buffer.data()), buffer.length()); - return dst; -} - -// ----------------------------------------------------------------------------- -// -// ----------------------------------------------------------------------------- -// QList& operator <<(QList& dst, const TDesC8 &src) { dst.clear();