|
Canorus
0.0
|
#include <singleaction.h>
Public Member Functions | |
| CASingleAction (QObject *) | |
| virtual | ~CASingleAction () |
| QString | getCommandName (bool ampersand=false) |
| QString | getDescription () |
| QString | getShortCutAsString () |
| QString | getMidiKeySequence () |
| bool | getMidiShortCutCombined () |
| QAction * | getAction () |
| QKeySequence & | getSysShortCut () |
| QList< int > & | getMidiKeyParameters () |
| void | setCommandName (QString oCommandName) |
| void | setDescription (QString oDescription) |
| void | setShortCutAsString (QString oShortCut) |
| void | setMidiKeySequence (QString oMidiKeySequence, bool combined=false) |
| QAction * | newAction (QObject *parent=0) |
Static Public Member Functions | |
| static void | fromQAction (const QAction &action, CASingleAction &sAction) |
Protected Attributes | |
| QString | _oCommandName |
| QString | _oCommandNameNoAmpersand |
| QString | _oDescription |
| QString | _oShortCut |
| QString | _oMidiKeySequence |
| bool | _bMidiShortCutCombined |
| QAction * | _pAction |
| QKeySequence | _oSysShortCut |
| QList< int > | _oMidiKeyParameters |
| bool | m_localCreated = false |
| CASingleAction::CASingleAction | ( | QObject * | parent | ) |
Copyright (c) 2009, Reinhard Katzmann, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.
References _bMidiShortCutCombined.
|
virtual |
References _pAction, and m_localCreated.
|
static |
References getAction().
Referenced by CAActionDelegate::addSingleAction().


|
inline |
References _pAction.
Referenced by CAActionsEditor::actionsNames(), CAActionsEditor::addActions(), CASettings::addSingleAction(), CAActionsEditor::findAction(), fromQAction(), CASettings::getSingleAction(), CAActionsEditor::loadFromConfig(), CAActionsEditor::saveToConfig(), and CAActionDelegate::updateSingleAction().

|
inline |
References _oCommandName, and _oCommandNameNoAmpersand.
Referenced by CASettings::addSingleAction(), CASettings::getSingleAction(), newAction(), CAActionDelegate::removeMainWinActions(), CAActionDelegate::updateSingleAction(), and CAActionsEditor::updateView().

|
inline |
References _oDescription.
Referenced by CASettings::addSingleAction(), newAction(), CAActionDelegate::updateSingleAction(), and CAActionsEditor::updateView().

|
inline |
References _oMidiKeyParameters.
|
inline |
References _oMidiKeySequence.
Referenced by CASettings::addSingleAction(), and CAActionsEditor::updateView().

|
inline |
References _bMidiShortCutCombined.
Referenced by CAActionsEditor::updateView().

|
inline |
References _oShortCut.
Referenced by CASettings::addSingleAction(), CAActionsEditor::loadFromConfig(), newAction(), CAActionsEditor::saveToConfig(), and CAActionsEditor::updateView().

|
inline |
References _oSysShortCut.
References _pAction, getCommandName(), getDescription(), getShortCutAsString(), and m_localCreated.
Referenced by CASettings::addSingleAction(), and CAActionDelegate::addSingleAction().


| void CASingleAction::setCommandName | ( | QString | oCommandName | ) |
References _oCommandName, _oCommandNameNoAmpersand, and _pAction.
Referenced by CASettings::addSingleAction(), and CAActionDelegate::addSingleAction().

| void CASingleAction::setDescription | ( | QString | oDescription | ) |
References _oDescription, and _pAction.
Referenced by CASettings::addSingleAction(), and CAActionDelegate::addSingleAction().

| void CASingleAction::setMidiKeySequence | ( | QString | oMidiKeySequence, |
| bool | combined = false |
||
| ) |
References _bMidiShortCutCombined, _oMidiKeyParameters, and _oMidiKeySequence.
Referenced by CASettings::addSingleAction().

| void CASingleAction::setShortCutAsString | ( | QString | oShortCut | ) |
References _oShortCut, and _pAction.
Referenced by CASettings::addSingleAction(), CAActionDelegate::addSingleAction(), CAActionsEditor::applyChanges(), and CAActionsEditor::loadFromConfig().

|
protected |
Referenced by CASingleAction(), getMidiShortCutCombined(), and setMidiKeySequence().
|
protected |
Referenced by getCommandName(), and setCommandName().
|
protected |
Referenced by getCommandName(), and setCommandName().
|
protected |
Referenced by getDescription(), and setDescription().
|
protected |
Referenced by getMidiKeyParameters(), and setMidiKeySequence().
|
protected |
Referenced by getMidiKeySequence(), and setMidiKeySequence().
|
protected |
Referenced by getShortCutAsString(), and setShortCutAsString().
|
protected |
Referenced by getSysShortCut().
|
protected |
Referenced by getAction(), newAction(), setCommandName(), setDescription(), setShortCutAsString(), and ~CASingleAction().
|
protected |
Referenced by newAction(), and ~CASingleAction().