QString QPrinterProto::printerSelectionOption() const { QPrinter *item = qscriptvalue_cast<QPrinter*>(thisObject()); if (item) return item->printerSelectionOption(); return QString(); }
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; }