Bug 303651

Summary: Proper Nepomuk2 namespace
Product: [Unmaintained] nepomuk Reporter: Vishesh Handa <me>
Component: generalAssignee: Nepomuk Bugs Coordination <nepomuk-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: task    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vishesh Handa 2012-07-17 08:56:13 UTC
The Nepomuk code base explicitly defines namepsace Nepomuk2 { .. } in the headers. And in the cpp files, the function names are prepended with the namespace name (Nepomuk2).

So a class looks like - 
// Header
namespace Nepomuk2 {
 class Foo { Foo(); }
}

// Source (cpp)
Nepomuk2::Foo:Foo() { .. }

It would be better if the source files also contained a 'namespace Nepomuk2 { .. }' instead of explicitly defining the namespace before each function.

There doesn't need to be any indentation inside namespace Nepomuk2 { .. }

Relevant Code: nepomuk-core/* and kde-runtime/nepomuk/*
Comment 1 Vishesh Handa 2015-01-23 16:25:45 UTC
Thank you for taking the time to file a bug report.

The Nepomuk project is no longer included in the KDE Software Compilation. With Plasma 5, we have replaced most of the underlying technology with Baloo and other components. Hopefully this will have addressed your concern.

We encourage you to try to Plasma 5 (+Baloo) and let us know if your problem persists.