I must be doing something very wrong !!!
I am able to pass an integer from one class to another.
From class Client, I am passing this integer to class MessageIn:
messageIn->parseMessage(8);
messageIn->parseMessage(8);
To copy to clipboard, switch view to plain text mode
The MessageIn class receives this call:
void MessageIn::parseMessage(int dataIn)
{
//something here
}
void MessageIn::parseMessage(int dataIn)
{
//something here
}
To copy to clipboard, switch view to plain text mode
I want to do the exact same thing, but I want to pass a QString from Client to MessageIn.
How does the signature and expected variables for the functions should look like ?
Bookmarks