Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-133435

Port QMimeData data()/setData()/hasFormat() to QAnyStringView format

    XMLWordPrintable

Details

    Description

      QMimeData doesn't (necessarily) store the QString format that its data() and setData() take, so it's a perfect candidate for porting to QAnyStringView.

      Alas, it has a protected virtual retrieveData() that makes this change hard to do in Qt 6 (would have to use slots in order to emulate virtual functions, not sure this would pull it's weight). In Qt 7, we can just change the argument.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              cnn Qt Core & Network
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes