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

bool QMetaObject::invokeMethod(...) const

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core: Object Model
    • Labels:
      None
    • Platform/s:
      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

            Assignee:
            thiago Thiago Macieira
            Reporter:
            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