diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-01-24 12:00:59 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-24 12:11:08 +0100 |
commit | d7be71bc3536bce19472f84775994cee15274427 (patch) | |
tree | 0a85f14f0846eb45bf0ae2a0da86712ce56dbb77 /src/kmap2qmap | |
parent | 4e11b16aeed8c5b96934e2c2a4ee17c88c5100a4 (diff) | |
download | qttools-d7be71bc3536bce19472f84775994cee15274427.tar.gz |
kmap2qmap: Generate code with the proper class names
Change-Id: I91776274baa4efddd1864acac31a3dd44768e159
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/kmap2qmap')
-rw-r--r-- | src/kmap2qmap/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kmap2qmap/main.cpp b/src/kmap2qmap/main.cpp index fa00e68ac..d14051ba8 100644 --- a/src/kmap2qmap/main.cpp +++ b/src/kmap2qmap/main.cpp @@ -510,7 +510,7 @@ bool KeymapParser::generateHeader(QFile *f) ts << "#ifndef QEVDEVKEYBOARDHANDLER_DEFAULTMAP_H" << endl; ts << "#define QEVDEVKEYBOARDHANDLER_DEFAULTMAP_H" << endl << endl; - ts << "const QEvdevKeyboardMap::Mapping QWSKbPrivate::s_keymap_default[] = {" << endl; + ts << "const QEvdevKeyboardMap::Mapping QEvdevKeyboardHandler::s_keymap_default[] = {" << endl; for (int i = 0; i < m_keymap.size(); ++i) { const QEvdevKeyboardMap::Mapping &m = m_keymap.at(i); @@ -521,7 +521,7 @@ bool KeymapParser::generateHeader(QFile *f) ts << "};" << endl << endl; - ts << "const QEvdevKeyboardMap::Composing QWSKbPrivate::s_keycompose_default[] = {" << endl; + ts << "const QEvdevKeyboardMap::Composing QEvdevKeyboardHandler::s_keycompose_default[] = {" << endl; for (int i = 0; i < m_keycompose.size(); ++i) { const QEvdevKeyboardMap::Composing &c = m_keycompose.at(i); @@ -682,7 +682,7 @@ bool KeymapParser::parseKmap(QFile *f) parseWarning("codec doesn't habe exactly one argument"); } else if (tokens[0] == "strings") { - // simply ignore those - they have no meaning for QWS + // simply ignore those - they have no meaning for us } else if (tokens[0] == "compose") { if (tokens.count() == 5 && tokens[3] == "to") { |