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

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes