Warning, file /frameworks/kcontacts/autotests/langtest.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 This file is part of the KContacts framework. 0003 SPDX-FileCopyrightText: 2015-2019 Laurent Montel <montel@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef LANGTEST_H 0009 #define LANGTEST_H 0010 0011 #include <QObject> 0012 0013 class LangTest : public QObject 0014 { 0015 Q_OBJECT 0016 public: 0017 explicit LangTest(QObject *parent = nullptr); 0018 ~LangTest() override; 0019 private Q_SLOTS: 0020 void shouldHaveDefaultValue(); 0021 void shouldAssignValue(); 0022 void shouldAssignExternal(); 0023 void shouldSerialized(); 0024 void shouldEqualLanguage(); 0025 void shouldParseLanguage(); 0026 void shouldParseWithoutLanguage(); 0027 void shouldCreateVCard(); 0028 void shouldCreateVCardWithTwoLang(); 0029 void shouldCreateVCardWithParameters(); 0030 void shouldNotGenerateLangForVCard3(); 0031 }; 0032 0033 #endif // LANGTEST_H