[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: Pass mime type to KMail when using Location->Send File
From: Waldo Bastian <bastian () kde ! org>
Date: 2003-06-14 17:05:53
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 14 June 2003 18:47, Ingo Klöcker wrote:
> [Please keep kmail@kde.org cc'ed, as I'm not subscribed to
> kfm-devel@kde.org.]
>
> Hi,
>
> this is about http://bugs.kde.org/show_bug.cgi?id=53009 (kmail --attach
> <url> does not preserve mime type in attachment). The problem is that
> KMimeType::findByURL returns application/octet-stream for all HTTP
> URLs, i. e. for all webpages someone wants to send his friends.
In order to fetch such webpage you will have to KIO::get it, and when you
KIO::get it, the KIO::Job will be able to tell you the mimetype...
Cheers,
Waldo
- --
bastian@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+61XxN4pvrENfboIRAk+rAKCLHJdG/DvvRXU/o/vySSgPd+GjBQCgifmL
OMPh1OhhhWqxC6aAgp/SoAY=
=A0hj
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic