edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
 
virtual ~TextKeyMapManager ()
 The textkeymap manager destructor.
 
void loadAllKeyMaps (const QString &path)
 This method loads all keymaps.
 
void loadKeyMap (const QString &file)
 This method loads a single keymap.
 
void loadFactoryKeyMap ()
 This method loads the internal factory keymap.
 
TextEditorKeyMapget (const QString &name=QString())
 Returns the given text-editor keymap.
 
TextEditorKeyMapfindOrCreate (const QString &name)
 finds or creates the given keymap
 

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 = QString())

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: