The Note Binder is a Note Organizing Application with a built-in Application Launcher to compliment Note Taking applications.
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.

49 lines
1.1 KiB

#include "applicationlaunchers.h"
ApplicationLaunchers::ApplicationLaunchers()
{
}
void ApplicationLaunchers::appendApplicationExtension(QString appExtension)
{
applicationExtensions.append(appExtension);
}
void ApplicationLaunchers::removeApplicationExtension(int idx)
{
applicationExtensions.removeAt(idx);
}
/* Setter Functions */
void ApplicationLaunchers::setApplicationName(QString newApplicationName)
{
applicationName = newApplicationName;
}
void ApplicationLaunchers::setApplicationExtension(QStringList newApplicationExtensions)
{
applicationExtensions = newApplicationExtensions;
}
void ApplicationLaunchers::setApplicationLocation(QString newApplicationLocation)
{
applicationLocation = newApplicationLocation;
}
/* Getter Functions */
QString ApplicationLaunchers::getApplicationName()
{
return applicationName;
}
QStringList ApplicationLaunchers::getApplicationExtensions()
{
return applicationExtensions;
}
QString ApplicationLaunchers::getSingleApplicationExtension(int idx)
{
return applicationExtensions.at(idx);
}
QString ApplicationLaunchers::getApplicationLocation()
{
return applicationLocation;
}