#ifndef ADDAPPLICATIONLAUNCHER_H #define ADDAPPLICATIONLAUNCHER_H #include #include #include "applicationlaunchers.h" namespace Ui { class AddApplicationLauncher; } class AddApplicationLauncher : public QDialog { Q_OBJECT public: explicit AddApplicationLauncher(QWidget *parent = nullptr); AddApplicationLauncher(ApplicationLaunchers* launcher, QWidget *parent = nullptr); ~AddApplicationLauncher(); ApplicationLaunchers* applicationLauncher; void init(); void appendApplicationExtension(QString applicationExtensionName); void removeApplicationExtension(); /* Setter Functions */ void setApplicationLauncher(ApplicationLaunchers* newLauncher); /* Getter Functions */ ApplicationLaunchers* getApplicationLauncher(); private slots: void on_selectApplicationLocation_clicked(); void on_addExtension_Button_clicked(); void on_removeExtension_Button_clicked(); void on_buttonBox_accepted(); void on_buttonBox_rejected(); private: Ui::AddApplicationLauncher *ui; }; #endif // ADDAPPLICATIONLAUNCHER_H