int Printer::setPrinterSelectionOption(lua_State * L) // ( const QString & option ) { QPrinter* lhs = ValueBinding<MyQPrinter>::check( L, 1 ); #ifndef _WIN32 lhs->setPrinterSelectionOption( QtValueBase::toString( L, 2 )); #endif return 0; }
void QPrinterProto::setPrinterSelectionOption(const QString & option) { QPrinter *item = qscriptvalue_cast<QPrinter*>(thisObject()); if (item) item->setPrinterSelectionOption(option); }