[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Redirection and KIOSlave
From:       Vincent Wagelaar <vincent () ricardis ! tudelft ! nl>
Date:       2003-06-08 22:55:29
[Download RAW message or body]

On Monday 09 June 2003 00:09, Thiago Macieira wrote:
> Vincent Wagelaar wrote:
> >I'm currently developing a Slave for browsing the SMB-Shares in my LAN.
> > The other kio_smb doesn't seem to work with my libsmbclient. Everything
> > is working fine, but I cannot seem to get the redirection work.
>
> [snip]
>
> You did not say what exactly was happening when you did redirection, so I
> am guessing here: did you enable redirection from your workgroup://
> protocol to smb://?

Exactly...
I've looked in ~/.kde/share/config/kdeglobals but there where no restrictions 
defined.

Also in /etc/kde* where no such restrictions

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 function 
in my class derived from the class SlaveBase?

Or could the problem be that my slave is not derived from TCPSlaveBase, 
because I'm now basically redirecting from a filebased-slave to a 
network-based slave.

the function redirection(KURL url) also doesn't have a return value indicating 
if the redirection has failed or not.

> By default, there are some strict rules regarding redirection. Check
> KApplication::redirectionAllowed (or similarly named method) in
> kdelibs/kdecore/kapp.cpp for more information. Also of interest is the
> README.kiosk file.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic