Details
-
Task
-
Resolution: Won't Do
-
P2: Important
-
6.0
-
None
Description
QTextDocument has a setDefaultFont(), setDefaultStyleSheet(), setDefaultTextOption(). The "default" prefix is really redundant in these cases, since it is clear from context. They are probably there to emphasize the fact that they may be overridden by document content, but I think that is clear in this case, and I can't think of anywhere else we make such a clarification.
So the idea is to deprecate those and add overloads with the simpler names (setFont(), ...).