This is a texteditor map. This is used to map Command-Names to commands This class is the owner of the the given commands.
More...
#include <texteditorcommandmap.h>
This is a texteditor map. This is used to map Command-Names to commands This class is the owner of the the given commands.
◆ TextEditorCommandMap()
edbee::TextEditorCommandMap::TextEditorCommandMap |
( |
QObject * |
parent = 0 | ) |
|
|
explicit |
Constructs the editor commandmap This constructors also initializes the map with the default editor actions.
- Parameters
-
parent | a reference to the parent object |
◆ ~TextEditorCommandMap()
edbee::TextEditorCommandMap::~TextEditorCommandMap |
( |
| ) |
|
|
virtual |
Destructs the command map.
◆ get()
Returns the command identified with the given key.
- Returns
- the command assigned to this identifier or 0 if the command doesn't exeist
◆ give()
void edbee::TextEditorCommandMap::give |
( |
const QString & |
key, |
|
|
TextEditorCommand * |
command |
|
) |
| |
gives the command to this command map
- Parameters
-
key | the unique identifier for this command |
command | the command to give |
◆ loadFactoryCommandMap()
void edbee::TextEditorCommandMap::loadFactoryCommandMap |
( |
| ) |
|
This method fills this command map with the factory commands.
The documentation for this class was generated from the following files: