19 #ifndef APPLICATIONLIST_H 
   20 #define APPLICATIONLIST_H 
  119     bool findDefaultWindowsEditor();
 
List of applications user has specified to open errors with.
 
int mDefaultApplicationIndex
Index of the default application.
 
QList< Application > mApplications
List of applications.
 
bool loadSettings()
Load all applications.
 
void copy(const ApplicationList *list)
Remove all applications from this list and copy all applications from list given as a parameter.
 
void setDefault(const int index)
Set application as default application.
 
void clear()
Clear the list.
 
void saveSettings() const
Save all applications.
 
ApplicationList(QObject *parent=nullptr)
 
int getApplicationCount() const
Get the amount of applications in the list.
 
const Application & getApplication(const int index) const
Get specific application's name.
 
void removeApplication(const int index)
Remove an application from the list.
 
~ApplicationList() override
 
void addApplication(const Application &app)
Add a new application.
 
int getDefaultApplication() const
Return the default application.
 
bool checkAndAddApplication(const QString &appPath, const QString &name, const QString ¶meters)
 
A class containing information of the application to execute.