Rev 249 | Rev 255 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 249 | Rev 250 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | mutex.unlock(); |
27 | mutex.unlock(); |
28 | 28 | ||
29 | }
|
29 | }
|
30 | void setWmiString(QString new_wmi_string){wmi_string = new_wmi_string;} |
30 | void setWmiString(QString new_wmi_string){wmi_string = new_wmi_string;} |
31 | QString resultString(){ |
31 | QString resultString(){ |
32 | // static QTextCodec *codec = QTextCodec::codecForName("cp1251");
|
- | |
33 | // static QTextCodec *codecUTF = QTextCodec::codecForName("utf8");
|
- | |
34 | // QTextCodec::setCodecForTr(codecUTF);
|
- | |
35 | return QString(tr(p_buffer)); |
32 | return QString(tr(p_buffer)); |
36 | // QTextCodec::setCodecForTr(codec);
|
- | |
- | 33 | ||
37 | }
|
34 | }
|
38 | volatile bool stopped; |
35 | volatile bool stopped; |
39 | private: |
36 | private: |
40 | 37 | ||
41 | volatile bool error; |
38 | volatile bool error; |
Line 51... | Line 48... | ||
51 | signals:
|
48 | signals:
|
52 | 49 | ||
53 | public slots: |
50 | public slots: |
54 | void readStandartProcessOutput(); |
51 | void readStandartProcessOutput(); |
55 | void readStandartProcessError(); |
52 | void readStandartProcessError(); |
56 | void wokerIsStopped(); |
53 | // void wokerIsStopped();
|
57 | 54 | ||
58 | private slots: |
55 | private slots: |
59 | 56 | ||
60 | 57 | ||
61 | 58 |