mirror of
				https://github.com/YACReader/yacreader
				synced 2025-11-04 01:05:06 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			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
 |