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.
32 lines
599 B
32 lines
599 B
#ifndef NETWORKDELETER_H
|
|
#define NETWORKDELETER_H
|
|
|
|
#include <QDialog>
|
|
|
|
class 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
|