[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: KUniqueApplication and dcopClient()->registerAs()
From: Andras Mantia <amantia () kde ! org>
Date: 2004-04-30 13:51:14
Message-ID: 200404301651.14743.amantia () kde ! org
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have a problem with KUniqueApplication when the application is
registered with a different name, namely it will not detect that the
application is already running. :-( In order to make the CVS HEAD and
stable Quanta runnable side by side, the first is named as quanta_be
and the second as quanta. They have different data directories
(share/apps/quanta_be and share/apps/quanta), but otherwise they should
work the same way, so they are registered as "quanta". The problem is
that KUniqueApplication doesn't notice that one instance of quanta_be
is already running. I failed to find out how can I force it to detect.
Of course if I create a KAboutData with "quanta" as the first parameter
and pass it to KCmdLineArgs::init() it will detect, but than it will
try to use the resources from /share/apps/quanta..
Do you have any idea what can I do?
Andras
- --
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAklnSTQdfac6L/08RAsvKAKCqmQyN6+RfSM8OMZ4c+XsOBpftNQCfYXZA
+jcACLclE5iPBEWyl2ERVP8=
=MuOH
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic