File indexing completed on 2024-05-19 05:49:13

0001 /*
0002     SPDX-FileCopyrightText: 2007 Nicolas Ternisien <nicolas.ternisien@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QStringList>
0010 
0011 #include "logModeConfiguration.h"
0012 
0013 #include "defaults.h"
0014 #include "ksystemlog_debug.h"
0015 
0016 #include "authenticationLogMode.h"
0017 
0018 #include "ksystemlogConfig.h"
0019 
0020 class AuthenticationConfiguration : public LogModeConfiguration
0021 {
0022     Q_OBJECT
0023 
0024 public:
0025     AuthenticationConfiguration();
0026 
0027     ~AuthenticationConfiguration() override;
0028 
0029     QString authenticationPath() const;
0030 
0031     void setAuthenticationPath(const QString &authenticationPath);
0032 
0033     QStringList warningKeywords() const;
0034 
0035     QStringList errorKeywords() const;
0036 
0037 private:
0038     QString mAuthenticationPath;
0039 
0040     QStringList mWarningKeywords;
0041     QStringList mErrorKeywords;
0042 };