[Development] A modest proposal: disable lower-case keywords (emit, foreach, forever, signals, slots) by default
Ville Voutilainen
ville.voutilainen at gmail.com
Tue Feb 25 09:19:24 CET 2020
On Mon, 24 Feb 2020 at 17:17, Allan Sandfeld Jensen <kde at carewolf.com> wrote:
> Yeah you would need something like qEmit(&my_signal, Args..) or without &
> using a macro. Or.. qEmit(std::bind(&my_signal, Args...));
Or perhaps qEmit(this)->my_signal(Args...);
and hide the befriending of qEmit (so that private/protected don't
thwart this) inside
Q_OBJECT.
More information about the Development
mailing list