| libglom-1.32
    1.31.6
    | 
There is one instance per document. More...
| Public Types | |
| enum | userlevels { userlevels::OPERATOR, userlevels::DEVELOPER } | 
| typedef sigc::signal< void(userlevels)> | type_signal_userlevel_changed | 
| Public Member Functions | |
| AppState () | |
| userlevels | get_userlevel () const | 
| Returns whether we are in developer mode.  More... | |
| void | set_userlevel (userlevels value) | 
| This will cause the userlevel_changed signal to be emitted.  More... | |
| void | emit_userlevel_changed () | 
| Use this to set the initial UI state:  More... | |
| type_signal_userlevel_changed | signal_userlevel_changed () | 
| The user interface should handle this signal and alter itself accordingly.  More... | |
There is one instance per document.
This is for storing volatile application state. It is not for configuration that should be the same after the application is closed and restarted - use gconf for that.
| typedef sigc::signal<void(userlevels)> Glom::AppState::type_signal_userlevel_changed | 
| 
 | strong | 
| Glom::AppState::AppState | ( | ) | 
| void Glom::AppState::emit_userlevel_changed | ( | ) | 
Use this to set the initial UI state:
| userlevels Glom::AppState::get_userlevel | ( | ) | const | 
Returns whether we are in developer mode.
Some functionality will be deactivated when not in developer mode.
| void Glom::AppState::set_userlevel | ( | userlevels | value | ) | 
This will cause the userlevel_changed signal to be emitted.
| type_signal_userlevel_changed Glom::AppState::signal_userlevel_changed | ( | ) | 
The user interface should handle this signal and alter itself accordingly.
 1.8.9.1
 1.8.9.1