no simple way to print a QTextDocument in KDE(?)

Kelly lightsolphoenix at gmail.com
Wed Jul 25 02:44:43 BST 2007


On Tuesday, July 24, 2007 8:40 pm Andreas Hartmetz wrote:
> Can somebody familiar with the matter think of a solution that works
> now, or how much stuff would need to be changed to make it work?
> One solution might be a KTextDocument that just reimplements print(),
> for example. Or KPrinter::printTextDocument() [...]

Couldn't you just create a class that inherits KPrinter and keeps a QPrinter 
variable or vice versa or something like that?  I'd suggest inheriting both, 
but I'm willing to bet there'll be naming conflicts.

-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html




More information about the kde-core-devel mailing list