QScintilla: QextScintillaCommandSet Class Reference

- Main Page
- Classes
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# QextScintillaCommandSet Class Reference

The QextScintillaCommandSet class represents the set of all internal editor commands that may have keys bound. More...

`#include <qextscintillacommandset.h>`

List of all members.

## Public Member Functions

- bool readSettings (QSettings &qs, const char *prefix="/Scintilla")
- bool writeSettings (QSettings &qs, const char *prefix="/Scintilla")
- QPtrList< QextScintillaCommand > & commands ()
- void clearKeys ()
- void clearAlternateKeys ()

## Detailed Description

The QextScintillaCommandSet class represents the set of all internal editor commands that may have keys bound.

Methods are provided to access the individual commands and to read and write the current bindings from and to settings files.

## Member Function Documentation

bool QextScintillaCommandSet::readSettings | ( | QSettings & | qs,
|  | const char * | prefix = `"/Scintilla"` |
| ) |  |  |

The key bindings for each command in the set are read from the settings qs. prefix is prepended to the key of each entry. TRUE is returned if there was no error.

See also:
  writeSettings()

bool QextScintillaCommandSet::writeSettings | ( | QSettings & | qs,
|  | const char * | prefix = `"/Scintilla"` |
| ) |  |  |

The key bindings for each command in the set are written to the settings qs. prefix is prepended to the key of each entry. TRUE is returned if there was no error.

See also:
  readSettings()

QPtrList<QextScintillaCommand>& QextScintillaCommandSet::commands | ( |  | ) | `[inline]`

The commands in the set are returned as a list.

void QextScintillaCommandSet::clearKeys | ( |  | ) |

The primary keys bindings for all commands are removed.

void QextScintillaCommandSet::clearAlternateKeys | ( |  | ) |

The alternate keys bindings for all commands are removed.