Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-170

create a dedicated FileTag class

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 0.3
    • None
    • General
    • None

      At the moment we're inconsistently using QSet<QString> / QList<QString> to hold file tags. This should be unified by using a FileTags container class.

      class FileTag:

      • should store an id, not a string
      • must be constructable from a string
      • must be convertable to a string

      class FileTags:

      • fast to enumerate,
      • fast contains and intersection functionality

      Looks like FileTags should be a convenience wrapper around std::set<FileTag>.

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

            jbornema Joerg Bornemann
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes