|
QLua
Lua-Qt bindings
|
QArgConstructor implementation for QString type.
More...
#include <LuaArguments.h>


Public Member Functions | |
| QGenericArgument | Create (lua_State *L, int idx) const |
Copy string value from Lua stack to data member then create QGenericArgument referencing the data member. The value is converted from a Lua string type in plain ASCII format. | |
| StringQArgConstructor * | Clone () const |
| Make copy through copy constructor. | |
QArgConstructor implementation for QString type.
| QGenericArgument qlua::StringQArgConstructor::Create | ( | lua_State * | L, |
| int | idx | ||
| ) | const [inline, virtual] |
Copy string value from Lua stack to data member then create QGenericArgument referencing the data member. The value is converted from a Lua string type in plain ASCII format.
| L | pointer to Lua stack |
| idx | position of value on the Lua stack |
data field points to a private data member of this class' instance Implements qlua::QArgConstructor.
1.7.4