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

Q_ENUMS example makes use of Q_ENUM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.13.2, 5.14.0 Alpha
    • 5.9.1
    • Documentation
    • None
    • e9190eda1a2b16bd6aa07cce4e00f302eeb3562e (qt/qtbase/5.13)

      I believe that this example is missing S:

        class MyClass : public QObject
        {
            Q_OBJECT
      
        public:
            MyClass(QObject *parent = 0);
            ~MyClass();
      
            enum Priority { High, Low, VeryHigh, VeryLow };
            Q_ENUM(Priority)
            void setPriority(Priority priority);
            Priority priority() const;
        };
      

        For Gerrit Dashboard: QTBUG-63203
        # Subject Branch Project Status CR V

            paulwicking Paul Wicking
            emdek MichaƂ Dutkiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes