From kwrite-devel Mon Dec 22 17:37:22 2008 From: Rafael =?iso-8859-15?q?Fern=E1ndez_L=F3pez?= Date: Mon, 22 Dec 2008 17:37:22 +0000 To: kwrite-devel Subject: Re: X-KDE-PluginInfo-Depends not working for KTextEditor Plugins? Message-Id: <200812221837.24665.ereslibre () kde ! org> X-MARC-Message: https://marc.info/?l=kwrite-devel&m=122996749528222 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0957810359==" --===============0957810359== Content-Type: multipart/signed; boundary="nextPart2272891.Nlask5exAT"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2272891.Nlask5exAT Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 a QStringList. Just read and write it as a QStringList, you don't care abou= t=20 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=20 KPluginInfo::dependencies() method, which returns a QStringList. Regards, Rafael Fern=E1ndez L=F3pez. --nextPart2272891.Nlask5exAT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAklP0FIACgkQck5Abj8B0HA78ACg3qQJUXNYtRrGE2EwVQccbDtA MCMAn3zVM5Bocs1YvqFqvhVvtFAsMru3 =LxO/ -----END PGP SIGNATURE----- --nextPart2272891.Nlask5exAT-- --===============0957810359== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel --===============0957810359==--