How fire up and raise an application via dcop?

Karl-Heinz Zimmer khz at kde.org
Tue Oct 15 18:46:43 BST 2002


On Tuesday 15 October 2002 19:44, Karl-Heinz Zimmer wrote:
> Hi Matthias,
>
> the following is what I tried to start an app (kdaddressbook) via dcop
> _and_ 'raise' it to make it the top most widget on screen:
>
>
>   if( 0 < KApplication::startServiceByDesktopName("kaddressbook") ){
>     if( kapp->dcopClient()->isApplicationRegistered("kaddressbook") ){
>       QByteArray data, replyData;
>       QCString replyType;
>       kapp->dcopClient()->call("kdaddressbook",
                                  ^^^

I am such a fooooool!   :-D

Karl-Heinz <wondering I didn't see this typo in the code editor>
-- 
Karl-Heinz Zimmer, Senior Software Engineer, Klarälvdalens Datakonsult AB
<mailto:khz at klaralvdalens-datakonsult.se>            <mailto:khz at kde.org>





More information about the kde-core-devel mailing list