Exemple #1
0
QString QPrinterProto::printProgram() const
{
  QPrinter *item = qscriptvalue_cast<QPrinter*>(thisObject());
  if (item)
    return item->printProgram();
  return QString();
}
Exemple #2
0
int Printer::printProgram(lua_State * L) // const : QString 
{
	QPrinter* lhs = ValueBinding<MyQPrinter>::check( L, 1 );
    *QtValue<QString>::create( L ) = lhs->printProgram();
	return 1; 
}