using of namespace in KDevPlatform?

Andreas Pakulat apaku at gmx.de
Thu Jun 21 21:16:10 UTC 2007


On 21.06.07 16:54:19, Kris Wong wrote:
> > I'm wondering if this will work or not, as the interface for 
> > IProjectFileManager doesn't have "KDevelop::" for the argument type
> > and AFAIK moc is taking the argument type in a string form as it is.
> 
> http://techbase.kde.org/Policies/Library_Code_Policy#Signal_and_Slot_Nor
> malization 
> 
> I am no expert on this particular matter, but if I understand the above
> correctly, the namespace information ends up getting "normalized away".

Even if not, moc is run on the actual plugin class, not on the
interface. In fact the signals-declaration on the interface is only
documentary, it doesn't have any effect at all as no interface is a
QObject.

Still, we should convert the interfaces to KDevelop::, IIRC somebody
asked about this a few weeks ago and we agreed to have the full name
including namespace.

Andreas

-- 
You possess a mind not merely twisted, but actually sprained.




More information about the KDevelop-devel mailing list