File indexing completed on 2024-04-28 15:19:31
0001 /* This file is part of the KDE libraries 0002 SPDX-FileCopyrightText: 2006 Olivier Goffart <ogoffart at kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 #ifndef KCONFIGSKELETONTEST_H 0007 #define KCONFIGSKELETONTEST_H 0008 0009 #include <kconfigskeleton.h> 0010 0011 class KConfigSkeletonTest : public QObject 0012 { 0013 Q_OBJECT 0014 public: 0015 private Q_SLOTS: 0016 void initTestCase(); 0017 void init(); 0018 void cleanup(); 0019 void testSimple(); 0020 void testDefaults(); 0021 void testRemoveItem(); 0022 void testClear(); 0023 void testKConfigDirty(); 0024 void testSaveRead(); 0025 0026 private: 0027 KConfigSkeleton *s; 0028 KConfigSkeleton::ItemBool *itemBool; 0029 bool mMyBool; 0030 QColor mMyColor; 0031 QFont mMyFont; 0032 QString mMyString; 0033 }; 0034 0035 #endif