#include <config.h>
Public Slots | |
| void | toggle () |
| virtual void | setOn (bool) |
Signals | |
| void | toggled () |
Public Member Functions | |
| ConfigState (bool init=false) | |
| bool | isOn () const |
| virtual QAction * | addTo (QMenu *w, QString menu_text) |
| operator bool () const | |
| void | set (bool) |
Protected Member Functions | |
| void | update () |
Protected Attributes | |
| bool | state |
| QAction * | item |
Friends | |
| class | Config |
| ConfigState::ConfigState | ( | bool | init = false |
) |
| QAction * ConfigState::addTo | ( | QMenu * | w, | |
| QString | menu_text | |||
| ) | [virtual] |
| bool ConfigState::isOn | ( | ) | const |
References state.
Referenced by SongSelectorLogic::toggle_temporange().
| ConfigState::operator bool | ( | ) | const [inline] |
References state.
| void ConfigState::set | ( | bool | new_state | ) |
References state.
Referenced by Config::load(), SongSelectorLogic::step_reading_indices(), and SongSelectorLogic::updateItemList().
| void ConfigState::setOn | ( | bool | new_state | ) | [virtual, slot] |
References state, toggled(), and update().
Referenced by SongSelectorLogic::timerTick(), toggle(), and SongSelectorLogic::toggle_temporange().
| void ConfigState::toggled | ( | ) | [signal] |
Referenced by setOn().
| void ConfigState::update | ( | ) | [protected] |
friend class Config [friend] |
QAction* ConfigState::item [protected] |
bool ConfigState::state [protected] |
Referenced by isOn(), Config::load(), operator bool(), set(), setOn(), toggle(), and update().
1.6.2