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

List:       kde-core-devel
Subject:    Re: Bug#6871: can't save to text?
From:       Waldo Bastian <bastian () kde ! org>
Date:       2000-07-30 5:46:14
[Download RAW message or body]

On Sat, 29 Jul 2000, David Faure wrote:
> On Sat, 29 Jul 2000, Waldo Bastian wrote :
> >On Sat, 29 Jul 2000, David Faure wrote:
> >> >The major deficiency is currently in the FileDialog which doesn't have
> >> >support for a "Save As" combobox to specify the file format.
> >>
> >> ???
> >> That's not true, it's exactly what KOffice is doing with the file
> >> dialog....
> >
> >Hm? Must have missed that then. Can you point me to some code that does
> > this?
>
> KFileDialog::setFilter, and the filter is prepared by
> QString KoFilterManager::fileSelectorList
> (koffice/lib/kofficecore/koFilterManager.cc)
>
> Apparently it's "\n" that separates the filters, and yes, this is badly
> documented in kfiledialog.h (was, last time I checked, at least).

Isn't that a bit of a hack? I want an interface where I can pass 3 mimetypes
to the filedialog, let the filedialog fetch and show the proper descriptions
and return to the application the mimetype the user is interested in. And in 
this case the UI shouldn't say "Filter:" but something like "Save as:"
(It can probably still include the filter functionality as well though)

That's what I mean with "support".

Cheers,
Waldo
-- 
Make way, KDE/Linux is coming to a desktop near you!

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

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