#include <qscicommandset.h>
Methods are provided to access the individual commands and to read and write the current bindings from and to settings files.
bool QsciCommandSet::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.
bool QsciCommandSet::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.
QPtrList<QsciCommand>& QsciCommandSet::commands | ( | ) | [inline] |
The commands in the set are returned as a list.
void QsciCommandSet::clearKeys | ( | ) |
The primary keys bindings for all commands are removed.
void QsciCommandSet::clearAlternateKeys | ( | ) |
The alternate keys bindings for all commands are removed.