diff -r 15bc1d5d6267 -r ae34e1715e21 emailuis/nmailui/inc/nmmessagelistviewitem.h --- a/emailuis/nmailui/inc/nmmessagelistviewitem.h Fri Jul 23 19:09:50 2010 +0300 +++ b/emailuis/nmailui/inc/nmmessagelistviewitem.h Thu Aug 05 21:09:09 2010 +0300 @@ -1,19 +1,19 @@ /* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ + * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. + * This component and the accompanying materials are made available + * under the terms of "Eclipse Public License v1.0" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". + * + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: + * + */ #ifndef NMMESSAGELISTVIEWITEM_H_ #define NMMESSAGELISTVIEWITEM_H_ @@ -32,7 +32,7 @@ class NmMessageListViewItem : public HbTreeViewItem { Q_OBJECT - + public: explicit NmMessageListViewItem(QGraphicsItem *parent = 0); virtual ~NmMessageListViewItem(); @@ -40,7 +40,7 @@ HbTreeViewItem *createItem(); bool canSetModelIndex(const QModelIndex &index) const; QRectF contiguousSelectionArea() const { return QRectF(); }; - + private: void createMessageItemLayout(); void setContentsToMessageItem(const NmMessageEnvelope &envelope, bool dividersActive); @@ -49,18 +49,17 @@ void setFonts(const QColor &colorRole, HbFontSpec &fontSpec); void getFontSizes(); QString senderFieldText(const NmMessageEnvelope &envelope); - + private: - HbTextItem *mSender; // Owned - HbTextItem *mSubject; // Owned - HbTextItem *mTime; // Owned - HbLabel *mDividerTitle; // Owned - HbFrameItem *mNewMsgIcon; // Owned - HbIconItem *mIcon1; // Owned - HbIconItem *mIcon2; // Owned + HbTextItem *mSender; // Owned + HbTextItem *mSubject; // Owned + HbTextItem *mTime; // Owned + HbLabel *mDividerTitle; // Owned + HbFrameItem *mNewMsgIcon; // Owned + HbIconItem *mIcon1; // Owned + HbIconItem *mIcon2; // Owned qreal mPrimarySize; qreal mSecondarySize; }; - #endif /* NMMESSAGELISTVIEWITEM_H_ */