KMimeTypeChooser

Anders Lund anders at alweb.dk
Fri Apr 9 14:19:38 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Here is another widget and dialog that I and some other kate developers would 
like to see in kdelibs/kdeui.

It provides a checkable list of all mimetypes to choose from, for the purpose 
of editing mimetype/file pattern lists.

If you want to se an example, launch the katepart config dialog (from kate, 
kdevelop w/katepart, kwrite, ...) and look at the filttype or highlight 
pages. They have a small wizard button next to the "Mime types" lineedits 
which will show the dialog.

Apart from those two dialog pages, it is used in the KTE autobookmark plugin 
(which has a copy of the src code) and Dominik Hauman is looking to use it in 
another plugin. I also heard from a kdevelop developer that he wanted 
something similar.

If adding this to kdeui is acceptable, I will designerify the widget and 
possibly add a method to get a list of KMimeType::Ptr's in addition to the 
stringlists.

- -anders


- -- 
Document your code
Check before committing
Shoot spammers

Given the ugliness of the gmail service, I think everybody
with a democratic mind should stop using google at all.
=== Support democracy and individual freedom ===
=== Find yourself a different search service ===
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAdqL0yyMSZA8sCCYRAi/fAKCDsrFrahdldcu9XCcu+eO6PYTdJQCbBaqz
lc4/3gZXTh0F3y/Eu/yDWag=
=MtHw
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmimetypechooser.cpp
Type: text/x-c++src
Size: 6746 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040409/ac49aa7d/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmimetypechooser.h
Type: text/x-chdr
Size: 4354 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040409/ac49aa7d/attachment.h>
-------------- next part --------------
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel at kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel


More information about the kde-core-devel mailing list