--===============1552185953==
Content-Type: multipart/signed;
boundary="nextPart1796244.eAxeZaRLLR";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart1796244.eAxeZaRLLR
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Even after reading all the documentation I could find, I'm not sure on one=
=20
point when making dcop interfaces for Krita: when I have a method that=20
returns a Krita class, I return a DCOPRef, like

class KisDocIface : virtual public KoDocumentIface
{
K_DCOP
public:
KisDocIface( KisDoc *doc_ );
k_dcop:
virtual DCOPRef currentImage();
}

When I have a method that takes a Krita class as a parameter, should I pass=
a=20
dcopref, too? What about type safety in these cases?

class KisImageIface : virtual public DCOPObject
{
K_DCOP
public:
KisImageIface( KisImage *img_ );
k_dcop:

bool raise(KisLayerSP layer); // This?
bool raise(DCOPRef layer); // Or this?
}

=2D-=20
Boudewijn Rempt=20
http://www.valdyas.org/fading/index.cgi

--nextPart1796244.eAxeZaRLLR
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBC92gGdaCcgCmN5d8RAom/AKDYjXjxAsta8JL5Ns4XB++sGKGxSACgsVeW
iZRjxj+m5rG7QltbNSSYYxY=
=BJiH
-----END PGP SIGNATURE-----

--nextPart1796244.eAxeZaRLLR--

--===============1552185953==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

=

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=

e <<

--===============1552185953==--