#include <SambaPage.hpp>
Classes | |
| struct | SambaColumns |
Public Member Functions | |
| SambaPage () | |
| virtual | ~SambaPage ()=default |
Private Member Functions | |
| void | loadConfig () |
| void | saveConfig () |
| void | refreshUI () |
| void | onAddDir () |
| void | onRemoveDir () |
| void | onScanNow () |
Private Attributes | |
| SambaColumns | sambaCols |
| Glib::RefPtr< Gtk::ListStore > | sambaStore |
| Gtk::TreeView | sambaView |
| Gtk::Switch | switchEnable |
| Gtk::Button | btnAdd |
| Gtk::Button | btnRemove |
| Gtk::Button | btnScan |
| Gtk::Button | btnSave |
| bool | loading_ = false |
Definition at line 25 of file SambaPage.hpp.
| SambaPage::SambaPage | ( | ) |
Definition at line 66 of file SambaPage.cpp.
References _, btnAdd, btnRemove, btnSave, btnScan, SambaPage::SambaColumns::col_path, loadConfig(), loading_, onAddDir(), onRemoveDir(), onScanNow(), refreshUI(), sambaCols, sambaStore, sambaView, saveConfig(), and switchEnable.
|
virtualdefault |
|
private |
Definition at line 136 of file SambaPage.cpp.
References SambaPage::SambaColumns::col_color, SambaPage::SambaColumns::col_path, Backend::instance(), loading_, sambaCols, sambaStore, and switchEnable.
Referenced by SambaPage().
|
private |
Definition at line 190 of file SambaPage.cpp.
References _, SambaPage::SambaColumns::col_path, Backend::instance(), Backend::isValidSMB(), Backend::resolveSambaDir(), resource(), sambaCols, sambaStore, saveConfig(), Backend::saveSMBCredentials(), and Utils::show_message().
Referenced by SambaPage().
|
private |
Definition at line 319 of file SambaPage.cpp.
References sambaStore, sambaView, and saveConfig().
Referenced by SambaPage().
|
private |
Definition at line 332 of file SambaPage.cpp.
References _, Backend::get_current_scan_files(), Backend::getSambaDirs(), Backend::instance(), Backend::requestStopSambaScan(), Backend::resetSambaStop(), resource(), Backend::samba_progress_callback, and Backend::scanSambaDir().
Referenced by SambaPage().
|
private |
Definition at line 181 of file SambaPage.cpp.
References btnScan, sambaStore, and switchEnable.
Referenced by SambaPage(), and saveConfig().
|
private |
Definition at line 156 of file SambaPage.cpp.
References _, SambaPage::SambaColumns::col_path, Backend::instance(), refreshUI(), sambaCols, sambaStore, Backend::saveSambaConfig(), Utils::show_message(), and switchEnable.
Referenced by onAddDir(), onRemoveDir(), and SambaPage().
|
private |
Definition at line 45 of file SambaPage.hpp.
Referenced by SambaPage().
|
private |
Definition at line 45 of file SambaPage.hpp.
Referenced by SambaPage().
|
private |
Definition at line 45 of file SambaPage.hpp.
Referenced by SambaPage().
|
private |
Definition at line 45 of file SambaPage.hpp.
Referenced by refreshUI(), and SambaPage().
|
private |
Definition at line 47 of file SambaPage.hpp.
Referenced by loadConfig(), and SambaPage().
|
private |
Definition at line 40 of file SambaPage.hpp.
Referenced by loadConfig(), onAddDir(), SambaPage(), and saveConfig().
|
private |
Definition at line 41 of file SambaPage.hpp.
Referenced by loadConfig(), onAddDir(), onRemoveDir(), refreshUI(), SambaPage(), and saveConfig().
|
private |
Definition at line 42 of file SambaPage.hpp.
Referenced by onRemoveDir(), and SambaPage().
|
private |
Definition at line 44 of file SambaPage.hpp.
Referenced by loadConfig(), refreshUI(), SambaPage(), and saveConfig().