From kde-devel Sun Jun 08 23:40:26 2003 From: Thiago Macieira Date: Sun, 08 Jun 2003 23:40:26 +0000 To: kde-devel Subject: Re: Redirection and KIOSlave X-MARC-Message: https://marc.info/?l=kde-devel&m=105511590110041 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0087730608377649677==" --===============0087730608377649677== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_xl84+g+Pe0k51k8"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --Boundary-02=_xl84+g+Pe0k51k8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline Vincent Wagelaar wrote: >Exactly... >I've looked in ~/.kde/share/config/kdeglobals but there where no > restrictions defined. > >Also in /etc/kde* where no such restrictions So the default hardcoded restrictions apply. >I found the function: >KApplication::authorizeURLAction("redirect", >KURL("workgroups://myworkgroup/myhost"), KURL("smb://myhost")) >but this function cannot be called statically? How must I call this functi= on >in my class derived from the class SlaveBase? You don't. It's Konqueror that decides if the redirection you asked for wil= l=20 be allowed. >the function redirection(KURL url) also doesn't have a return value > indicating if the redirection has failed or not. It doesn't because it doesn't know. It's not the slaves who decide if the=20 redirection is allowed -- it's the master. Add a rule allowing redirection from your ioslave to smb and it should work. =2D-=20 Thiago Macieira - Registered Linux user #65028 thiagom@mail.com =20 ICQ UIN: 1967141 PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 --Boundary-02=_xl84+g+Pe0k51k8 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA+48lxM/XwBW70U1gRAnOuAKC47t6g/XuzRCbizRG/Mhg2KV19KwCgofR1 nMtMUswegApdbsooxb9vEkE= =cCiS -----END PGP SIGNATURE----- --Boundary-02=_xl84+g+Pe0k51k8-- --===============0087730608377649677== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0087730608377649677==--