From kfm-devel Sun Jan 17 11:20:20 2010 From: Kevin Ottens Date: Sun, 17 Jan 2010 11:20:20 +0000 To: kfm-devel Subject: Re: [PATCH] devicenotifier and dolphin interactive problem Message-Id: <201001171220.20692.ervin () kde ! org> X-MARC-Message: https://marc.info/?l=kfm-devel&m=126377222413219 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart2525474.Z7WCoXJYcy" --nextPart2525474.Z7WCoXJYcy Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Thursday 7 January 2010 08:59:14 sonald wrote: > I don't know if I understood correctly. dataChanged only affects > KFilePlacesView and there is no way for an client like dolphin to know it. Well that was exactly my point: you can. From the view you can get the mode= l=20 and just connect to its dataChanged signal. > I see that only connection > between dolphin and PlacesPanel is the > urlChanged signal. I believe that's not enough to solve the problems I > mentioned in the patch, cause I > need to know the url and state(removed/mounted) to do the right thing. > maybe it's not so good as to > the final solution. Well, I'd connect to dataChanged, and then query the state of the item whic= h=20 changed, by querying back the model you should find out the mount/unmounted= =20 state at hand there and the URL. =20 Regards. =2D-=20 K=E9vin Ottens, http://ervin.ipsquad.net KDAB - proud patron of KDE, http://www.kdab.com --nextPart2525474.Z7WCoXJYcy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEABECAAYFAktS8nQACgkQB0u7y43syeJE1ACgl9R7XeTheMZNxAxT8UM/n3Ka GSAAoKd9oHJ1M1jTNFXsnP4TOef5shNl =VDG7 -----END PGP SIGNATURE----- --nextPart2525474.Z7WCoXJYcy--