[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: qxembed
From:       Sebastian Trueg <trueg () informatik ! uni-freiburg ! de>
Date:       2001-05-20 18:17:47
[Download RAW message or body]

On Sunday 20 May 2001 19:23, Nikolas Zimmermann wrote:
> On Sunday 20 May 2001 19:17, Sebastian Trueg wrote:
> > On Sunday 20 May 2001 17:41, Nikolas Zimmermann wrote:
> > > On Sunday 20 May 2001 17:32, Sebastian Trueg wrote:
> > > > I need to start another QT/KDE-app from my app and embed it's
> > > > main-widget into a qxembed-widget. How can I get the window id from
> > > > this widget? Can I use DCOP here?
> > >
> > > hmm you could add a dcop iface to the app you
> > > wish to launch to find out the winid
> >
> > But then if another instance of the app I wish to launch is running,
> > would I be able to "choose" the one I started?
>
> hmm you can find out the pid of the started app when using KProcess
> so you can call the app via dcop: "myapp-" + pidoflaunchedapp
>

OK, but what if I want to start the process via kdesu? I need the process to 
run as root. Will there be two different pids?

Sebastian

> Bye
>  Bye
>   Niko
>
> > Greetings
> > Sebastian
> >
> > > Bye
> > >  Bye
> > >   Niko
> > >
> > > > Thanx,
> > > > Sebastian
> > > >
> > > > >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to
> > > > >> unsubscribe <<
> > >>
> > >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to
> > >> unsubscribe <<

>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic