/trunk/DBViewer/wmithread.cpp |
---|
Новый файл |
0,0 → 1,31 |
#include "wmithread.h" |
WmiThread::WmiThread(QObject *parent) : |
QThread(parent) |
{ |
} |
void WmiThread::run(){ |
error = false; //ñáðîñèì ôëàã îøèáêè |
} |
void WmiThread::stop(){ |
mutex.lock(); |
stopped = true; |
mutex.unlock(); |
} |
void WmiThread::readStandartProcessOutput(){ |
p_buffer = process.readAllStandardOutput(); |
} |
void WmiThread::readStandartProcessError(){ |
p_buffer = process.readAllStandardError(); |
error = true; |
} |