Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-9761 General cleanup tasks
  3. QTCREATORBUG-9767

Interfaces should prefer members with getters&setters over (pure) virtual getter methods

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Not Evaluated
    • None
    • All Other Issues
    • None

    Description

      Similar to IMode. displayName, id, etc are not pure virtual methods that are implemented by subclasses, but are set directly through the base implementation.
      Depending on use case, setters can be protected or public, and getters&setters might still be virtual for specialized implementations in subclasses.

      Attachments

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

        Activity

          People

            con Eike Ziller
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes