![]() |
LeechCraft
0.6.70-13729-g7046a9d2a7
Modular cross-platform feature rich live environment.
|
A common dialog to select storage backend. More...
#include "backendselector.h"
Public Slots | |
void | accept () |
Updates the settings manager. More... | |
void | reject () |
Restores the settings in UI. More... | |
Public Member Functions | |
BackendSelector (BaseSettingsManager *manager, QWidget *parent=0) | |
Constructs the BackendSelector. More... | |
A common dialog to select storage backend.
Currently following backends are supported:
Communication is performed via BaseSettingsManager object passed to the constructor. The following properties are used in it:
These settings are also queried when constructing the selector to use them as default ones.
Definition at line 84 of file backendselector.h.
BackendSelector::BackendSelector | ( | BaseSettingsManager * | manager, |
QWidget * | parent = 0 |
||
) |
Constructs the BackendSelector.
Constructs the BackendSelector from the given settings manager and parent widget.
[in,out] | manager | The settings manager to use to communicate with the outer world. |
[in] | parent | The parent widget. |
Definition at line 37 of file backendselector.cpp.
|
slot |
Updates the settings manager.
This function fills the settings manager with the settings entered by the user in UI.
Definition at line 78 of file backendselector.cpp.
|
slot |
Restores the settings in UI.
This function restores the settings in UI from the settings in the settings manager.
Definition at line 95 of file backendselector.cpp.