Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-11326

Refactoring of a class name misses some macros (Q_DISABLE_COPY, Q_DECLARE_METATYPE)

    XMLWordPrintable

Details

    Description

      Rename a class via refactoring (in my case QSpeech to QTextToSpeech).
      Most places work great, but some macros are missed:

      I get

      Q_DISABLE_COPY(QSpeech) // bad
      Q_DECLARE_TYPEINFO(QTextToSpeech::State, Q_PRIMITIVE_TYPE); // good
      Q_DECLARE_METATYPE(QSpeech::State) // bad
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              frederik Frederik Gladhorn
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: