Bug 303651 - Proper Nepomuk2 namespace
Summary: Proper Nepomuk2 namespace
Status: RESOLVED UNMAINTAINED
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: git master
Platform: unspecified Linux
: NOR task
Target Milestone: ---
Assignee: Nepomuk Bugs Coordination
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-17 08:56 UTC by Vishesh Handa
Modified: 2015-01-23 16:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.