示例#1
0
文件: myth.cpp 项目: adicarlo/mythtv
QString Myth::ProfileText()
{
    QString sProfileText;

    HardwareProfile profile;
    sProfileText = profile.GetHardwareProfile();

    return sProfileText;
}
示例#2
0
QString Myth::ProfileText()
{
    QString sProfileText;

    HardwareProfile *profile = new HardwareProfile();
    if (profile)
        sProfileText = profile->GetHardwareProfile();
    delete profile;

    return sProfileText;
}