Ignore:
Timestamp:
04/12/13 08:40:12 (17 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.1-release, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
bb72d33
Parents:
afd00d6
Message:

Add all the changes for related using of split pcbsd-utils libs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/about-gui/mainwindow.cpp

    r1f0939e r0cfe72f  
    7373 
    7474    //uname 
    75     QStringList unameParsed = QString(Utils::runShellCommand("uname -imnr").at(0)).split(" ", QString::SkipEmptyParts); 
     75    QStringList unameParsed = QString(pcbsd::Utils::runShellCommand("uname -imnr").at(0)).split(" ", QString::SkipEmptyParts); 
    7676    if (unameParsed.size()== 4) 
    7777    { 
     
    8484 
    8585    // pcbsd version 
    86     Ver = Utils::runShellCommand("uname -r").at(0); 
     86    Ver = pcbsd::Utils::runShellCommand("uname -r").at(0); 
    8787    ui->VersionLabel->setText(Ver+" ("+Arch+")"); 
    8888    ui->UnstableLabel->setVisible(false); 
     
    106106 
    107107    // CPU 
    108     ui->CPUInfoLabel->setText(Utils::sysctl("hw.model")); 
     108    ui->CPUInfoLabel->setText(pcbsd::Utils::sysctl("hw.model")); 
    109109 
    110110    // memory 
    111     ui->MemoryLabel->setText(Utils::bytesToHumanReadable(Utils::sysctlAsInt("hw.realmem"))); 
     111    ui->MemoryLabel->setText(pcbsd::Utils::bytesToHumanReadable(pcbsd::Utils::sysctlAsInt("hw.realmem"))); 
    112112    //this->setFixedSize(this->geometry().width(),this->geometry().height()); 
    113113} 
     
    129129{ 
    130130    outVer=""; 
    131     QStringList out = Utils::runShellCommand(QString("pkg info -f ") + name); 
     131    QStringList out = pcbsd::Utils::runShellCommand(QString("pkg info -f ") + name); 
    132132    if (!out.size()) 
    133133        return false; 
     
    172172{ 
    173173    //X.org version 
    174     QStringList xorgver = Utils::runShellCommand("Xorg -version"); 
     174    QStringList xorgver = pcbsd::Utils::runShellCommand("Xorg -version"); 
    175175    for(int i=0; i<xorgver.size(); i++) 
    176176    { 
Note: See TracChangeset for help on using the changeset viewer.