Subversion Repositories OpenInventory

Rev

Rev 242 | Rev 249 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 242 Rev 243
Line 1819... Line 1819...
1819
1819
1820
1820
1821
TWmiVideoCard MainWindow::getWmiVideoGard(QString host, QString user_name, QString password){
1821
TWmiVideoCard MainWindow::getWmiVideoGard(QString host, QString user_name, QString password){
1822
    TWmiVideoCard result;
1822
    TWmiVideoCard result;
1823
    bool ok;
1823
    bool ok;
1824
    wmiThread.moveToThread(&wmiThread);
1824
//    wmiThread.moveToThread(&wmiThread);
1825
    wmiThread.setHost(host); // çàäàåì õîñò
1825
    wmiThread.setHost(host); // çàäàåì õîñò
1826
    wmiThread.setUser(user_name);//çàäàåì èìÿ ïîëüçîâàòåëÿ
1826
    wmiThread.setUser(user_name);//çàäàåì èìÿ ïîëüçîâàòåëÿ
1827
    wmiThread.setPassword( password);
1827
    wmiThread.setPassword( password);
1828
    wmiThread.setWmiString(tr("select * from Win32_ComputerSystem"));
1828
    wmiThread.setWmiString(tr("select * from Win32_ComputerSystem"));
1829
    wmiThread.start(QThread::NormalPriority);
1829
    wmiThread.start(QThread::NormalPriority);