Qt 4.8
Classes | Functions
qscriptstring.h File Reference
#include <QtCore/qstring.h>
#include <QtCore/qsharedpointer.h>

Go to the source code of this file.

Classes

class  QScriptString
 The QScriptString class acts as a handle to "interned" strings in a QScriptEngine. More...
 

Functions

Q_SCRIPT_EXPORT uint qHash (const QScriptString &key)
 

Function Documentation

◆ qHash()

Q_SCRIPT_EXPORT uint qHash ( const QScriptString key)

Definition at line 209 of file qscriptstring.cpp.

Referenced by qHash().

210 {
212  if (!d)
213  return 0;
214  return qHash(d->identifier.ustring().rep());
215 }
double d
Definition: qnumeric_p.h:62
JSC::Identifier identifier
uint qHash(const QUrl &url)
Definition: qurl.h:285
static QScriptStringPrivate * get(const QScriptString &q)