mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Correcting errors in words and their meanings. Update the Russian language. Now look better.
32 lines
549 B
C++
32 lines
549 B
C++
#ifndef API_KEY_DIALOG_H
|
|
#define API_KEY_DIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
class QPushButton;
|
|
class QLineEdit;
|
|
class QSettings;
|
|
|
|
class ApiKeyDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit ApiKeyDialog(QWidget *parent = 0);
|
|
~ApiKeyDialog();
|
|
signals:
|
|
|
|
public slots:
|
|
|
|
protected slots:
|
|
void enableAccept(const QString & text);
|
|
void saveApiKey();
|
|
|
|
protected:
|
|
QPushButton * acceptButton;
|
|
QPushButton * cancelButton;
|
|
QLineEdit * edit;
|
|
QSettings * settings;
|
|
};
|
|
|
|
#endif // API_KEY_DIALOG_H
|