src/thread/sshexecutethread.cpp

Go to the documentation of this file.
00001 
00007 #include "sshexecutethread.h"
00008 
00015 SSHExecuteThread::SSHExecuteThread(Myssh * s, QString c)
00016         :_ssh(s), _cmd(c)
00017 {}
00018 
00023 void SSHExecuteThread::run()
00024 {
00025     QStringList outerr;
00026 
00027     outerr = _ssh->send_cmd(_cmd);
00028     outerr.append(_cmd);
00029     emit cmdSent(outerr);
00030 
00031     exec();
00032 }

Generated on Mon Mar 16 18:46:05 2009 for QCJM by  doxygen 1.5.4