How to process signals in a Qt subclass?
Posted
by Jen
on Stack Overflow
See other posts from Stack Overflow
or by Jen
Published on 2010-06-09T07:41:15Z
Indexed on
2010/06/09
7:52 UTC
Read the original article
Hit count: 309
How do I process a signal of in a subclass? Let's say my subclass is derived from QTextEdit and is interested in the signal textChanged. It seems silly to connect an object to itself, I should be able to simply override the textChange method -- but it isn't virtual.
What is the accepted way to do this?
© Stack Overflow or respective owner