Exemple #1
0
QString Myth::ProfileText()
{
    QString sProfileText;

    HardwareProfile profile;
    sProfileText = profile.GetHardwareProfile();

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

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

    return sProfileText;
}