KLauncher problem: can't pass parameters using dcopstart

Waldo Bastian bastian at kde.org
Tue Sep 17 21:21:52 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 
konqueror registers.

Cheers,
Waldo
- -- 
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

iD8DBQE9h47gN4pvrENfboIRAnxCAJ92AYiSaF2Kf81G1muJxQBJqMMPWQCfTUSF
xgIBaraHqAWAz1LgScQwJxo=
=QtPv
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list