[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: New KDE printing system
From: Harri Porten <harri () trolltech ! com>
Date: 2001-02-28 11:40:21
[Download RAW message or body]
Hi !
> 1) API
> -----
>
> 1.1 KPrinterFactory class
>
> This class is used to create KPrinter object (see below). Developers shouldn't
> construct directly KPrinter object, but use "KPrinterFactory::self()->printer()".
> The factory takes care of the user settings and construct an object for the
> appropriate underlying printing system. DO NOT delete the KPrinter object, as
> it will be reused for other calls.
>
> 1.2 KPrinter class
Tiny API suggestion:
If the KPrinterFactory is only used to create a single KPrinter object,
I'd rather hide the factory class and add the self() method to KPrinter.
Harri.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic