Exemple #1
0
bool QPrinterProto::fontEmbeddingEnabled() const
{
  QPrinter *item = qscriptvalue_cast<QPrinter*>(thisObject());
  if (item)
    return item->fontEmbeddingEnabled();
  return false;
}
Exemple #2
0
int Printer::fontEmbeddingEnabled(lua_State * L) // const : bool 
{
	QPrinter* lhs = ValueBinding<MyQPrinter>::check( L, 1 );
	Util::push( L, lhs->fontEmbeddingEnabled() );
	return 1;
}