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

make it possible to hide the METHOD keyword

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 4.8.0
    • None
    • Core: Object Model
    • None
    • 39f2dc87dbec95934cb4596c46f8b17994048de2

    Description

      Current Qt sources contains #define for METHOD (/src/corelib/kernel/qobjectdefs.h)

      1. define METHOD(a) qFlagLocation("0"#a QLOCATION)

      In some cases this prevents users from including Qt headers to a lot of their own files that include also some third-party components.

      For "signals/slot/emit" keywords it's possible to use QT_NO_KEYWORDS to undef them.

      Is it possible to hide also METHOD keyword or at least rename it it Q_METHOD/QT_METHOD or something like this (at least for QT_NO_KEYWORDS).

      Attachments

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

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            dettman Dean Dettman (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes