File indexing completed on 2024-04-28 15:40:13
0001 // SPDX-FileCopyrightText: 2003-2022 Jesper K. Pedersen <blackie@kde.org> 0002 // 0003 // SPDX-License-Identifier: GPL-2.0-or-later 0004 0005 #ifndef TOKENEDITOR_H 0006 #define TOKENEDITOR_H 0007 0008 #include <QDialog> 0009 #include <QList> 0010 0011 class QCheckBox; 0012 0013 namespace MainWindow 0014 { 0015 0016 class TokenEditor : public QDialog 0017 { 0018 Q_OBJECT 0019 0020 public: 0021 explicit TokenEditor(QWidget *parent); 0022 virtual void show(); 0023 static QStringList tokensInUse(); 0024 0025 protected Q_SLOTS: 0026 void selectAll(); 0027 void selectNone(); 0028 void accept() override; 0029 0030 private: 0031 QList<QCheckBox *> m_checkBoxes; 0032 }; 0033 } 0034 0035 #endif /* TOKENEDITOR_H */ 0036 0037 // vi:expandtab:tabstop=4 shiftwidth=4: