theshell/shell/location/locationrequestdialog.h
2018-05-15 23:24:22 +10:00

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