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

Template replacement for Q_ARG

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • Not Evaluated
    • Some future release
    • 4.5.2
    • Other
    • None

    Description

      It would be nice to have a template replacing the macro Q_ARG.

      template <class ArgType>
      static QArgument<ArgType> qArgHelper(const ArgType& arg)
      {
      return QArgument<ArgType>( QMetaType::typeName( qMetaTypeId<ArgType>() ), arg );
      }

      Attachments

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

        Activity

          People

            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes