conversion of KIO::CMD_xxx to literal?

Leo Savernik l.savernik at aon.at
Thu Feb 6 17:49:18 GMT 2003


Am Donnerstag, 6. Februar 2003 15:57 schrieb Waldo Bastian:
> On Thursday 06 February 2003 15:29, Leo Savernik wrote:
[...]
> > Is there any function that returns an "xxx" literal for CMD_xxx, e. g.
> > returns "GET" for CMD_GET? I couldn't find one by skimming through
> > kdelibs/kio/kio. If not, does anybody mind if I write one?
>
> Hm, such error messages aren't terribly informing. You may want to try to
> re-use the default implementations of said functions in SlaveBase, they all
> return ERR_UNSUPPORTED_ACTION with an error message in terms that a user
> might be able to understand.
[...]

Fine with me, but I have to duplicate the error messages then. KIO::DataSlave 
is in no way associated with KIO::SlaveBase, so I can't use its default 
functions there :-(





More information about the kfm-devel mailing list