you can find whole code here
thanks so much!
you can find whole code here
thanks so much!
As far as I can see the slots connected to process are never called.
Looks like you never do anything with process.
In this case it's quite logic that you never get the signal emitted.
When i call the process, for example RDP i can see the virtual terminal opening on my screen so i think the slot connected to the process are called, I've tried to print a string into the QTextBrowser to see if i'm really jump into that slot and i'm able to print it ...
EDIT: maybe the signal is not emitted by callApplication but by QProcess, given that i'm trying to hook a signal (error) that it is emitted by another slot called by QProcess, in this case mi connect definition is not valide. Is it possible?
Last edited by mattia; 6th November 2007 at 11:39.
Yeah - you are right. rdesktop was not installed on my machine ......
I did enable emitting the signal in callApplication:: processFinished and did add qDebug() statements in callApplication:: processFinished and ClientSocket::generateError().
As far as I can see the signal is emitted correctly.
The message is not sent from server to the client or not displayed in the client gui.
but in ClientSocket::generateError(QString error) i added
this->textBrowserPark->setHtml("generate error..." + error);
to show in the server QTextBrowser if i'm calling generateError method, and it don't show nothing...this should be put in evidence the fact thet i'm not calling the slot...
in callApplication:: processfinished remove the setHtml statement.
this statement overwrites the message set by ClientSocket::generateError().
Nothing new, i had already tried to remove it but it keeps on to not work.
I added this method, and i call it into callApplication:: processfinished
Qt Code:
void CallApplication::test(){ this->textBrowserPark->setHtml("Yeah!"); }To copy to clipboard, switch view to plain text mode
it shuold print a string into the server message box but nothing, i can't call no one functions in callApplication:: processfinished...it looks really strange...any work around?
I have implemented again the server classes and i fixed my problems, thanks for your support![]()
Bookmarks