Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 239 → Rev 240

/trunk/DBViewer/wmithread.cpp
New file
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;
}