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.
37 lines
958 B
37 lines
958 B
3 years ago
|
#ifndef APPLICATIONLAUNCHERS_H
|
||
|
#define APPLICATIONLAUNCHERS_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QWidget>
|
||
|
#include <QPushButton>
|
||
|
|
||
|
class ApplicationLaunchers : QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
ApplicationLaunchers();
|
||
|
|
||
|
void launchApplication(QString fileLocation, QString appExtension);
|
||
|
|
||
|
void appendApplicationExtension(QString appExtension);
|
||
|
void removeApplicationExtension(int idx);
|
||
|
|
||
|
/* Setter Functions */
|
||
|
void setApplicationName(QString newApplicationName);
|
||
|
void setApplicationExtension(QStringList newApplicationExtensions);
|
||
|
void setApplicationLocation(QString newApplicationLocation);
|
||
|
|
||
|
/* Getter Functions */
|
||
|
QString getApplicationName();
|
||
|
QStringList getApplicationExtensions();
|
||
|
QString getSingleApplicationExtension(int idx);
|
||
|
QString getApplicationLocation();
|
||
|
|
||
|
private:
|
||
|
QString applicationName;
|
||
|
QStringList applicationExtensions;
|
||
|
QString applicationLocation;
|
||
|
};
|
||
|
|
||
|
#endif // APPLICATIONLAUNCHERS_H
|