blob: 8c6d3aa767eac19c0555f0e799d824e624c8e488 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/* This file is part of the KDE libraries
SPDX-FileCopyrightText: 2006 Olivier Goffart <ogoffart at kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KCONFIGSKELETONTEST_H
#define KCONFIGSKELETONTEST_H
#include <kconfigskeleton.h>
class KConfigSkeletonTest : public QObject
{
Q_OBJECT
public:
private Q_SLOTS:
void initTestCase();
void init();
void cleanup();
void testSimple();
void testDefaults();
void testRemoveItem();
void testClear();
void testKConfigDirty();
void testSaveRead();
private:
KConfigSkeleton *s;
KConfigSkeleton::ItemBool *itemBool;
bool mMyBool;
QColor mMyColor;
QFont mMyFont;
QString mMyString;
};
#endif
|