File indexing completed on 2024-04-28 15:34:47
0001 /* -*- C++ -*- 0002 Helper class for unit tests. 0003 0004 SPDX-FileCopyrightText: 2005-2013 Mirko Boehm <mirko@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #ifndef APPENDCHARACTERANDVERIFYJOB_H 0010 #define APPENDCHARACTERANDVERIFYJOB_H 0011 0012 #include <AppendCharacterJob.h> 0013 0014 class AppendCharacterAndVerifyJob : public AppendCharacterJob 0015 { 0016 public: 0017 AppendCharacterAndVerifyJob(); 0018 void setValues(QChar character, QString *stringref, const QString &expected); 0019 void run(ThreadWeaver::JobPointer, ThreadWeaver::Thread *) override; 0020 0021 private: 0022 QString m_expected; 0023 }; 0024 0025 #endif // APPENDCHARACTERANDVERIFYJOB_H