File indexing completed on 2024-12-22 05:05:25
0001 /* 0002 SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "compareloggingfile.h" 0008 #include "comparefilehelper.h" 0009 #include <QDebug> 0010 0011 CompareLoggingFile::CompareLoggingFile() = default; 0012 0013 void CompareLoggingFile::compare() 0014 { 0015 qDebug() << " mListFilePath " << mListFilePath << " mLoggingFilePath " << mLoggingFilePath; 0016 CompareFileHelper::compareFile(mListFilePath + QStringLiteral("/references/loggingfile.txt"), mLoggingFilePath); 0017 } 0018 0019 QString CompareLoggingFile::loggingFilePath() const 0020 { 0021 return mLoggingFilePath; 0022 } 0023 0024 void CompareLoggingFile::setLoggingFilePath(const QString &loggingFilePath) 0025 { 0026 mLoggingFilePath = loggingFilePath; 0027 } 0028 0029 QString CompareLoggingFile::listFilePath() const 0030 { 0031 return mListFilePath; 0032 } 0033 0034 void CompareLoggingFile::setListFilePath(const QString &listFilePath) 0035 { 0036 mListFilePath = listFilePath; 0037 }