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

Make QGeoMap add/remove/clear QGeoMapParameter methods virtual

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Withdrawn
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 5.13.1
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      All

      Description

      Please make the QGeoMapParameter methods virtual:

          virtual void addParameter(QGeoMapParameter *param);
          virtual void removeParameter(QGeoMapParameter *param);
          virtual void clearParameters();
      

      so that we can overwrite existing maps (e.g. QGeoTiledMap) with our own implementation, for instance:

      class MyTilesMap: public QGeoTiledMap
      {
          void addParameter(QGeoMapParameter *param) override;
          void removeParameter(QGeoMapParameter *param) override;
          void clearParameters() override;
      };
      

        Attachments

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

          Activity

            People

            Assignee:
            paangele Paolo Angelelli
            Reporter:
            DanielSt Peter Staab
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes