mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-26 23:05:25 +00:00
a40c1ce4bf
* Add update check(#684)
32 lines
598 B
C++
32 lines
598 B
C++
#ifndef ABOUTDIALOG_H
|
|
#define ABOUTDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <memory>
|
|
#include <QtNetwork/QNetworkReply>
|
|
|
|
namespace Ui {
|
|
class AboutDialog;
|
|
}
|
|
|
|
class AboutDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit AboutDialog(QWidget *parent = nullptr);
|
|
~AboutDialog();
|
|
|
|
private slots:
|
|
void on_buttonBox_rejected();
|
|
void on_showVersionButton_clicked();
|
|
void on_showPluginsButton_clicked();
|
|
void on_checkForUpdatesButton_clicked();
|
|
void serveVersionCheckReply(QNetworkReply *reply);
|
|
|
|
private:
|
|
std::unique_ptr<Ui::AboutDialog> ui;
|
|
};
|
|
|
|
#endif // ABOUTDIALOG_H
|