[PATCH] Support for KUrl in KConfigXT and KCModule's

Aaron J. Seigo aseigo at kde.org
Mon Mar 19 18:18:25 GMT 2007


On March 19, 2007, Andreas Pakulat wrote:
> On 19.03.07 11:33:17, Aaron J. Seigo wrote:
> > On March 19, 2007, Andreas Pakulat wrote:
> > except for the added overhead of the call since KUrl needs to be fast. it
> > doesn't look like the overhead is all that great, but still =) though,
> > yes, i do think we should register these things just to make application
> > code easier to write. i don't like the idea of such magical lines needing
> > to be uttered everywhere.
>
> I'd like to note that kurl.h already uses the Q_DECLARE_METATYPE macro,

i know; i put it there ;) i originally put the matching qRegisterMimetype() 
method in the .cpp but that was deemed unecessary by ... um ... i forget who 
exactly. i would like to see this (and similarly important KDE types) 
automatically registered, however.

> > one place that might be of lowermpact than kurl's ctor is in
> > KApplication? we could register the qvariants we want to be considered
> > 'first class' items in kde apps. kurl would be amongst those, imho.
>
> Sounds like a plan.

great =) you or me?


-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070319/5a0719dd/attachment.sig>


More information about the kde-core-devel mailing list