| 8 | class QSettings; |
| 9 | |
| 10 | class ApiKeyDialog : public QDialog |
| 11 | { |
| 12 | Q_OBJECT |
| 13 | public: |
| 14 | explicit ApiKeyDialog(QWidget *parent = nullptr); |
| 15 | ~ApiKeyDialog() override; |
| 16 | signals: |
| 17 | |
| 18 | public slots: |
| 19 | |
| 20 | protected slots: |
| 21 | void enableAccept(const QString &text); |
| 22 | void saveApiKey(); |
| 23 | |
| 24 | protected: |
| 25 | QPushButton *acceptButton; |
| 26 | QPushButton *cancelButton; |
| 27 | QLineEdit *edit; |
| 28 | QSettings *settings; |
| 29 | }; |
| 30 | |
| 31 | #endif // API_KEY_DIALOG_H |
nothing calls this directly
no outgoing calls
no test coverage detected