[Development] Why QFontDatabase::hasFamily() is marked as internal?

Jiang Jiang gzjjgod at gmail.com
Mon Jul 4 17:59:13 CEST 2016


On Mon, Jul 4, 2016 at 11:47 PM, Konstantin Tokarev <annulen at yandex.ru> wrote:
> Hello,
>
> Are there any reasons not to make QFontDatabase::hasFamily() a part of public API?

Looks like it was originally added for QtWebKit and stayed internal as
is since then.

https://github.com/qt/qtbase/commit/b2553443739f78756ffe0cabc1b02fc62bda09c6

It probably wouldn’t hurt to make it public if it’s useful externally
and someone(tm) is willing to submit a patch adding proper docs.

- Jiang



More information about the Development mailing list