KDE 4 namespaces
brade at kde.org
Mon May 9 12:12:02 BST 2005
On Monday 09 May 2005 10:55, David Faure wrote:
> On Monday 09 May 2005 10:25, Stephan Kulow wrote:
> > Am Montag 09 Mai 2005 02:42 schrieb Cornelius Schumacher:
> > > I'm against changing our namespaces.
> > I'm with Cornelius here. Introducing namespaces to KDE seems to be
> > more political correctness than technically feasible.
> > As beginner you would not just have to figure you want KConfig, no
> > you would need to figure what name space is that in, what clashes
> > a use "KDE::Core" introduces, what class names you will have to prefix
> > to make it compile again, etc. etc. For little to no gain.
Yes, I'm also against namespaces in this form. I don't see any gains either.
We're all used to KListView, now changing it to something like
KDE::UI::ListView is just annoying to type.
> Yes. However we do use namespaces already, and in a very inconsistent way
> (half of KIO is under the KIO namespace, the other half isn't). So although
> I'm not necessarily in favour of Thiago's "namespaces everywhere",
> I have a slight concern with the inconsistent use of namespaces in KIO.
> How about a half-way solution?
However, I'd like to see this half-way solution :-)
> Let's see what this would look like:
> KArchive -> KIO::Archive, KDirLister -> KIO::DirLister, KMimeType ->
> KIO::MimeType. Why not?
Yeah, looks ok to me!
Michael Brade; KDE Developer, Student of Computer Science
|-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
KDE 3: The Next Generation in Desktop Experience
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the kde-core-devel