Ejemplo n.º 1
0
QString Myth::ProfileText()
{
    QString sProfileText;

    HardwareProfile profile;
    sProfileText = profile.GetHardwareProfile();

    return sProfileText;
}
Ejemplo n.º 2
0
QString Myth::ProfileText()
{
    QString sProfileText;

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

    return sProfileText;
}