mirror of
https://github.com/oguzhaninan/Stacer.git
synced 2025-12-23 23:18:31 -05:00
52 lines
954 B
C++
52 lines
954 B
C++
#ifndef STARTUP_APP_H
|
|
#define STARTUP_APP_H
|
|
|
|
#include <QWidget>
|
|
#include <QDebug>
|
|
#include <Utils/file_util.h>
|
|
|
|
#include "startup_app_edit.h"
|
|
#include "startup_apps_page.h"
|
|
|
|
namespace Ui {
|
|
class StartupApp;
|
|
}
|
|
|
|
class StartupApp : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit StartupApp(QString appName, bool enabled, QString filePath, QWidget *parent = 0);
|
|
~StartupApp();
|
|
|
|
QString getAppName() const;
|
|
void setAppName(const QString &value);
|
|
|
|
bool getEnabled() const;
|
|
void setEnabled(bool value);
|
|
|
|
QString getFilePath() const;
|
|
void setFilePath(const QString &value);
|
|
|
|
private slots:
|
|
void on_startupCheck_clicked(bool);
|
|
void on_deleteAppBtn_clicked();
|
|
void on_editAppBtn_clicked();
|
|
|
|
signals:
|
|
void deleteApp();
|
|
|
|
private:
|
|
Ui::StartupApp *ui;
|
|
|
|
private:
|
|
QString appName;
|
|
QString appComment;
|
|
bool enabled;
|
|
QString filePath;
|
|
StartupAppEdit *startupAppEdit;
|
|
};
|
|
|
|
#endif // STARTUP_APP_H
|