diff --git a/autotests/ktoolbar_unittest.cpp b/autotests/ktoolbar_unittest.cpp --- a/autotests/ktoolbar_unittest.cpp +++ b/autotests/ktoolbar_unittest.cpp @@ -122,7 +122,7 @@ m_xml = "\n" - "\n" + "\n" "\n" "\n" "\n" @@ -541,7 +541,7 @@ { const QByteArray windowXml = "\n" - "\n" + "\n" "\n" "\n" "\n" diff --git a/autotests/kxmlgui_unittest.cpp b/autotests/kxmlgui_unittest.cpp --- a/autotests/kxmlgui_unittest.cpp +++ b/autotests/kxmlgui_unittest.cpp @@ -53,7 +53,7 @@ { const QByteArray xml = "\n" - "\n" + "\n" "<" + toplevelTag + " version=\"" + QByteArray::number(version) + "\" name=\"foo\" >\n" "\n"; file.write(xml); @@ -125,11 +125,11 @@ QTest::newRow("simple test") << "\n" - "\n" + "\n" "\n" << "3"; QTest::newRow("two digits") << "\n" - "\n" << "42"; + "\n" << "42"; QTest::newRow("with spaces") << // as found in dirfilterplugin.rc for instance "\n" "\n" << "1"; @@ -140,7 +140,7 @@ "\n" "\n" - "\n" << "452"; + "\n" << "452"; } void KXmlGui_UnitTest::testFindVersionNumber() @@ -318,7 +318,7 @@ { const QByteArray hostXml = "\n" - "\n" + "\n" "\n" "\n" " &Go\n" @@ -378,7 +378,7 @@ const QByteArray partXml = "\n" - "\n" + "\n" "\n" " &Go\n" " \n" @@ -397,7 +397,7 @@ " \n" " \n" "\n" - "\n"; + "\n"; TestGuiClient partClient(partXml); partClient.createActions(QStringList() << QStringLiteral("go_previous") << QStringLiteral("go_next") << QStringLiteral("first_page") << @@ -457,7 +457,7 @@ { const QByteArray hostXml = "\n" - "\n" + "\n" "\n" "\n" // The solution was to remove the duplicated definition @@ -483,7 +483,7 @@ const QByteArray partXml = "\n" - "\n" + "\n" "\n" "\n" " &Settings\n" @@ -510,7 +510,7 @@ QTest::addColumn("expectedMenus"); const QByteArray xmlBegin = - "\n" + "\n" "\n" "\n"; const QByteArray xmlEnd = @@ -626,7 +626,7 @@ { const QByteArray xml = "\n" - "\n" + "\n" "\n" "\n" " Add to Group\n" @@ -707,7 +707,7 @@ { const QByteArray xml = "\n" - "\n" + "\n" "\n" "\n" "\n" @@ -751,7 +751,7 @@ { const QByteArray xml = "\n" - "\n" + "\n" "\n" "\n" "\n" @@ -828,7 +828,7 @@ { const QByteArray xml = "\n" - "\n" + "\n" "\n" "\n" " \n" @@ -875,7 +875,7 @@ { const QByteArray xml = "\n" - "\n" + "\n" "\n" "\n" " Before Separator\n" @@ -900,7 +900,7 @@ { const QByteArray xml = "\n" - "\n" + "\n" "\n" "\n" " File Menu\n" @@ -987,16 +987,16 @@ { const QByteArray hostXml = "\n" - "\n" + "\n" "\n" "\n" " &File\n" " \n" " \n" "\n" ""; const QByteArray xml = "\n" - "\n" + "\n" "\n" "\n" " &File\n" @@ -1027,7 +1027,7 @@ void KXmlGui_UnitTest::testShortcuts() { const QByteArray xml = "\n" - "\n" + "\n" "\n" "\n" " &File\n" diff --git a/src/kshortcutschemeseditor.cpp b/src/kshortcutschemeseditor.cpp --- a/src/kshortcutschemeseditor.cpp +++ b/src/kshortcutschemeseditor.cpp @@ -128,7 +128,7 @@ } QDomDocument doc; - QDomElement docElem = doc.createElement(QStringLiteral("kpartgui")); + QDomElement docElem = doc.createElement(QStringLiteral("gui")); doc.appendChild(docElem); QDomElement elem = doc.createElement(QStringLiteral("ActionProperties")); docElem.appendChild(elem); diff --git a/src/kshortcutschemeshelper.cpp b/src/kshortcutschemeshelper.cpp --- a/src/kshortcutschemeshelper.cpp +++ b/src/kshortcutschemeshelper.cpp @@ -61,7 +61,7 @@ qCDebug(DEBUG_KXMLGUI) << "Considering component" << componentName; QDomDocument doc; - QDomElement docElem = doc.createElement(QStringLiteral("kpartgui")); + QDomElement docElem = doc.createElement(QStringLiteral("gui")); docElem.setAttribute(QStringLiteral("version"), QStringLiteral("1")); docElem.setAttribute(QStringLiteral("name"), componentName); doc.appendChild(docElem); diff --git a/src/ktoolbarhandler.cpp b/src/ktoolbarhandler.cpp --- a/src/ktoolbarhandler.cpp +++ b/src/ktoolbarhandler.cpp @@ -37,13 +37,13 @@ const char actionListName[] = "show_menu_and_toolbar_actionlist"; const char guiDescription[] = "" - "" + "" "" " " " " " " "" - ""; + ""; class BarActionBuilder { diff --git a/src/ui_standards.rc b/src/ui_standards.rc --- a/src/ui_standards.rc +++ b/src/ui_standards.rc @@ -1,5 +1,5 @@ - + &File @@ -218,4 +218,4 @@ - + diff --git a/tests/krichtexteditor/krichtexteditorui.rc b/tests/krichtexteditor/krichtexteditorui.rc --- a/tests/krichtexteditor/krichtexteditorui.rc +++ b/tests/krichtexteditor/krichtexteditorui.rc @@ -1,5 +1,5 @@ - + F&ormat @@ -59,4 +59,4 @@ - + diff --git a/tests/kwindowtest.rc b/tests/kwindowtest.rc --- a/tests/kwindowtest.rc +++ b/tests/kwindowtest.rc @@ -1,5 +1,5 @@ - + @@ -56,4 +56,4 @@ - + diff --git a/tests/kxmlguitest_part.rc b/tests/kxmlguitest_part.rc --- a/tests/kxmlguitest_part.rc +++ b/tests/kxmlguitest_part.rc @@ -1,8 +1,8 @@ - + Main Toolbar - + diff --git a/tests/kxmlguitest_shell.rc b/tests/kxmlguitest_shell.rc --- a/tests/kxmlguitest_shell.rc +++ b/tests/kxmlguitest_shell.rc @@ -1,7 +1,7 @@ - + Main Toolbar - +