From kde-core-devel Fri Jun 06 15:57:54 2003 From: Gav Wood Date: Fri, 06 Jun 2003 15:57:54 +0000 To: kde-core-devel Subject: Re: new kde project X-MARC-Message: https://marc.info/?l=kde-core-devel&m=105491572816322 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Easy, show two (or N) icons in the system tray, one for each remote. it might get messy with N=4 remote controls, conversely when there are no remote controls configured but irkick is still running, an icon visible would still be useful. a user may have only one remote control with modes (me!) and thus may wish for only one status icon for an arbitrary remote control, so the solution is perhaps not as immediately obvious as it sounds. however, i'll look into doing some sort of a usable solution.... > That way, they're added as "Strings" type, so they only work if the dcop > call just accepts string parameters. > I'm afraid you'll have to parse the list of arguments from the method name > and convert that "value" QString to something else first. the addaction dialog has recently been changed to use different input widgets for different argument types, which should fix this problem. i haven't yet gotten round to changing the editaction dialog, but hopefully that'll fix this particular problem. but from what i remember the problem was demonstrable just with a dcop call of three QString arguments, who were never anything but QStrings and who never touched the config file, were changed into QVariants or anything. see line 104 and 113 of the same file for the two chucks of code that *should* afaik do the same thing but that don't. gav - -- Gav Wood codito ergo non satis bibivi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE+4LoC7nE5x1pIEBQRAq9RAJ9VShyZ1irbH/pHdXfPxHNerF6ROACgumyz wi8bVJOV3GmuKQEYbyo94Zw= =mW7p -----END PGP SIGNATURE-----