CQtDeployer/Deploy/distromodule.cpp

30 lines
560 B
C++
Raw Normal View History

2019-12-13 23:05:07 +03:00
#include "distromodule.h"
DistroModule::DistroModule() {
}
QSet<QString> DistroModule::targets() const {
return _targets;
}
void DistroModule::setTargets(const QSet<QString> &targets) {
_targets = targets;
}
2019-12-14 00:03:43 +03:00
void DistroModule::addTarget(const QString &target) {
2019-12-13 23:05:07 +03:00
_targets.insert(target);
}
2019-12-15 18:30:24 +03:00
QSet<QString> DistroModule::qmlInput() const {
return _qmlInput;
}
void DistroModule::setQmlInput(const QSet<QString> &qmlInput) {
_qmlInput = qmlInput;
}
void DistroModule::addQmlInput(const QString &target) {
_qmlInput.insert(target);
}