diff -r 11d3954df52a -r 627c4a0fd0e7 src/hbcore/effects/hbeffectfxmldata.cpp --- a/src/hbcore/effects/hbeffectfxmldata.cpp Thu May 27 13:10:59 2010 +0300 +++ b/src/hbcore/effects/hbeffectfxmldata.cpp Fri Jun 11 13:58:22 2010 +0300 @@ -104,7 +104,7 @@ // Make a regular QList. Note that some of the underlying structures may // still stay in shared memory. QList paramDataList; - foreach (const HbEffectFxmlParamData &data, mFxmlParams) { + foreach(const HbEffectFxmlParamData & data, mFxmlParams) { paramDataList.append(data); } return paramDataList; @@ -159,9 +159,10 @@ QString HbEffectFxmlParamData::getAttribute(const QString &attrName) const { - foreach (const HbEffectFxmlAttrListEntry &a, mAttributes) { - if (a.mKey == attrName) + foreach(const HbEffectFxmlAttrListEntry & a, mAttributes) { + if (a.mKey == attrName) { return a.mValue; + } } return QString(); } @@ -209,7 +210,7 @@ // Make a regular QList. Note that some of the underlying structures may // still stay in shared memory. QList keyFrameList; - foreach (const HbKeyFrame &keyFrame, mKeyFrames) { + foreach(const HbKeyFrame & keyFrame, mKeyFrames) { keyFrameList.append(keyFrame); } return keyFrameList; @@ -225,7 +226,7 @@ return mStartRef; } -void HbEffectFxmlParamData::setStartRef(const QString& value) +void HbEffectFxmlParamData::setStartRef(const QString &value) { mStartRef = value; } @@ -235,7 +236,7 @@ return mEndRef; } -void HbEffectFxmlParamData::setEndRef(const QString& value) +void HbEffectFxmlParamData::setEndRef(const QString &value) { mEndRef = value; } @@ -301,7 +302,7 @@ // Make a regular QList. Note that some of the underlying structures may // still stay in shared memory. QList paramDataList; - foreach (const HbEffectFxmlParamData &data, mFxmlParams) { + foreach(const HbEffectFxmlParamData & data, mFxmlParams) { paramDataList.append(data); } return paramDataList; @@ -317,7 +318,7 @@ // Make a regular QList. Note that some of the underlying structures may // still stay in shared memory. QList paramDataList; - foreach (const HbEffectFxmlFilterData &data, mFilters) { + foreach(const HbEffectFxmlFilterData & data, mFilters) { paramDataList.append(data); } return paramDataList; @@ -327,7 +328,7 @@ { return mMemoryType; } -HbEffectInfo::HbEffectInfo():mItem(0) +HbEffectInfo::HbEffectInfo(): mItem(0) { } @@ -362,7 +363,7 @@ } bool HbEffectInfo::shared() const { - return mShared; + return mShared; }