You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
721 B
37 lines
721 B
/* 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
|
|
|