edbee - Qt Editor Library
Public Member Functions | List of all members
edbee::TextKeyMapManager Class Reference

There can be different keymaps for different file-types/ The keymap manager manages all the available keymaps There's ALWAYS a keymap with the name "". More...

#include <texteditorkeymap.h>

+ Collaboration diagram for edbee::TextKeyMapManager:

Public Member Functions

 TextKeyMapManager ()
 destructs all keymaps More...
 
virtual ~TextKeyMapManager ()
 The textkeymap manager destructor. More...
 
void loadAllKeyMaps (const QString &path)
 This method loads all keymaps. More...
 
void loadKeyMap (const QString &file)
 This method loads a single keymap. More...
 
void loadFactoryKeyMap ()
 This method loads the internal factory keymap. More...
 
TextEditorKeyMapget (const QString &name="")
 Returns the given text-editor keymap. More...
 
TextEditorKeyMapfindOrCreate (const QString &name)
 finds or creates the given keymap More...
 

Detailed Description

There can be different keymaps for different file-types/ The keymap manager manages all the available keymaps There's ALWAYS a keymap with the name "".

Constructor & Destructor Documentation

◆ TextKeyMapManager()

edbee::TextKeyMapManager::TextKeyMapManager ( )

destructs all keymaps

◆ ~TextKeyMapManager()

edbee::TextKeyMapManager::~TextKeyMapManager ( )
virtual

The textkeymap manager destructor.

Member Function Documentation

◆ findOrCreate()

TextEditorKeyMap * edbee::TextKeyMapManager::findOrCreate ( const QString &  name)

finds or creates the given keymap

◆ get()

TextEditorKeyMap * edbee::TextKeyMapManager::get ( const QString &  name = "")

Returns the given text-editor keymap.

◆ loadAllKeyMaps()

void edbee::TextKeyMapManager::loadAllKeyMaps ( const QString &  path)

This method loads all keymaps.

◆ loadFactoryKeyMap()

void edbee::TextKeyMapManager::loadFactoryKeyMap ( )

This method loads the internal factory keymap.

◆ loadKeyMap()

void edbee::TextKeyMapManager::loadKeyMap ( const QString &  file)

This method loads a single keymap.


The documentation for this class was generated from the following files: