[PATCH] KLineEdit websearch feature

Friedrich W. H. Kossebau kossebau at kde.org
Thu Jun 4 10:15:24 BST 2009


Dimanche, le 31 mai 2009, à 17:24, Sebastian Tilsch a écrit:
> Am Freitag, 29. Mai 2009 16:59:03 schrieb Thomas Lübking:
> > 1. i guess implementing classes in a header is an absolute no-go :-(
>
> I was wondering about this, too, but I looked in the kdelibs, where to put
> classes that are not part of the api but are needed for it.
> The *_p.h classes are such files, and there are whole class
> implementations. I do not know why there is no *_p.cpp, but I suppose the
> reason is to keep it clean.
> Where would you put those things?

For the record: In Okteta I do put the implementation of private classes into 
files named *_p.cpp, and it works for me.

Cheers
Friedrich
-- 
Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta




More information about the kde-core-devel mailing list