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

List:       kde-core-devel
Subject:    Re: use of namespaces in KDE (was: Re: koffice/kimageshop/tools)
From:       m_elter () t-online ! de (Matthias Elter)
Date:       1999-12-29 14:10:00
[Download RAW message or body]

Rik Hemsley wrote:
> 
> #if Stephan Kulow
> > You want to rename KURL to KDE::URL? I don't like this too much.
> 
> Yes, it's a bit odd when you look at it like that, but for most source
> files you can just put 'using namespace KDE;' at the top. Failing
> that, you can put it in your method body. Failing that, you have to
> write it out. Perhaps it should be shortened to 'K' ? :)


Yes I agree with you that KDE::URL looks a bit strange but a simple
alias like "K" for the "KDE" namespace would do it. Namespaces or not
it's obvious that we _have_ to rename classes like "View" or "Doc"
in kdelibs/kparts. I volunteer to do this but I was hoping for some
input from the KParts
developers on what prefix or namespace they prefer. "KPView" or
"KParts::View" come to my mind.

Greetings, Matthias

-- 
Matthias Elter
elter@kde.org / m_elter@t-online.de
KDE - http://www.kde.org

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

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