Setup dirList access from settings through getter and setters

This commit is contained in:
Maxim Stewart 2017-05-30 21:38:51 -05:00
parent b089fcdaf6
commit e768ae9af8
2 changed files with 8 additions and 1 deletions

View File

@ -11,6 +11,7 @@ class SettingsWindow : public QWidget
public:
SettingsWindow(QWidget * parent = Q_NULLPTR);
~SettingsWindow();
QString getDirList();
private:
Ui::SettingsWindow* ui;
@ -35,4 +36,4 @@ signals:
void sendZommSpeed(int percent);
void changeLightType(int value);
};
};

View File

@ -63,6 +63,12 @@ SettingsWindow::~SettingsWindow()
/////////////////////////////////////////////////////////////////////////
// functions
QString SettingsWindow::getDirList()
{
return SettingsManager::getInstance()->getListOfDirs();
}
void SettingsWindow::setupConnections()
{
// light off