Setup dirList access from settings through getter and setters
This commit is contained in:
parent
b089fcdaf6
commit
e768ae9af8
@ -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);
|
||||
|
||||
};
|
||||
};
|
||||
|
@ -63,6 +63,12 @@ SettingsWindow::~SettingsWindow()
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// functions
|
||||
|
||||
QString SettingsWindow::getDirList()
|
||||
{
|
||||
return SettingsManager::getInstance()->getListOfDirs();
|
||||
}
|
||||
|
||||
|
||||
void SettingsWindow::setupConnections()
|
||||
{
|
||||
// light off
|
||||
|
Loading…
Reference in New Issue
Block a user