File indexing completed on 2024-04-21 04:56:59

0001 /* This file is part of the KDE project
0002 
0003    Copyright (C) 2008 Urs Wolfer <uwolfer @ kde.org>
0004 
0005    This program is free software; you can redistribute it and/or
0006    modify it under the terms of the GNU General Public
0007    License as published by the Free Software Foundation; either
0008    version 2 of the License, or (at your option) any later version.
0009 */
0010 
0011 #ifndef DLGWEBINTERFACE_H
0012 #define DLGWEBINTERFACE_H
0013 
0014 #include <QWidget>
0015 
0016 #include "ui_dlgwebinterface.h"
0017 
0018 namespace KWallet
0019 {
0020 class Wallet;
0021 }
0022 
0023 class DlgWebinterface : public QWidget, public Ui::DlgWebinterface
0024 {
0025     Q_OBJECT
0026 
0027 public:
0028     DlgWebinterface(QDialog *parent = nullptr);
0029     ~DlgWebinterface() override;
0030 
0031 Q_SIGNALS:
0032     void changed();
0033     void saved();
0034 
0035 private Q_SLOTS:
0036     void readConfig();
0037     void saveSettings();
0038     void walletOpened(bool);
0039 
0040 private:
0041     KWallet::Wallet *m_wallet = nullptr;
0042 };
0043 
0044 #endif