kdecore: update favicon link and add shared-mime-info spec one

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-05-04 22:41:06 +03:00
parent 22c025def4
commit d338e13b8d

View file

@ -26,9 +26,10 @@
class KMimeTypePrivate; class KMimeTypePrivate;
/** /**
* Represent a mime type like "text/plain" and the data that is associated with it. * Represent a mime type like "text/plain" and the data that is associated with it. The starting
* point is often the static methods.
* *
* The starting point you need is often the static methods. * @link https://specifications.freedesktop.org/shared-mime-info-spec/latest/
*/ */
class KDECORE_EXPORT KMimeType : public QSharedData class KDECORE_EXPORT KMimeType : public QSharedData
{ {
@ -77,7 +78,7 @@ public:
* *
* @param url the URL of the favicon * @param url the URL of the favicon
* @return the name of the favicon, if unavailable returns QString(). * @return the name of the favicon, if unavailable returns QString().
* @see http://www.favicon.com * @link https://en.wikipedia.org/wiki/Favicon
*/ */
static QString favIconForUrl(const KUrl &url, bool download = false); static QString favIconForUrl(const KUrl &url, bool download = false);