Update KPrinter API following commit TDE/tdelibs 9cff750d.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/11/head r14.1.0
Michele Calgaro 2 years ago
parent 69c48c09a4
commit 5a0ac30291
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -376,10 +376,11 @@
<tr><td>opts</td><td>TQMap<TQString,TQString></td><td></td></tr> <tr><td>opts</td><td>TQMap<TQString,TQString></td><td></td></tr>
</table> </table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setOrientation</b> (a0) <li><b>setOrientation</b> (a0, a1 = 0)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>a0</td><td>KPrinter.Orientation</td><td></td></tr> <tr><td>a0</td><td>KPrinter.Orientation</td><td></td></tr>
<tr><td>a1</td><td>bool</td><td>0</td></tr>
</table> </table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setOutputFileName</b> (a0) <li><b>setOutputFileName</b> (a0)
@ -407,10 +408,11 @@
<tr><td>_mode</td><td>KPrinter.PageSelectionType</td><td></td></tr> <tr><td>_mode</td><td>KPrinter.PageSelectionType</td><td></td></tr>
</table> </table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setPageSize</b> (a0) <li><b>setPageSize</b> (a0, a1 = 0)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>a0</td><td>KPrinter.PageSize</td><td></td></tr> <tr><td>a0</td><td>KPrinter.PageSize</td><td></td></tr>
<tr><td>a1</td><td>bool</td><td>0</td></tr>
</table> </table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setPreviewOnly</b> (on) <li><b>setPreviewOnly</b> (on)

@ -146,7 +146,7 @@ public:
int numCopies () const; int numCopies () const;
void setNumCopies (int); void setNumCopies (int);
KPrinter::Orientation orientation () const; KPrinter::Orientation orientation () const;
void setOrientation (KPrinter::Orientation); void setOrientation (KPrinter::Orientation, bool = 0);
KPrinter::PageOrder pageOrder () const; KPrinter::PageOrder pageOrder () const;
void setPageOrder (KPrinter::PageOrder); void setPageOrder (KPrinter::PageOrder);
KPrinter::CollateType collate () const; KPrinter::CollateType collate () const;
@ -158,7 +158,7 @@ public:
int toPage () const; int toPage () const;
void setFromTo (int, int); void setFromTo (int, int);
KPrinter::PageSize pageSize () const; KPrinter::PageSize pageSize () const;
void setPageSize (KPrinter::PageSize); void setPageSize (KPrinter::PageSize, bool = 0);
TQString printerName () const; TQString printerName () const;
void setPrinterName (const TQString&); void setPrinterName (const TQString&);
TQString printProgram () const; TQString printProgram () const;

Loading…
Cancel
Save