Convenience macro do use Extension interfaces

Andreas Pakulat apaku at gmx.de
Fri Mar 23 22:39:27 UTC 2007


On 15.02.07 18:14:37, David Nolden wrote:
> Ok, I've done a sketch that should nearly work, but I don't have time to 
> complete and/or test it(it probably won't compile).
> Also I don't know exactly enough how the extension-interface stuff works and 
> what the exact use-cases are, but I hope it isn't all too much work to finish 
> it. I haven't constructed the macro itself, but the code that should do the 
> work behind it. The question is whether Q_TYPEID works as I hope it 
> works(with templates and such).
> 
> greetings, David

> //All this can only work if Q_TYPEID is able to work with templates(Q_TYPEID(GetOneLeft<Interfaces>::Result) should return the string for the actual type, not "GetOneLeft<Interfaces>::Result"). Else another solution needs to be found.

Well, all what Q_TYPEID does with that is putting

QLatin1String(GetOneLeft<Interfaces>::Result_iid)

at the place where the macro is called. I'll see if that works or not.

Andreas

-- 
You like to form new friendships and make new acquaintances.




More information about the KDevelop-devel mailing list