Hello.
This is probably more a C++ question than a pure QT, but anyway...
What I want is simply to adress a QObject, lets say the textEdit of the parent widget.
I want to get some respons from the server which is not connected to the Ui in any other way. I've looked in my c++-books for parent and parent-calls, but haven't found anything...
I eather get a:
server.cpp:15: error: insufficient contextual information to determine type
if i try to user parent.
or if I try to user the parent->
it tells me that its not a pointer type.
Qt Code:
#include "server.h" #include "client.h" { } void Server::incomingConnection(int socketId) { //here I want some kind of parent call... }To copy to clipboard, switch view to plain text mode
Bookmarks