#include <berryCommandManagerEvent.h>
|
| berryObjectMacro (CommandManagerEvent) |
|
| CommandManagerEvent (CommandManager &commandManager, const QString &commandId, const bool commandIdAdded, const bool commandIdChanged, const QString &categoryId, const bool categoryIdAdded, const bool categoryIdChanged) |
|
| CommandManagerEvent (CommandManager &commandManager, const QString ¶meterTypeId, const bool parameterTypeIdAdded, const bool parameterTypeIdChanged) |
|
QString | GetCategoryId () const |
|
QString | GetCommandId () const |
|
CommandManager & | GetCommandManager () const |
|
QString | GetParameterTypeId () const |
|
bool | IsCategoryChanged () const |
|
bool | IsCategoryDefined () const |
|
bool | IsCommandChanged () const |
|
bool | IsCommandDefined () const |
|
bool | IsParameterTypeChanged () const |
|
bool | IsParameterTypeDefined () const |
|
virtual QString | GetClassName () const |
|
virtual Reflection::TypeInfo | GetTypeInfo () const |
|
virtual QList< Reflection::TypeInfo > | GetSuperclasses () const |
|
virtual void | Delete () |
|
QDebug | Print (QDebug os, Indent Indent=0) const |
|
virtual QString | ToString () const |
|
virtual uint | HashCode () const |
|
virtual bool | operator< (const Object *) const |
|
void | Register () const |
|
void | UnRegister (bool del=true) const |
|
int | GetReferenceCount () const |
|
void | SetReferenceCount (int) |
|
void | AddDestroyListener (const MessageAbstractDelegate<> &delegate) const |
|
void | RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const |
|
virtual bool | operator== (const Object *) const |
|
An event indicating that the set of defined command identifiers has changed.
- Since
- 3.1
- See also
- ICommandManagerListener::commandManagerChanged(CommandManagerEvent)
Definition at line 34 of file berryCommandManagerEvent.h.
◆ CommandManagerEvent() [1/2]
berry::CommandManagerEvent::CommandManagerEvent |
( |
CommandManager & |
commandManager, |
|
|
const QString & |
commandId, |
|
|
const bool |
commandIdAdded, |
|
|
const bool |
commandIdChanged, |
|
|
const QString & |
categoryId, |
|
|
const bool |
categoryIdAdded, |
|
|
const bool |
categoryIdChanged |
|
) |
| |
Creates a new CommandManagerEvent
instance to describe changes to commands and/or categories.
- Parameters
-
commandManager | the instance of the interface that changed; must not be null . |
commandId | The command identifier that was added or removed; must not be null if commandIdChanged is true . |
commandIdAdded | Whether the command identifier became defined (otherwise, it became undefined). |
commandIdChanged | Whether the list of defined command identifiers has changed. |
categoryId | The category identifier that was added or removed; must not be null if categoryIdChanged is true . |
categoryIdAdded | Whether the category identifier became defined (otherwise, it became undefined). |
categoryIdChanged | Whether the list of defined category identifiers has changed. |
◆ CommandManagerEvent() [2/2]
berry::CommandManagerEvent::CommandManagerEvent |
( |
CommandManager & |
commandManager, |
|
|
const QString & |
parameterTypeId, |
|
|
const bool |
parameterTypeIdAdded, |
|
|
const bool |
parameterTypeIdChanged |
|
) |
| |
Creates a new CommandManagerEvent
instance to describe changes to command parameter types.
- Parameters
-
commandManager | the instance of the interface that changed; must not be null . |
parameterTypeId | The command parameter type identifier that was added or removed; must not be null if parameterTypeIdChanged is true . |
parameterTypeIdAdded | Whether the parameter type identifier became defined (otherwise, it became undefined). |
parameterTypeIdChanged | Whether the list of defined parameter type identifiers has changed. |
- Since
- 3.2
◆ berryObjectMacro()
◆ GetCategoryId()
QString berry::CommandManagerEvent::GetCategoryId |
( |
| ) |
const |
Returns the category identifier that was added or removed.
- Returns
- The category identifier that was added or removed; may be
null
.
◆ GetCommandId()
QString berry::CommandManagerEvent::GetCommandId |
( |
| ) |
const |
Returns the command identifier that was added or removed.
- Returns
- The command identifier that was added or removed; may be
null
.
◆ GetCommandManager()
CommandManager& berry::CommandManagerEvent::GetCommandManager |
( |
| ) |
const |
Returns the instance of the interface that changed.
- Returns
- the instance of the interface that changed. Guaranteed not to be
null
.
◆ GetParameterTypeId()
QString berry::CommandManagerEvent::GetParameterTypeId |
( |
| ) |
const |
Returns the command parameter type identifier that was added or removed.
- Returns
- The command parameter type identifier that was added or removed; may be
null
.
- Since
- 3.2
◆ IsCategoryChanged()
bool berry::CommandManagerEvent::IsCategoryChanged |
( |
| ) |
const |
Returns whether the list of defined category identifiers has changed.
- Returns
true
if the list of category identifiers has changed; false
otherwise.
◆ IsCategoryDefined()
bool berry::CommandManagerEvent::IsCategoryDefined |
( |
| ) |
const |
Returns whether the category identifier became defined. Otherwise, the category identifier became undefined.
- Returns
true
if the category identifier became defined; false
if the category identifier became undefined.
◆ IsCommandChanged()
bool berry::CommandManagerEvent::IsCommandChanged |
( |
| ) |
const |
Returns whether the list of defined command identifiers has changed.
- Returns
true
if the list of command identifiers has changed; false
otherwise.
◆ IsCommandDefined()
bool berry::CommandManagerEvent::IsCommandDefined |
( |
| ) |
const |
Returns whether the command identifier became defined. Otherwise, the command identifier became undefined.
- Returns
true
if the command identifier became defined; false
if the command identifier became undefined.
◆ IsParameterTypeChanged()
bool berry::CommandManagerEvent::IsParameterTypeChanged |
( |
| ) |
const |
Returns whether the list of defined command parameter type identifiers has changed.
- Returns
true
if the list of command parameter type identifiers has changed; false
otherwise.
- Since
- 3.2
◆ IsParameterTypeDefined()
bool berry::CommandManagerEvent::IsParameterTypeDefined |
( |
| ) |
const |
Returns whether the command parameter type identifier became defined. Otherwise, the command parameter type identifier became undefined.
- Returns
true
if the command parameter type identifier became defined; false
if the command parameter type identifier became undefined.
- Since
- 3.2
The documentation for this class was generated from the following file: