[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:       David Faure <david () mandrakesoft ! com>
Date:       2000-07-29 21:28:59
[Download RAW message or body]

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).

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2

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

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