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

Setters for Major, Minor, Micro in QVersionNumber

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Core: Other
    • None
    • All

    Description

      In QVersionNumber exist Getters for Major, Minor and Micro:

      int majorVersion()

      int minorVersion()

      int microVersion()

       

      but there are no separated Setters for these values, it is only possible to set all together, e.g. from static fromString

      void setMajorVersion(int newMajor);

      void setMinorVersion(int newMinor);

      void setMicroVersion(int newMicro);

       

      It would be very helpful if these Setters will be added in the future.

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            tago Stefan Junge
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes