#include <llfloaterpreference.h>
Collaboration diagram for LLPreferenceCore:
Public Member Functions | |
LLPreferenceCore (LLTabContainerCommon *tab_container, LLButton *default_btn) | |
~LLPreferenceCore () | |
void | apply () |
void | cancel () |
LLTabContainerCommon * | getTabContainer () |
void | setPersonalInfo (const char *visibility, BOOL im_via_email, const char *email) |
Static Public Member Functions | |
static void | onTabChanged (void *user_data, bool from_click) |
Private Attributes | |
LLTabContainerCommon * | mTabContainer |
LLPanelGeneral * | mGeneralPanel |
LLPanelInput * | mInputPanel |
LLPanelNetwork * | mNetworkPanel |
LLPanelDisplay * | mDisplayPanel |
LLPanelDisplay2 * | mDisplayPanel2 |
LLPanelDisplay3 * | mDisplayPanel3 |
LLPanelAudioPrefs * | mAudioPanel |
LLPrefsChat * | mPrefsChat |
LLPrefsVoice * | mPrefsVoice |
LLPrefsIM * | mPrefsIM |
LLPanelWeb * | mWebPanel |
LLPanelMsgs * | mMsgPanel |
LLPanelLCD * | mLCDPanel |
LLPanelDatabase * | mDBPanel |
Definition at line 62 of file llfloaterpreference.h.
LLPreferenceCore::LLPreferenceCore | ( | LLTabContainerCommon * | tab_container, | |
LLButton * | default_btn | |||
) |
Definition at line 113 of file llfloaterpreference.cpp.
References LLTabContainerCommon::addTabPanel(), llLCD::Enabled(), FALSE, LLPanel::getLabel(), LLPrefsIM::getPanel(), LLPrefsChat::getPanel(), LLControlGroup::getS32(), gSavedSettings, mAudioPanel, mDBPanel, mDisplayPanel, mDisplayPanel2, mDisplayPanel3, mGeneralPanel, mInputPanel, mLCDPanel, mMsgPanel, mNetworkPanel, mPrefsChat, mPrefsIM, mPrefsVoice, mTabContainer, mWebPanel, NULL, onTabChanged(), LLTabContainerCommon::selectTab(), and LLPanel::setDefaultBtn().
LLPreferenceCore::~LLPreferenceCore | ( | ) |
Definition at line 195 of file llfloaterpreference.cpp.
References mAudioPanel, mDisplayPanel, mDisplayPanel2, mDisplayPanel3, mGeneralPanel, mInputPanel, mMsgPanel, mNetworkPanel, mPrefsChat, mPrefsIM, mWebPanel, and NULL.
void LLPreferenceCore::apply | ( | ) |
Definition at line 257 of file llfloaterpreference.cpp.
References LLPanelLCD::apply(), LLPanelDatabase::apply(), LLPanelMsgs::apply(), LLPrefsIM::apply(), LLPrefsVoice::apply(), LLPrefsChat::apply(), LLPanelDisplay3::apply(), LLPanelDisplay2::apply(), LLPanelDisplay::apply(), LLPanelNetwork::apply(), LLPanelInput::apply(), LLPanelGeneral::apply(), llLCD::Enabled(), mDBPanel, mDisplayPanel, mDisplayPanel2, mDisplayPanel3, mGeneralPanel, mInputPanel, mLCDPanel, mMsgPanel, mNetworkPanel, mPrefsChat, mPrefsIM, and mPrefsVoice.
Referenced by LLFloaterPreference::apply().
void LLPreferenceCore::cancel | ( | ) |
Definition at line 281 of file llfloaterpreference.cpp.
References LLPanelLCD::cancel(), LLPanelDatabase::cancel(), LLPanelMsgs::cancel(), LLPrefsIM::cancel(), LLPrefsVoice::cancel(), LLPrefsChat::cancel(), LLPanelAudioPrefs::cancel(), LLPanelDisplay3::cancel(), LLPanelDisplay2::cancel(), LLPanelDisplay::cancel(), LLPanelNetwork::cancel(), LLPanelInput::cancel(), LLPanelGeneral::cancel(), llLCD::Enabled(), mAudioPanel, mDBPanel, mDisplayPanel, mDisplayPanel2, mDisplayPanel3, mGeneralPanel, mInputPanel, mLCDPanel, mMsgPanel, mNetworkPanel, mPrefsChat, mPrefsIM, and mPrefsVoice.
Referenced by LLFloaterPreference::cancel().
LLTabContainerCommon* LLPreferenceCore::getTabContainer | ( | ) | [inline] |
Definition at line 306 of file llfloaterpreference.cpp.
References gSavedSettings, and LLControlGroup::setS32().
Referenced by LLPreferenceCore().
void LLPreferenceCore::setPersonalInfo | ( | const char * | visibility, | |
BOOL | im_via_email, | |||
const char * | ||||
) |
Definition at line 314 of file llfloaterpreference.cpp.
References mPrefsIM, and LLPrefsIM::setPersonalInfo().
Referenced by LLFloaterPreference::updateUserInfo().
LLPanelAudioPrefs* LLPreferenceCore::mAudioPanel [private] |
Definition at line 89 of file llfloaterpreference.h.
Referenced by cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPanelDatabase* LLPreferenceCore::mDBPanel [private] |
Definition at line 97 of file llfloaterpreference.h.
Referenced by apply(), cancel(), and LLPreferenceCore().
LLPanelDisplay* LLPreferenceCore::mDisplayPanel [private] |
Definition at line 86 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPanelDisplay2* LLPreferenceCore::mDisplayPanel2 [private] |
Definition at line 87 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPanelDisplay3* LLPreferenceCore::mDisplayPanel3 [private] |
Definition at line 88 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPanelGeneral* LLPreferenceCore::mGeneralPanel [private] |
Definition at line 83 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPanelInput* LLPreferenceCore::mInputPanel [private] |
Definition at line 84 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPanelLCD* LLPreferenceCore::mLCDPanel [private] |
Definition at line 96 of file llfloaterpreference.h.
Referenced by apply(), cancel(), and LLPreferenceCore().
LLPanelMsgs* LLPreferenceCore::mMsgPanel [private] |
Definition at line 95 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPanelNetwork* LLPreferenceCore::mNetworkPanel [private] |
Definition at line 85 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPrefsChat* LLPreferenceCore::mPrefsChat [private] |
Definition at line 91 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPrefsIM* LLPreferenceCore::mPrefsIM [private] |
Definition at line 93 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), setPersonalInfo(), and ~LLPreferenceCore().
LLPrefsVoice* LLPreferenceCore::mPrefsVoice [private] |
Definition at line 92 of file llfloaterpreference.h.
Referenced by apply(), cancel(), and LLPreferenceCore().
Definition at line 82 of file llfloaterpreference.h.
Referenced by getTabContainer(), and LLPreferenceCore().
LLPanelWeb* LLPreferenceCore::mWebPanel [private] |
Definition at line 94 of file llfloaterpreference.h.
Referenced by LLPreferenceCore(), and ~LLPreferenceCore().