mirror of
https://github.com/vicr123/theshell.git
synced 2025-01-23 20:22:27 -05:00
35 lines
692 B
C++
35 lines
692 B
C++
#ifndef LOCATIONREQUESTDIALOG_H
|
|
#define LOCATIONREQUESTDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QIcon>
|
|
#include <QLabel>
|
|
|
|
namespace Ui {
|
|
class LocationRequestDialog;
|
|
}
|
|
|
|
class LocationRequestDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit LocationRequestDialog(QWidget *parent = 0);
|
|
~LocationRequestDialog();
|
|
|
|
public slots:
|
|
void setAppName(QString appName);
|
|
void setIcon(QIcon icon);
|
|
void setReason(QString reason);
|
|
|
|
private slots:
|
|
void on_denyButton_clicked();
|
|
|
|
void on_allowButton_clicked();
|
|
|
|
private:
|
|
Ui::LocationRequestDialog *ui;
|
|
QString appName;
|
|
};
|
|
|
|
#endif // LOCATIONREQUESTDIALOG_H
|