[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Fwd: Re: X-KDE-PluginInfo-Depends not working for KTextEditor Plugins?
From:       Milian Wolff <mail () milianw ! de>
Date:       2008-12-22 17:41:37
Message-ID: 200812221841.37549.mail () milianw ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Sorry, last message was sent directly to ereslibre, here again for the list:

Am Montag 22 Dezember 2008 schrieb Rafael Fernández López:
> Hi,
>
> > 1. can X-KDE-PluginInfo-Depends contain more than one plugin? I.e. comma
> > separated list?
>
> Yes, it can. kdelibs/kdecore/services/kplugininfo.desktop tells us that it
> is a QStringList. Just read and write it as a QStringList, you don't care
> about how it is implemented internally: comma, colon separated list...
> whatever.
>
> [...]
>
> > And regarding the readPluginConfig, can I do KatePartPluginInfo->service-
> >
> > >property("X-KDE-PluginInfo-Depends").toString() ?
>
> At least if you can get a KPluginInfo, which I think you can, you have
> KPluginInfo::dependencies() method, which returns a QStringList.
>
>
> Regards,
> Rafael Fernández López.

Great, thanks. I'll try to get a working patch written. One question though: 
Why is neither the dependencies() method nor the relationship to KPluginInfo 
mentioned in the API documentation of KatePartPluginInfo [1] ?

[1]: http://api.kde.org/4.x-api/kdelibs-
apidocs/kate/html/classKatePartPluginInfo.html#81ec3edd2510e2dd2dacc77194ab62dd

-- 
Milian Wolff
mail@milianw.de
http://milianw.de

-- 
Milian Wolff
mail@milianw.de
http://milianw.de

["signature.asc" (application/pgp-signature)]

_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic