Subversion Repositories OpenInventory

Rev

Rev 241 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

#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;
}