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

Provide QEventStorage to allow storing QEvent subclasses without exposing the copy operations as public API

    XMLWordPrintable

Details

    • 5
    • dd264cc9c00e09eb995f1c6f9b1fd651f1d4b2f4 (dev) 435da40cc0135444f072fc5b9f09bec2ffff7ad4 (6.9), 5d2164382 (dev), 3e7f2f204 (6.9)
    • Foundation Sprint 129, Foundation Sprint 130

    Description

      This is a follow-up on QTBUG-99563. The UB there is fixed, but we still use QMutable*Event to store event (copies) for later reuse, so the QMutable*Event classes can't, yet, be turned into a pure namespace class, like QTBUG-99563 requested.

      Acceptance criteria:

      • Add QEventStorage (or similar) as private API
      • Port all remaining users of QEvent copying over to it
      • Make QMutable*Event a stateless namespace for static gettters and setters.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-133321
          # Subject Branch Project Status CR V

          Activity

            People

              mmutz Marc Mutz
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes