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

New signals and slots syntax to support interface classes

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.3.0
    • Core: Object Model
    • None

    Description

      The new signals and slots syntax cannot be used with the interface classes, which don't have Q_OBJECT defined. The compilation fails on missing Q_OBJECT when the signal is defined in the interface class and there is no way to define the signal in the implementing class and use it via the interface in the new syntax. This is feasible with the old syntax.

      It would be great if this can be implemented into the new signals and slots syntax.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes