aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types/qqmllistmodel_p_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-10-07 12:23:38 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-11 08:56:13 +0200
commit45dbc9f1bb72f9661b43d632d82d634ef52f662e (patch)
tree334d80d5cac0fa62dc339595ac37a14de7a5cea3 /src/qml/types/qqmllistmodel_p_p.h
parent8fbb94cfc614a16700e599ec590c104360215447 (diff)
Remove more direct usages of Managed pointers
Change-Id: I32f61b7919797eef51a8705695787175b76244c4 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/types/qqmllistmodel_p_p.h')
-rw-r--r--src/qml/types/qqmllistmodel_p_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/types/qqmllistmodel_p_p.h b/src/qml/types/qqmllistmodel_p_p.h
index 3b15af2d23..924d89c52d 100644
--- a/src/qml/types/qqmllistmodel_p_p.h
+++ b/src/qml/types/qqmllistmodel_p_p.h
@@ -209,12 +209,12 @@ public:
};
const Role *getRoleOrCreate(const QString &key, const QVariant &data);
- const Role &getRoleOrCreate(const QV4::String *key, Role::DataType type);
+ const Role &getRoleOrCreate(const QV4::StringRef key, Role::DataType type);
const Role &getRoleOrCreate(const QString &key, Role::DataType type);
const Role &getExistingRole(int index) { return *roles.at(index); }
const Role *getExistingRole(const QString &key);
- const Role *getExistingRole(const QV4::String *key);
+ const Role *getExistingRole(const QV4::StringRef key);
int roleCount() const { return roles.count(); }