emiting signals from const member functions !?
Is there a way to emit signals form const member functions;
I am getting errors :
Quote:
In member function `float PayrollCreator::hraPercent() const':
BusinessLogic/PayrollCreator.cpp:516: error: passing `const PayrollCreator' as `this' argument of `void PayrollCreator::log(const QString&)' discards qualifiers
Re: emiting signals from const member functions !?
Re: emiting signals from const member functions !?
Quote:
Originally Posted by sunil.thaha
Is there a way to emit signals form const member functions;
I am getting errors :
There is a section on emitting signals from a const method in Practical Qt. It's on page 236.