M
M
mr-ZA2019-03-04 16:14:57
Qt
mr-ZA, 2019-03-04 16:14:57

Did you come across an incomprehensible piece of Qt code (this)?

I came across a piece of code, explain the purpose of [this] in this case (where the QTcpSocket object is created and where connect)
5c7d24e0408f5757030426.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Ananiev, 2019-03-04
@mr-ZA

this in this case points to the address of the myserver object (myserver*)

P
Pavel Shvedov, 2019-03-04
@mmmaaak

Description of constructor parameters read here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question