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

bool QMetaObject::invokeMethod(...) const

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • None
    • Core: Object Model
    • None
    • All

    Description

      IMO, there's a very useful function overload missing in QMetaObject:

      bool invokeMethod(const QObject *obj, const char *member, Qt::ConnectionType type, QGenericReturnArgument ret, QGenericArgument val0 = QGenericArgument(nullptr), QGenericArgument val...) const
      

      I find is puzzling that I can't invoke a const get method using QMetaObject::invokeMethod .

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            andrhans Andreas Aardal Hanssen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes