edbee - Qt Editor Library
v0.11.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
c
e
f
i
k
l
m
o
p
q
r
s
t
u
v
Functions
Variables
Typedefs
Enumerations
Enumerator
c
e
f
i
k
l
m
o
p
r
s
t
u
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Variables
a
b
c
d
e
f
g
i
k
l
n
o
p
q
s
t
Enumerations
Enumerator
a
b
d
e
f
h
i
l
m
n
p
r
s
t
u
w
Related Symbols
Files
File List
File Members
All
_
a
d
e
g
o
p
q
s
t
v
Macros
_
a
d
e
g
o
p
q
s
t
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
keymapparser.h
Go to the documentation of this file.
1
// edbee - Copyright (c) 2012-2025 by Rick Blommers and contributors
2
// SPDX-License-Identifier: MIT
3
4
#pragma once
5
6
#include "
edbee/exports.h
"
7
8
#include <QHash>
9
#include <QString>
10
#include <QVariant>
11
12
class
QIODevice;
13
14
namespace
edbee
{
15
16
class
JsonParser
;
17
class
TextEditorKeyMap
;
18
46
class
EDBEE_EXPORT
KeyMapParser
{
47
public
:
48
KeyMapParser
();
49
virtual
~KeyMapParser
();
50
51
bool
parse
(
const
QString& filename,
TextEditorKeyMap
* keyMap );
52
bool
parse
( QIODevice* device,
TextEditorKeyMap
* keyMap );
53
bool
parse
(
const
QByteArray& bytes,
TextEditorKeyMap
* keyMap );
54
bool
parse
(
const
QVariant& variant,
TextEditorKeyMap
* keyMap );
55
56
QString
errorMessage
()
const
;
57
58
59
private
:
60
61
void
buildErrorMessageFromParser();
62
63
bool
parseBindingBlock(
const
QVariantMap &valueObject,
TextEditorKeyMap
* keyMap );
64
65
QString errorMessage_;
66
JsonParser
* parser_;
67
};
46
class
EDBEE_EXPORT
KeyMapParser
{
…
};
68
69
}
// edbee
edbee::JsonParser
A Json Parser that supports strings in json sources! standard json doesn't support comments....
Definition
jsonparser.h:17
edbee::KeyMapParser::errorMessage
QString errorMessage() const
Returns the error message.
Definition
keymapparser.cpp:98
edbee::KeyMapParser::KeyMapParser
KeyMapParser()
constructs the keymapparser
Definition
keymapparser.cpp:21
edbee::KeyMapParser::parse
bool parse(const QString &filename, TextEditorKeyMap *keyMap)
loads the given keymap file returns true on success
Definition
keymapparser.cpp:39
edbee::TextEditorKeyMap
A text editor key map This key map, maps key-sequences to action-names.
Definition
texteditorkeymap.h:39
exports.h
EDBEE_EXPORT
#define EDBEE_EXPORT
Definition
exports.h:15
edbee
QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMP...
Definition
commentcommand.cpp:20
edbee
io
keymapparser.h
Generated on Wed Mar 5 2025 21:11:15 for edbee - Qt Editor Library by
1.13.2