~unity-team/unity-api/kbdLayout

« back to all changes in this revision

Viewing changes to test/qmltest/mocks/plugins/Unity/Application/Mocks/MockApplicationManager.cpp

  • Committer: CI Train Bot
  • Author(s): Michael Terry
  • Date: 2015-11-02 11:23:34 UTC
  • mfrom: (188.3.5 no-touch-no-lifecycle)
  • Revision ID: ci-train-bot@canonical.com-20151102112334-4wwom9nulwnl8wtc
Add new isTouchApp property to ApplicationInfoInterface.

Adding isTouchApp gives upper layers more information it may use to decide whether it should suspend an app.
Approved by: PS Jenkins bot, Gerry Boland

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        return item->state();
67
67
    case RoleFocused:
68
68
        return item->focused();
 
69
    case RoleIsTouchApp:
 
70
        return item->isTouchApp();
69
71
    }
70
72
 
71
73
    return QVariant();