[PATCH] On Screen Display

Lubos Lunak l.lunak at suse.cz
Thu Jan 30 17:28:38 GMT 2003


On Thursday 30 of January 2003 13:54, Jakob Schroeter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 30 January 2003 10:55, Aaron J. Seigo wrote:
> > instead of defining your own alignment enum (which some KDE classes do,
> > unfortunately), could you instead use the Qt::AlignmentFlags?
>
> Done.
>
> > KOSD needs a private d pointer. and a more descriptive name.
>
> What is the use of such a pointer?

 It's used for extending the class while still keeping binary compability, see 
http://developer.kde.org/documentation/library/kdeqt/kde3arch/devel-binarycompatibility.html

 Most KDE library classes have at the bottom something like:
protected:
  virtual void virtual_hook( int id, void* data );
private:
  KClassNamePrivate *d;

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/





More information about the kde-core-devel mailing list