[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: New KDE printing system
From:       Michael Goffioul <goffioul () imec ! be>
Date:       2001-02-28 15:51:14
[Download RAW message or body]

Bernd Gehrmann wrote:

> On Wed, 28 Feb 2001, Michael Goffioul wrote:
> > I don't think it is really tricky to write:
> >
> > KPrinter    *printer = KPrinterFactory::self()->printer();
> > <do whatever you want with the KPrinter object, except deleting it>;
>
> It's even less tricky if you make the destructor non-public :-)

Yes. To avoid any problem KPrinter constructors and desctructor will be
tagged "protected". Only the factory will then be responsible for KPrinter
object.

Michael.

--
------------------------------------------------------------------
Michael Goffioul                IMEC-DESICS-MIRA
e-mail: goffioul@imec.be        (Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510          Kapeldreef, 75
Fax:    +32/16/28-1515          3001 HEVERLEE, BELGIUM
------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic