view cpp/qt_qtd/ArrayOpsPrimitive_shell.cpp @ 405:9d6e4703a458

Make QObject::property()/setProperty() accessible from D. It is specified to be private in the type system back from QtJambi because the functions take a char pointer instead of a QString, but the conversion functions were missing so far.
author David Nadlinger <code@klickverbot.at>
date Thu, 17 Mar 2011 23:09:43 +0100
parents d2f48c4cb3e3
children
line wrap: on
line source

/**
    Copyright: Copyright QtD Team, 2008-2010
    License: Boost License 1.0
 */

#include "ArrayOpsPrimitive.h"

QTD_FUNC(CORE, allocate_int_array)
QTD_FUNC(CORE, assign_int_array_element)
QTD_FUNC(CORE, get_int_from_array)

QTD_FUNC(CORE, allocate_uint_array)
QTD_FUNC(CORE, assign_uint_array_element)
QTD_FUNC(CORE, get_uint_from_array)

QTD_FUNC(CORE, allocate_double_array)
QTD_FUNC(CORE, assign_double_array_element)
QTD_FUNC(CORE, get_double_from_array)

QTD_FUNC(CORE, allocate_string_array)
QTD_FUNC(CORE, assign_string_array_element)
QTD_FUNC(CORE, string_from_array)
QTD_FUNC(CORE, get_string_from_array)