KLauncher problem: can't pass parameters using dcopstart
bastian at kde.org
Tue Sep 17 21:21:52 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
On Tuesday 17 September 2002 01:25 pm, Alexander Neundorf wrote:
> On Tuesday 17 September 2002 21:38, Waldo Bastian wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > On Tuesday 17 September 2002 01:04 pm, Alexander Neundorf wrote:
> > > Hi,
> > >
> > > I tried
> > > "dcopstart konqueror --geometry 400x200+100+100"
> > > but it doesn't work.
> > Indeed.
> > A service only takes URLs. Command line options for the executable are
> > defined in the .desktop file that defines the service.
> So should I instead simply start konqy and then repeat "dcopfind
> konqueror-*" until konqy appears there ?
> I want to do this from within an app, and the geometry can change, so I
> can't put it into the desktop file.
You can use the KApplication::kdeinitExec() in combination with the
DCOPClient::applicationRegistered() signal so that you get notified when
bastian at kde.org | SuSE Labs KDE Developer | bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
More information about the kde-core-devel