Beispiel #1
0
int StatusBar::currentMessage(lua_State * L) // const : QString
{
	QStatusBar* obj = ObjectHelper<QStatusBar>::check( L, 1);
	//QString* res = ValueInstaller2<QString>::create( L );
	//*res = obj->currentMessage();
	Util::push( L, obj->currentMessage() );
	return 1;
}
Beispiel #2
0
int StatusBar::currentMessage(lua_State * L) // const : QString
{
	QStatusBar* obj = QtObject<QStatusBar>::check( L, 1);
    *QtValue<QString>::create( L ) = obj->currentMessage();
	return 1;
}