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

Q_ENUM does not respect enums outside class

    XMLWordPrintable

Details

    • Linux/X11

    Description

      When I define my enum outside QWidget descendant class then Q_ENUM cant use it. Enums outside class are essential in case of protocols. I cant inherit properties from other QObject and from QWidget so I have create properties for every widgets I need. In this case I want specify protocol functions connected with widgets. So add this enum to every widget will be cumbersome...

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            j.jaworski Jacek Jaworski
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes