Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: Change signals, slots and emit keyword.  (Read 4053 times)

uanabipro

  • Newbie
  • *
  • Posts: 2
    • View Profile
Change signals, slots and emit keyword.
« on: October 21, 2020, 07:11:59 pm »
Hello.

Would it be possible to change the keywords signals, slots and emit to Q_SIGNALS, Q_SLOTS and Q_EMIT? This is the nomenclature used in QT source code and would allow the usage of other library that use signal/slots, making limereport more compatible. I think this would be a "search and replace" change, since MOC would always recognize the macros.

https://doc.qt.io/qt-5/qobject.html#Q_SIGNALS

Thank you.

uanabipro

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Change signals, slots and emit keyword.
« Reply #1 on: October 22, 2020, 07:26:19 pm »
I have created a patch with the changes. If tests are ok, please consider using it in the next release.

Thank you.