How to pass the value of a QLineEdit to a thread'd thread.
I have a gui app that starts a thread. This thread is running a QTcpServer which on each new connection creates a new connection handler class.
How do you pass the value entered in the QLineEdit of the GUI app to the handler class?
Thanks in advanced.
Re: How to pass the value of a QLineEdit to a thread'd thread.
Hi what about adding to the thread a function like:
Code:
void addParameter(parameter)
that uses a mutex to protect thread's data?