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