#ifndef UNFILEDNOTES_H #define UNFILEDNOTES_H #include #include "applicationlaunchers.h" namespace Ui { class UnfiledNotes; } class UnfiledNotes : public QDialog { Q_OBJECT public: explicit UnfiledNotes(QList appLaunchers, QWidget *parent = nullptr); ~UnfiledNotes(); void init(); void setApplicationLauncher(QList appLaunchers); QStringList getExtensionList(); void setExtension(int idx); void setExtensionList(QStringList newExtensionList); ApplicationLaunchers* getApplicationLauncherAt(int idx); QString getExtension(); private slots: void on_buttonBox_accepted(); void on_buttonBox_rejected(); private: Ui::UnfiledNotes *ui; QList applicationLaunchers; QStringList extensionList; QString extension; }; #endif // UNFILEDNOTES_H