Update obsolete contact address.
[profile/ivi/qtdeclarative.git] / src / declarative / qml / qdeclarativeintegercache_p.h
index b6151ce..fbedb2f 100644 (file)
@@ -1,8 +1,8 @@
 /****************************************************************************
 **
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
+** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
 ** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
+** Contact: http://www.qt-project.org/
 **
 ** This file is part of the QtDeclarative module of the Qt Toolkit.
 **
@@ -53,8 +53,8 @@
 // We mean it.
 //
 
-#include "private/qdeclarativerefcount_p.h"
-#include "private/qhashedstring_p.h"
+#include <private/qdeclarativerefcount_p.h>
+#include <private/qhashedstring_p.h>
 
 QT_BEGIN_NAMESPACE
 
@@ -68,9 +68,10 @@ public:
 
     inline int count() const;
     void add(const QString &, int);
+    void reserve(int);
 
     int value(const QString &);
-    inline int value(v8::Handle<v8::String>);
+    inline int value(const QHashedV8String &);
 
     QString findId(int value) const;
 
@@ -79,7 +80,7 @@ private:
     StringCache stringCache;
 };
 
-int QDeclarativeIntegerCache::value(v8::Handle<v8::String> name)
+int QDeclarativeIntegerCache::value(const QHashedV8String &name)
 {
     int *result = stringCache.value(name);
     return result?*result:-1;