[maemo-developers] Mission Control: Any Dbus interface method to list all the available ChannelRequest objects?

From: Sudheer K scifi1947 at gmail.com
Date: Thu Jul 29 08:22:30 EEST 2010
Sudheer K <scifi1947 <at> gmail.com> writes:

> If this is not possible, may be I can throw an error from the
> CreateChannel/EnsureChannel methods of my Connection Requests class. This error
> should make mission control remove the channel by itself. What do you think?
> 
> And I don't know how to raise a Telepathy error from Qt. Any guidance?
> 
> ~Sudheer
> 


Answering the question myself. It is possible to raise telepathy error from Qt
Telepathy interface implementations using QDBusContext::sendErrorReply() method.
I tested by replying with errors like
org.freedesktop.Telepathy.Error.NotAvailable from CreateChannel method, and
mission control closed the channel. The only issue is MC is displaying its own
interpretation of the error message, not what I sent from Connection object. But
thats not a big issue.

~Sudheer

More information about the maemo-developers mailing list