[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: Intergrating mht file to konqueror
From: Raul Fernandes <rgfernandes () correioweb ! com ! br>
Date: 2004-11-07 21:36:35
Message-ID: 200411072136.35520.rgfernandes () correioweb ! com ! br
[Download RAW message or body]
> One solution would be to have in the desktop file something like
>
> [Property::X-KDE-LocalProtocol]
> Type=QString
> Value=mht
>
> [Property::X-KDE-LocalFile]
> Type=QString
> Value=index.html
>
> [Property::X-KDE-LocalServiceType]
> Type=QString
> Value=text/html
>
It would be better if in stat() you redirect to index.html.
As example (modified from floppy kioslave):
::stat( const KURL & _url )
{
KURL url(_url);
QString path(url.path());
if ( path.right( 1 ) == "/" )
{
path += "index.html";
url.setPath( path );
redirection(url);
finished();
return;
}
(..)
}
Otherwise, we have to change the konqueror code again.
What do you think??
Regards
Raul Fernandes
rgfernandes@correioweb.com.br
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic