the usage of connect in QT
Hello, Everyone:
I read a code block in an open source program as follows:
Code:
connect(getThread,
SIGNAL(newObs
(QByteArray, QList<t_satObs>
)),
this,
SIGNAL(newObs
(QByteArray, QList<t_satObs>
)));
The problem is that two parameters of the connect function are both 'SIGNAL'.
Can you give me some description of the usage ,or some links about the usage.
Thank you very much. Sorry but my english is not very good.
Re: the usage of connect in QT
From Signals and Slots
Quote:
It is even possible to connect a signal directly to another signal. (This will emit the second signal immediately whenever the first is emitted.)