src/hbcore/gui/hbfadeitem.cpp
changeset 5 627c4a0fd0e7
parent 0 16d8024aca5e
child 7 923ff622b8b9
--- a/src/hbcore/gui/hbfadeitem.cpp	Thu May 27 13:10:59 2010 +0300
+++ b/src/hbcore/gui/hbfadeitem.cpp	Fri Jun 11 13:58:22 2010 +0300
@@ -41,8 +41,8 @@
 {
     Q_DECLARE_PUBLIC(HbFadeItem)
 
-    public:
-    HbFadeItemPrivate( );
+public:
+    HbFadeItemPrivate();
     virtual ~HbFadeItemPrivate();
     void init();
 
@@ -75,7 +75,7 @@
     q->setFlag(QGraphicsItem::ItemIsFocusable);
 }
 
-HbFadeItem::HbFadeItem( QGraphicsItem *parent ) : HbWidget(*new HbFadeItemPrivate, parent)
+HbFadeItem::HbFadeItem(QGraphicsItem *parent) : HbWidget(*new HbFadeItemPrivate, parent)
 {
     Q_D(HbFadeItem);
     d->q_ptr = this;
@@ -92,12 +92,12 @@
 QRectF HbFadeItem::boundingRect() const
 {
     Q_D(const HbFadeItem);
-    if(!d->mRect.isValid()){
+    if (!d->mRect.isValid()) {
         // set size so that it is big enough
         // to cover the screen both landscape and portrait mode
         const QSizeF screenSize = HbDeviceProfile::profile(this).logicalSize();
         qreal dim = qMax(screenSize.width(), screenSize.height());
-        d->mRect.adjust(0,0,dim,dim);
+        d->mRect.adjust(0, 0, dim, dim);
     }
     return d->mRect;
 }