qt6-bb10/examples/widgets/tools/codecs
Marc Mutz c58ca4256d Deprecate QStringViewLiteral
As a macro, we can't directly deprecate it, but need to make it call
something deprecated. That is a new ctor with a new enum type
added. The type might be useful for other such ventures, so put it
into qglobal.h

Remove the QT_NO_UNICODE_LITERAL protection, as it's always false
these days, and QT_UNICODE_LITERAL is unconditionally #defined a 20
lines above.

[ChangeLog][QtCore][QStringView] Deprecated the (undocumented)
QStringViewLiteral macro. Just use u"" or QStringView(u"") instead.

Change-Id: I9141320225037e1bc6b7f920bf01a9d0144fdac2
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2019-08-10 22:13:49 +02:00
..
doc Unify license header usage. 2016-03-29 10:20:03 +00:00
encodedfiles Examples: move widgets specific "tools" examples to the correct place 2012-11-28 00:56:34 +01:00
images Codecs example: Add a dialog for showing common C++ encodings 2018-11-30 10:00:04 +00:00
codecs.pro Codecs example: Add a dialog for showing common C++ encodings 2018-11-30 10:00:04 +00:00
codecs.qrc Codecs example: Add a dialog for showing common C++ encodings 2018-11-30 10:00:04 +00:00
encodingdialog.cpp Deprecate QStringViewLiteral 2019-08-10 22:13:49 +02:00
encodingdialog.h Codecs example: Add a dialog for showing common C++ encodings 2018-11-30 10:00:04 +00:00
main.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00
mainwindow.cpp Cleanup Widgets examples - foreach 2019-01-07 13:15:59 +00:00
mainwindow.h Codecs example: Add a dialog for showing common C++ encodings 2018-11-30 10:00:04 +00:00
previewform.cpp Cleanup Widgets examples - foreach 2019-01-07 13:15:59 +00:00
previewform.h Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00