diff -r fd30d51f876b -r a949c2543c15 clock/clockui/clockviews/inc/clockhomecityitem.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clock/clockui/clockviews/inc/clockhomecityitem.h Fri May 14 15:51:09 2010 +0300 @@ -0,0 +1,64 @@ +/* + * 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: Header file for ClockHomeCityItem Itemclass + * + */ + +#ifndef CLOCKHOMECITYITEM_H +#define CLOCKHOMECITYITEM_H + +// System includes +#include +#include + +// User include. +#include "clockviewsdefines.h" + +// Forward declaration +class QGraphicsItem; +class HbTextItem; +class HbIconItem; + +class ClockHomeCityItem : public HbWidget +{ + Q_OBJECT + +public: + enum { + DayNightIndicator, + Date, + City, + Dst, + Time + }; + +public: + CLOCKVIEWS_EXPORT ClockHomeCityItem(QGraphicsItem *parent = 0); + CLOCKVIEWS_EXPORT ~ClockHomeCityItem(); + +public: + void setHomeCityItemData(const QVariantMap & itemData); + +private: + QPointer mDateText; + QPointer mCityText; + QPointer mTimeText; + QPointer mDayNightIcon; + QPointer mDstIcon; + +}; + +#endif // CLOCKHOMECITYITEM_H + +// End of file --Don't remove this.