120 for (
int i = 0; i < components.
count(); ++i) {
QScriptValue property(const QString &name, const ResolveFlags &mode=ResolvePrototype) const
Returns the value of this QScriptValue's property with the given name, using the given mode to resolv...
#define QT_END_NAMESPACE
This macro expands to.
QScriptValue globalObject() const
Returns this engine's Global Object.
~QScriptExtensionPlugin()
Destroys the script extension plugin.
int count(const T &t) const
Returns the number of occurrences of value in the list.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QScriptValue setupPackage(const QString &key, QScriptEngine *engine) const
This function is provided for convenience when reimplementing initialize().
The QScriptEngine class provides an environment for evaluating Qt Script code.
#define QT_BEGIN_NAMESPACE
This macro expands to.
const T & at(int i) const
Returns the item at index position i in the list.
The QStringList class provides a list of strings.
QScriptValue newObject()
Creates a QtScript object of class Object.
QScriptExtensionPlugin(QObject *parent=0)
Constructs a script extension plugin with the given parent.
void setProperty(const QString &name, const QScriptValue &value, const PropertyFlags &flags=KeepExistingFlags)
Sets the value of this QScriptValue's property with the given name to the given value.
QStringList split(const QString &sep, SplitBehavior behavior=KeepEmptyParts, Qt::CaseSensitivity cs=Qt::CaseSensitive) const Q_REQUIRED_RESULT
Splits the string into substrings wherever sep occurs, and returns the list of those strings...
The QScriptValue class acts as a container for the Qt Script data types.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
bool isValid() const
Returns true if this QScriptValue is valid; otherwise returns false.