File indexing completed on 2024-05-05 05:56:58
0001 /* 0002 SPDX-FileCopyrightText: 2008 Eike Hein <hein@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #ifndef FIRSTRUNDIALOG_H 0008 #define FIRSTRUNDIALOG_H 0009 0010 #include <QDialog> 0011 0012 class MainWindow; 0013 class Ui_FirstRunDialog; 0014 0015 class FirstRunDialog : public QDialog 0016 { 0017 Q_OBJECT 0018 0019 public: 0020 explicit FirstRunDialog(MainWindow *mainWindow); 0021 ~FirstRunDialog(); 0022 0023 QKeySequence keySequence() 0024 { 0025 return m_keySequence; 0026 } 0027 0028 private Q_SLOTS: 0029 void validateKeySequence(const QKeySequence &keySequence); 0030 0031 private: 0032 void initKeyButton(); 0033 0034 Ui_FirstRunDialog *m_ui; 0035 MainWindow *m_mainWindow; 0036 0037 QKeySequence m_keySequence; 0038 }; 0039 0040 #endif