Namespaces in libkdecore

Matthias Ettrich ettrich at trolltech.com
Sat May 1 19:08:55 BST 2004


On Saturday 01 May 2004 19:57, Scott Wheeler wrote:
[...]
>
> Then people could pretty easily make things work with a "using namespace
> KDE3;"

Indeed, and that's what everybody would be doing. So what exactly would 
putting all K* classes into a namespace buy you, given that you cannot expect 
people to actually type code like 
lineEdit->setEchoMode(KDE::UI::LineEdit::Password) ? Now that the K prefix is 
reserved for KDE and new versions of the libraries are released together, 
where is the benefit? 

Matthias





More information about the kde-core-devel mailing list