File indexing completed on 2024-06-23 04:40:14
0001 /* 0002 SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 #include <QObject> 0009 0010 class AutoCorrectionTextEditTest : public QObject 0011 { 0012 Q_OBJECT 0013 public: 0014 AutoCorrectionTextEditTest(); 0015 private Q_SLOTS: 0016 void shouldNotAutocorrectWhenDisabled(); 0017 void shouldReplaceWordWhenExactText(); 0018 void shouldNotReplaceWordWhenInexactText(); 0019 void shouldReplaceWhenPressEnter(); 0020 void shouldReplaceWhenPressReturn(); 0021 };