hi am tired of recieving yr mails so delete my email from yr list thanks --- On Thu, 3/12/09, Matt Rogers <ma...@kde.org> wrote: From: Matt Rogers <ma...@kde.org> Subject: Re: [kopete-devel] How to start a chat using Kopete from the network-kioslave? To: kopete-devel@kde.org Date: Thursday, March 12, 2009, 2:15 PM
On Thursday 12 March 2009 16:00:56 Friedrich W. H. Kossebau wrote: > Hi, > > how can I implement the start of a chat to a Bonjour protocol (or > link-local messaging) in Kopete from another program if I have the data > like host and port? > > I am asking because: > As you might know I am working on the network-kioslave*, a kioslave which > is to list the network from a device-centric point-of-view. One of the > backends is DNS-SD (Bonjour in Apple's implementation), which also lists > the link-local service instances offered on a host (commited today). Now I > would like to add the possibility to start a chat to a by just clicking on > the chat service item listed in the view. > > For services like SSH, VNC, or by just today a KBattleship game offer, the > problem is solved by just having the item forward to a matching url > (ssh:/..., vnc:/..., kbattleship:/...) and assigning the mimetype > (inode/vnd.kde.service.{ssh,vnc,kbattleship,...} the proper application as > handler, e.g. KRDC or KBattleship, done in the "file" association control > module in System Settings. > > I can create a url "presence:/somehost.on.net:port/", but how would this be > best transformed into a start of/call to Kopete for a chat with the person > at this remote place? I guess I will need an adapter script, but how would > it work? Is there some code I could take as template to ask Kopete to > connect to a link-local service, and start it if it isn't already running? > > * http://frinring.wordpress.com/2009/02/13/browse-your-network/ > > Cheers > Friedrich have a protocol handler implemented for the bonjour plugin or use dbus. -- Matt _______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel
_______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel