PATCH: KIO::NetAccess and Password Caching
Dawit A.
adawit at kde.org
Sat Jan 4 18:51:45 GMT 2003
On Saturday 04 January 2003 10:55, Waldo Bastian wrote:
> On Saturday 04 January 2003 10:38, David Faure wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Saturday 04 January 2003 07:54, Dawit A. wrote:
> > > Hi,
> > >
> > > I'm try reposting this again since people might have missed it due to
> > > holiday breaks.
> > >
> > > The patch is intended to make it possible for proper password caching
> > > when using KIO::NetAccess. It simply allows people to pass a pointer
> > > to the main window so that it could be passed on to the jobs used
> > > internally. The solution is not ideal (atleast it does not look clean
> > > to me), but I do not see any other way to handle it. Any comments,
> > > suggestion ?
>
> +bool NetAccess::mkdir( const KURL & url, QWidget* window, int permissions
> )
>
> Why is QWidget* not the last argument as with all other functions?
Because "int permissions" has a default value.
> > Ah yes .... Hmm, I really don't like this. What if I'm using NetAccess to
> > upload/ download something in a program that doesn't have a GUI?
Then simply set the QWidget* to NULL just like the deprecated functions.
Regards,
Dawit A.
More information about the kfm-devel
mailing list