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

bool QMetaObject::invokeMethod(...) const

XMLWordPrintable

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

      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 .

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes