コード例 #1
0
ファイル: actionset.cpp プロジェクト: JGunning/OpenAOL-TV
/** \fn ActionSet::GetModified(void) const
 *  \brief Returns the appropriate container of modified actions
 *         based on current context.
 */
ActionList ActionSet::GetModified(void) const
{
    ActionList list = m_modified;
    list.detach();
    return list;
}
コード例 #2
0
ファイル: actionset.cpp プロジェクト: JGunning/OpenAOL-TV
/** \fn ActionSet::GetActions(const QString &key) const
 *  \brief Returns the actions bound to the specified key.
 */
ActionList ActionSet::GetActions(const QString &key) const
{
    ActionList list = m_keyToActionMap[key];
    list.detach();
    return list;
}