File indexing completed on 2024-04-28 15:21:51

0001 /*  This file is part of the KDE project
0002     Copyright (C) 2010 Andreas Hartmetz <ahartmetz@gmail.com>
0003 
0004     This library is free software; you can redistribute it and/or
0005     modify it under the terms of the GNU Library General Public
0006     License as published by the Free Software Foundation; either
0007     version 2 of the License, or (at your option) any later version.
0008 
0009     This program is distributed in the hope that it will be useful,
0010     but WITHOUT ANY WARRANTY; without even the implied warranty of
0011     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0012     GNU General Public License for more details.
0013 
0014     You should have received a copy of the GNU General Public License
0015     along with this program; if not, write to the Free Software
0016     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
0017     02110-1301, USA.
0018 */
0019 
0020 #ifndef KCMSSL_H
0021 #define KCMSSL_H
0022 
0023 #include <kcmodule.h>
0024 
0025 class QTabWidget;
0026 class CaCertificatesPage;
0027 
0028 class KcmSsl : public KCModule
0029 {
0030     Q_OBJECT
0031 public:
0032     KcmSsl(QWidget *parent, const QVariantList &);
0033 
0034     void load() override;
0035     void save() override;
0036     void defaults() override;
0037 
0038 private Q_SLOTS:
0039     void pageChanged(bool isChanged);
0040 
0041 private:
0042     QTabWidget *m_tabs;
0043     CaCertificatesPage *m_caCertificatesPage;
0044 };
0045 
0046 #endif