/// <remarks> /// Retrieve a pointer to the mime type <code>name</code> . /// <b>Very</b> <b>important</b>: Don't store the result in a KMimeType ! /// Also note that you get a new KMimeType pointer every time you call this. /// Don't ever write code that compares mimetype pointers, compare names instead. /// <param> name="name" the name of the mime type /// </param></remarks> <return> the pointer to the KMimeType with the given <code>name</code>, or /// 0 if not found /// </return> /// <short> Retrieve a pointer to the mime type <code>name</code> .</short> /// <see> KServiceType.ServiceType</see> public static KMimeType MimeType(string name, KMimeType.FindByNameOption options) { return (KMimeType) staticInterceptor.Invoke("mimeType$$", "mimeType(const QString&, KMimeType::FindByNameOption)", typeof(KMimeType), typeof(string), name, typeof(KMimeType.FindByNameOption), options); }