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:
|
public:
|
||||||
SettingsWindow(QWidget * parent = Q_NULLPTR);
|
SettingsWindow(QWidget * parent = Q_NULLPTR);
|
||||||
~SettingsWindow();
|
~SettingsWindow();
|
||||||
|
QString getDirList();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::SettingsWindow* ui;
|
Ui::SettingsWindow* ui;
|
||||||
|
|
|
@ -63,6 +63,12 @@ SettingsWindow::~SettingsWindow()
|
||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
// functions
|
// functions
|
||||||
|
|
||||||
|
QString SettingsWindow::getDirList()
|
||||||
|
{
|
||||||
|
return SettingsManager::getInstance()->getListOfDirs();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void SettingsWindow::setupConnections()
|
void SettingsWindow::setupConnections()
|
||||||
{
|
{
|
||||||
// light off
|
// light off
|
||||||
|
|
Loading…
Reference in New Issue