--- a/src/hbcore/primitives/hbiconitem.h Thu May 27 13:10:59 2010 +0300
+++ b/src/hbcore/primitives/hbiconitem.h Fri Jun 11 13:58:22 2010 +0300
@@ -34,12 +34,12 @@
class HbIconItemPrivate;
class HbIconAnimator;
-class HB_CORE_EXPORT HbIconItem: public HbWidgetBase
+class HB_CORE_EXPORT HbIconItem: public HbWidgetBase
{
Q_OBJECT
public:
- explicit HbIconItem(const QString& iconName, QGraphicsItem *parent = 0);
+ explicit HbIconItem(const QString &iconName, QGraphicsItem *parent = 0);
explicit HbIconItem(const HbIcon &icon, QGraphicsItem *parent = 0);
explicit HbIconItem(QGraphicsItem *parent = 0);
virtual ~HbIconItem();
@@ -56,8 +56,8 @@
void setMirroringMode(HbIcon::MirroringMode mode);
void setBrush(const QBrush &brush);
- void setColor(const QColor &color);
- QColor color() const;
+ void setColor(const QColor &color);
+ QColor color() const;
HbIcon icon() const;
QSizeF defaultSize() const;
QSizeF iconItemSize() const;
@@ -83,7 +83,9 @@
HbIconAnimator &animator();
enum { Type = Hb::ItemType_IconItem };
- int type() const { return Type; }
+ int type() const {
+ return Type;
+ }
protected:
HbIconItem(HbIconItemPrivate &dd, QGraphicsItem *parent);
@@ -93,7 +95,7 @@
private:
Q_DECLARE_PRIVATE_D(d_ptr, HbIconItem)
Q_DISABLE_COPY(HbIconItem)
-
+
friend class HbStylePrivate;
};