~dandrader/unity8/miral

« back to all changes in this revision

Viewing changes to plugins/Greeter/Unity/Launcher/launcheritem.cpp

  • Committer: Bileto Bot
  • Author(s): Michael Zanetti
  • Date: 2016-12-07 13:43:25 UTC
  • mfrom: (2659.5.57 unity8-appdrawer)
  • Revision ID: ci-train-bot@canonical.com-20161207134325-3d9187gz3wuz4fdi
Add the ApplicationDrawer

Approved by: Lukáš Tinkl, Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
    }
77
77
}
78
78
 
 
79
QStringList LauncherItem::keywords() const
 
80
{
 
81
    return m_keywords;
 
82
}
 
83
 
 
84
void LauncherItem::setKeywords(const QStringList &keywords)
 
85
{
 
86
    if (m_keywords != keywords) {
 
87
        m_keywords = keywords;
 
88
        Q_EMIT keywordsChanged(keywords);
 
89
    }
 
90
}
 
91
 
79
92
bool LauncherItem::pinned() const
80
93
{
81
94
    return m_pinned;