File indexing completed on 2024-12-01 12:40:34
0001 /* 0002 This file is part of the KDE libraries 0003 SPDX-FileCopyrightText: 2007 David Faure <faure@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef KXMLGUI_UNITTEST_H 0009 #define KXMLGUI_UNITTEST_H 0010 0011 #include <QObject> 0012 0013 class KXmlGui_UnitTest : public QObject 0014 { 0015 Q_OBJECT 0016 0017 private Q_SLOTS: 0018 void initTestCase(); 0019 void testFindVersionNumber_data(); 0020 void testFindVersionNumber(); 0021 void testVersionHandlerSameVersion(); 0022 void testVersionHandlerNewVersionNothingKept(); 0023 void testVersionHandlerNewVersionUserChanges(); 0024 void testPartMerging(); 0025 void testPartMergingSettings(); 0026 void testUiStandardsMerging_data(); 0027 void testUiStandardsMerging(); 0028 void testActionListAndSeparator(); 0029 void testHiddenToolBar(); 0030 void testCustomPlaceToolBar(); 0031 void testDeletedContainers(); 0032 void testAutoSaveSettings(); 0033 void testXMLFileReplacement(); 0034 void testTopLevelSeparator(); 0035 void testMenuNames(); 0036 void testClientDestruction(); 0037 void testMenusNoXmlFile(); 0038 void testShortcuts(); 0039 void testPopupMenuParent(); 0040 void testSpecificApplicationLanguageQLocale(); 0041 void testSingleModifierQKeySequenceEndsWithPlus(); 0042 void testSaveShortcutsAndRefresh(); 0043 }; 0044 0045 #endif