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

Make QVariant::data() and ::constData() part of the public API

    XMLWordPrintable

Details

    Description

      QVariant has some public functions for internal use, which are not part of the public API. This makes them unsuitable in customer code since their usage is unsupported:

      void *data();
      const void *constData() const;
      const void *data() const;

      It would be nice if these functions were made part of the public API as well, to allow direct access to the variant's data member.

      Attachments

        Issue Links

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

          Activity

            People

              stormols Marius Storm-Olsen
              sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes