Exemplo n.º 1
0
QString QPrinterProto::printerSelectionOption() const
{
  QPrinter *item = qscriptvalue_cast<QPrinter*>(thisObject());
  if (item)
    return item->printerSelectionOption();
  return QString();
}
Exemplo n.º 2
0
int Printer::printerSelectionOption(lua_State * L) // const : QString 
{
	QPrinter* lhs = ValueBinding<MyQPrinter>::check( L, 1 );
#ifndef _WIN32
	*QtValue<QString>::create( L ) = lhs->printerSelectionOption();
#endif
	return 1; 
}