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

Port QPointer away from QWeakPointer

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • None

    Description

      It seems that we can inline the QWeakPointer use in QPointer, thus making QPointer independent of QWeakPointer (except the addAndRef() functionality).

      Acceptance criteria:

      • QPointer is no longer implemented in terms of QWeakPointer
      • qpointer.h no longer depends on qsharedpointer_impl.h, instead both depend on qobject.h (or a smaller header)
      • QWeakPointer API relevant to QObject tracking is QT_CORE_REMOVED_SINCE

      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:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes