[Kde-pim] dcop command for kontact->work offline

Kevin Krammer kevin.krammer at gmx.at
Sun Apr 1 22:25:21 BST 2007


On Sunday 01 April 2007 16:17 +0100, Florian Jostock wrote:
> Am Sonntag hat Kevin geschrieben:
> > On Sunday 01 April 2007 11:46 +0100, Florian Jostock wrote:
> > > This doesnt work within kontact:
> > > #> dcop kontact kontact-mainwindow#1 online_status
> > > no such function
> >
> > There is no such function in KMail either.
> > The inner call from my example above gets the reference to the action
> > named "online_status", the outer call then activates it
>
> yes sorry I forgot the "action", but your example worked for kmail, but
> with kontact it doesnt
>
> > dcop $(dcop kmail kontact-mainwindow#1 action online_status)
>
> object 'kontact-mainwindow#1/action/online_status' in application 'kontact'
> not accessible

Hmm, I see.

Try this instead
dcop kontact qt/KXMLGUIClient-KActionCollection/online_status

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070401/e4eb378c/attachment.sig>
-------------- next part --------------
_______________________________________________
kde-pim mailing list
kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/


More information about the kde-pim mailing list