This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1623065922== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig28BA62A16EB59CEEE511A402" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig28BA62A16EB59CEEE511A402 Content-Type: multipart/mixed; boundary="------------050302030601030006020003" This is a multi-part message in MIME format. --------------050302030601030006020003 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, For simple implementation invite button in skype protocol I need signal triggered(QString id) in KopeteContactAction (id is string name of contact). I create patch which add this signal. Can I commit it to svn? Tiago Salem Herrmann wrote / nap=C3=ADsal(a): > Pali Roh=C3=A1r wrote: > =20 >> Ok, thanks it works. >> But what about button in chat window "Invite people" ? >> >> =20 >> ----------------------------------------------------------------------= -- >> >> _______________________________________________ >> kopete-devel mailing list >> kopete-devel@kde.org >> https://mail.kde.org/mailman/listinfo/kopete-devel >> =20 >> =20 > It is possible to add the invite button to the chat window in the=20 > protocol. Take a look at msn/wlm protocol. > The lines 106 to 111 in wlmchatsession.cpp do the trick. > _______________________________________________ > kopete-devel mailing list > kopete-devel@kde.org > https://mail.kde.org/mailman/listinfo/kopete-devel > =20 --------------050302030601030006020003 Content-Type: text/x-patch; name="invite-button.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="invite-button.patch" Index: kdenetwork/kopete/libkopete/ui/kopetecontactaction.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- kdenetwork/kopete/libkopete/ui/kopetecontactaction.cpp (revision 9335= 27) +++ kdenetwork/kopete/libkopete/ui/kopetecontactaction.cpp (working copy)= @@ -42,7 +42,9 @@ void ContactAction::slotTriggered( bool checked ) { Kopete::Contact* contact =3D data().value(); + const QString &id =3D contact->contactId(); emit triggered( contact, checked ); + emit triggered( id, checked ); } =20 } Index: kdenetwork/kopete/libkopete/ui/kopetecontactaction.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- kdenetwork/kopete/libkopete/ui/kopetecontactaction.h (revision 933527= ) +++ kdenetwork/kopete/libkopete/ui/kopetecontactaction.h (working copy) @@ -55,6 +55,7 @@ * you need to know which contact the action was triggered for */ void triggered( Kopete::Contact*, bool checked ); + void triggered( const QString &, bool checked ); =20 private slots: /** --------------050302030601030006020003-- --------------enig28BA62A16EB59CEEE511A402 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmuJUoACgkQi/DJPQPkQ1JifgCgvgN+gRNncbCLsyPvXGFEwV5b VHIAnRIwcEPkm+XAPUr7O2pzgFqeHTuE =m99a -----END PGP SIGNATURE----- --------------enig28BA62A16EB59CEEE511A402-- --===============1623065922== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel --===============1623065922==--