#include <llpanelnetwork.h>
Inheritance diagram for LLPanelNetwork:
Public Member Functions | |
LLPanelNetwork () | |
virtual | ~LLPanelNetwork () |
virtual BOOL | postBuild () |
virtual void | refresh () |
virtual void | apply () |
virtual void | cancel () |
Static Private Member Functions | |
static void | onClickClearCache (void *) |
static void | onClickSetCache (void *) |
static void | onClickResetCache (void *) |
static void | onCommitPort (LLUICtrl *ctrl, void *) |
Private Attributes | |
U32 | mCacheSetting |
F32 | mBandwidthBPS |
BOOL | mConnectionPortEnabled |
U32 | mConnectionPort |
Definition at line 45 of file llpanelnetwork.h.
LLPanelNetwork::LLPanelNetwork | ( | ) |
Definition at line 59 of file llpanelnetwork.cpp.
References LLUICtrlFactory::buildPanel(), and gUICtrlFactory.
LLPanelNetwork::~LLPanelNetwork | ( | ) | [virtual] |
Definition at line 83 of file llpanelnetwork.cpp.
void LLPanelNetwork::apply | ( | ) | [virtual] |
void LLPanelNetwork::cancel | ( | ) | [virtual] |
Definition at line 103 of file llpanelnetwork.cpp.
References gSavedSettings, mBandwidthBPS, mCacheSetting, mConnectionPort, mConnectionPortEnabled, LLControlGroup::setBOOL(), LLControlGroup::setF32(), and LLControlGroup::setU32().
Referenced by LLPreferenceCore::cancel().
Definition at line 112 of file llpanelnetwork.cpp.
References LLViewerWindow::alertXml(), gSavedSettings, gViewerWindow, LLControlGroup::setBOOL(), and TRUE.
Referenced by postBuild().
Definition at line 148 of file llpanelnetwork.cpp.
References LLViewerWindow::alertXml(), gDirUtilp, LLDir::getCacheDir(), LLControlGroup::getString(), gSavedSettings, gViewerWindow, and LLControlGroup::setString().
Referenced by postBuild().
Definition at line 120 of file llpanelnetwork.cpp.
References LLViewerWindow::alertXml(), gDirUtilp, LLDir::getCacheDir(), LLDirPicker::getDir(), LLDirPicker::getDirName(), LLControlGroup::getString(), gSavedSettings, gViewerWindow, LLDirPicker::instance(), and LLControlGroup::setString().
Referenced by postBuild().
Definition at line 161 of file llpanelnetwork.cpp.
References LLViewerWindow::alertXml(), LLCheckBoxCtrl::get(), and gViewerWindow.
Referenced by postBuild().
BOOL LLPanelNetwork::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 64 of file llpanelnetwork.cpp.
References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetEnabled(), LLPanel::childSetText(), gDirUtilp, LLControlGroup::getBOOL(), LLDir::getExpandedFilename(), gSavedSettings, LL_PATH_CACHE, onClickClearCache(), onClickResetCache(), onClickSetCache(), onCommitPort(), refresh(), and TRUE.
void LLPanelNetwork::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 93 of file llpanelnetwork.cpp.
References LLControlGroup::getBOOL(), LLControlGroup::getF32(), LLControlGroup::getU32(), gSavedSettings, mBandwidthBPS, mCacheSetting, mConnectionPort, mConnectionPortEnabled, and LLPanel::refresh().
Referenced by postBuild().
F32 LLPanelNetwork::mBandwidthBPS [private] |
U32 LLPanelNetwork::mCacheSetting [private] |
U32 LLPanelNetwork::mConnectionPort [private] |
BOOL LLPanelNetwork::mConnectionPortEnabled [private] |