Am Montag, dem 04.11.2024 um 12:04 +0100 schrieb Pavel Sanda:
> We could easily automatize check for this in our tests.
> 
> I can add it if you write some list of string we should
> grep for in .ui files...

For now I saw:

Qt::Orientation:: => Qt::
QSizePolicy::Policy:: => QSizePolicy::
QLayout::SizeConstraint:: => QLayout::
Qt::AlignmentFlag:: => Qt::
Qt::TextInteractionFlag:: => Qt::
QDialogButtonBox::StandardButton:: => QDialogButtonBox::

But there are probably more. I think all enums containing a subspace
are suspicious. So we could probably test for Q*::*::* and at least
warn if such a case is found. 

Thanks,
-- 
Jürgen
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to