Lines Matching defs:mimetype
2 // Name: src/unix/mimetype.cpp
7 // RCS-ID: $Id: mimetype.cpp 63971 2010-04-14 00:10:21Z VZ $
41 #include "wx/unix/mimetype.h"
423 // this is the start of the new mimetype
486 wxT("--- At end of Gnome file finding mimetype %s ---"),
521 wxT("--- In Gnome file finding mimetype %s ---"),
652 // KDE stores the icon info in its .kdelnk files. The file for mimetype/subtype
655 // 1. $KDEDIR/share/mimelnk/mimetype/subtype.kdelnk
656 // 2. ~/.kde/share/mimelnk/mimetype/subtype.kdelnk
812 wxString mimetype, mime_desc, strIcon;
815 int nIndex = file.GetCmd( wxT("MimeType"), mimetype );
818 // construct mimetype from the directory name and the basename of the
820 mimetype << subdir << wxT('/') << filename.BeforeLast( wxT('.') );
924 AddToMimeData(mimetype, strIcon, entry, sExts, mime_desc);
1056 wxString mimetype = tokenizer.GetNextToken().Lower();
1057 int nIndex = m_aTypes.Index(mimetype);
1372 // list of verb = command pairs for this mimetype
1947 // so far we have written the mimetype and command out
1951 // first one mimetype; second one command, rest unknown...
2123 // ensure mimetype is always lower case
2191 // always add the extensions to this mimetype
2252 wxString mimetype(mimeType);
2253 mimetype.MakeLower();
2256 int index = m_aTypes.Index(mimetype);
2268 wxString strCategory = mimetype.BeforeFirst(wxT('/'));
2297 // list of verb = command pairs for this mimetype