src/hbcore/cssparser/hblayeredstyleloader_p.cpp
changeset 28 b7da29130b0e
parent 21 4633027730f5
child 30 80e4d18b72f5
--- a/src/hbcore/cssparser/hblayeredstyleloader_p.cpp	Thu Sep 02 20:44:51 2010 +0300
+++ b/src/hbcore/cssparser/hblayeredstyleloader_p.cpp	Fri Sep 17 08:32:10 2010 +0300
@@ -570,7 +570,7 @@
 /*!
      Provides the variable rule sets for the loaded CSS files.
 */
-void HbLayeredStyleLoader::variableRuleSets(QHash<QString, HbCss::Declaration> *variables) const
+void HbLayeredStyleLoader::variableRuleSets(QHash<quint32, HbCss::Declaration> *variables) const
 {
     HbLayeredStyleLoader *allStack = mConcern == Concern_All ? 0 : getStack(Concern_All);
     
@@ -604,24 +604,6 @@
 }
 
 /*!
-     Finds the variable from core layer. The found varibale is returned in val
-     
-     \return True if it finds in default colorgroup.css, false otherwise
-*/
-bool HbLayeredStyleLoader::findInDefaultVariables(
-    const QString& variableName, 
-    HbCss::Value &val) const
-{
-    bool found = false;
-    if (mDefaultVariables.contains(variableName)) {
-        val = mDefaultVariables.value(variableName).values.first();
-        found = true;
-    }
-    return found;
-}
-
-
-/*!
      Updates the cached list of used layers to include the specified layer.
      If this is the All stack, all other stacks' used lists are also updated 
      to include this layer.