Expression qt.QVariantList(table)
creates a new QVariantList
initialized with the strings contained in
table table
at positions 1
to #table
.
When the argument table
is omitted,
an empty string list is returned.
Example
require 'qt'
a = qt.QVariantList{"a",32}