From 245d13f9d1ecf2d4ab6ab321709e10c8c261f7a7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 1 Jun 2019 18:17:20 +0900 Subject: Adjusted to use new TQStringVariantMap type. Signed-off-by: Michele Calgaro --- kjsembed/docs/ChangeLog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kjsembed/docs/ChangeLog') diff --git a/kjsembed/docs/ChangeLog b/kjsembed/docs/ChangeLog index 49c861ea..c8e11eb3 100644 --- a/kjsembed/docs/ChangeLog +++ b/kjsembed/docs/ChangeLog @@ -78,7 +78,7 @@ in C++. Conversions break down as follows: TQStringList -> Array of javascript strings. TQValueList -> Array of Javascript values. - TQMap -> Object/Array that has each TQString key as + TQStringVariantMap -> Object/Array that has each TQString key as a property, and the TQVariant is mapped to a Javascript value. From Javascript the conversions are a little different. @@ -91,10 +91,10 @@ = convertToVariant( exec, someArrayValue).toList(); Now if the Javascript value is a Javascript object or a map then - the conversion will go to a TQMap. An example of + the conversion will go to a TQStringVariantMap. An example of this would be like: KJS::Value someJSObject; - TQMap map = convertToVariant(exec,someJSObject) + TQStringVariantMap map = convertToVariant(exec,someJSObject) .toMap(); TQString someVal = map["someProp"].toString(); -- cgit v1.2.1