--- a/src/hbcore/core/hbthemeindex_p.h Thu Sep 02 20:44:51 2010 +0300
+++ b/src/hbcore/core/hbthemeindex_p.h Fri Sep 17 08:32:10 2010 +0300
@@ -51,8 +51,8 @@
int itemCount();
bool validateItems(qint64 byteSize);
- static quint32 hash(const QString &string);
const HbThemeIndexItemData *getItemData(const QString &itemName);
+ const HbThemeIndexItemData *getItemData(quint32 hashValue);
private:
void init();
@@ -120,6 +120,7 @@
{
public:
HbThemeIndexResource(const QString &resourceName);
+ HbThemeIndexResource(quint32 hashValue);
~HbThemeIndexResource();
bool isValid();
@@ -133,7 +134,8 @@
private:
void getResourceData();
- const QString &resourceName;
+ const QString *resourceName;
+ quint32 hashValue;
const HbThemeIndexItemData *data; // not owned
QString basePath;
QString themeName;