src/hbcore/image/hbiconanimationparser.cpp
changeset 2 06ff229162e9
parent 0 16d8024aca5e
child 5 627c4a0fd0e7
--- a/src/hbcore/image/hbiconanimationparser.cpp	Mon May 03 12:48:33 2010 +0300
+++ b/src/hbcore/image/hbiconanimationparser.cpp	Fri May 14 16:09:54 2010 +0300
@@ -47,7 +47,7 @@
 }
 
 bool HbIconAnimationParser::parseDefinitionFileShared(
-    QString *fileName, AnimHash &animations, const QString &realFileName)
+    const QString &fileName, AnimHash &animations, const QString &realFileName)
 {
 #ifdef HB_ICON_TRACES
     qDebug() << "HbIconAnimationParser: Trying to get" << realFileName << "via themeserver";
@@ -70,7 +70,7 @@
 }
 
 bool HbIconAnimationParser::parseDefinitionFile(
-    QString *fileName, AnimHash &animations, const QString &realFileName)
+    const QString &fileName, AnimHash &animations, const QString &realFileName)
 {
     QFile file(realFileName);
 
@@ -96,7 +96,7 @@
 }
 
 bool HbIconAnimationParser::doParseFile(
-    QString *fileName, AnimHash &animations)
+    const QString &fileName, AnimHash &animations)
 {
     bool ret = false;
 
@@ -122,7 +122,7 @@
 * Returns true if at least one animation definition was added in the hash.
 */
 bool HbIconAnimationParser::readAnimations(
-    QString *fileName, AnimHash &animations)
+    const QString &fileName, AnimHash &animations)
 {
     Q_ASSERT(isStartElement() && name() == "animations");