Hello,

QMetaProperty data for a class can be specified using the Q_PROPERTY macro. What is the equivalent for QMetaMethod?

I know how to query it ... just not how to specify in the class declaration.
Qt Code:
  1. Q_PROPERTY(type name
  2. READ getFunction
  3. [WRITE setFunction]
  4. [RESET resetFunction]
  5. [DESIGNABLE bool]
  6. [SCRIPTABLE bool]
  7. [STORED bool])
To copy to clipboard, switch view to plain text mode 

Thanks,
Ben