You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
813 B
38 lines
813 B
#ifndef NETWORKDELETER_H
|
|
#define NETWORKDELETER_H
|
|
|
|
#include <QDialog>
|
|
#include <QLayout>
|
|
#include <NetworkManagerQt/Settings>
|
|
#include <NetworkManagerQt/Connection>
|
|
#include <NetworkManagerQt/ConnectionSettings>
|
|
#include <QMessageBox>
|
|
#include <QIcon>
|
|
#include <QDBusPendingReply>
|
|
#include <QDBusPendingCallWatcher>
|
|
|
|
namespace Ui {
|
|
class NetworkDeleter;
|
|
}
|
|
|
|
class NetworkDeleter : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit NetworkDeleter(QString networkName, QString networkUuidStr, QWidget *parent = nullptr);
|
|
~NetworkDeleter();
|
|
|
|
private slots:
|
|
void onCancelClicked();
|
|
void onDeleteClicked();
|
|
void deleteReplyFinished(QDBusPendingCallWatcher *watcher);
|
|
|
|
private:
|
|
Ui::NetworkDeleter *ui;
|
|
QString targetNetworkName;
|
|
QString targetNetworkUuidStr;
|
|
};
|
|
|
|
#endif // NETWORKDELETER_H
|