#include <llpanelclassified.h>
Inheritance diagram for LLPanelClassified:
Definition at line 57 of file llpanelclassified.h.
typedef std::list<LLPanelClassified*> LLPanelClassified::panel_list_t [protected] |
Definition at line 169 of file llpanelclassified.h.
LLPanelClassified::LLPanelClassified | ( | BOOL | in_finder, | |
bool | from_search = false | |||
) |
Definition at line 105 of file llpanelclassified.cpp.
References LLDispatcher::addHandler(), LLUICtrlFactory::buildPanel(), gGenericDispatcher, gUICtrlFactory, mInFinder, sAllPanels, and sClassifiedClickThrough.
LLPanelClassified::~LLPanelClassified | ( | ) |
void LLPanelClassified::apply | ( | ) |
Definition at line 284 of file llpanelclassified.cpp.
References checkDirty(), mPaidFor, and sendClassifiedInfoUpdate().
Definition at line 825 of file llpanelclassified.cpp.
Referenced by callbackGotPriceForListing(), and onClickUpdate().
void LLPanelClassified::callbackGotPriceForListing | ( | S32 | option, | |
LLString | text, | |||
void * | data | |||
) | [static] |
Definition at line 759 of file llpanelclassified.cpp.
References LLViewerWindow::alertXml(), callbackConfirmPublish(), gViewerWindow, llformat(), MINIMUM_PRICE_FOR_LISTING, NULL, and S32.
Referenced by onClickUpdate().
BOOL LLPanelClassified::canClose | ( | ) |
Definition at line 330 of file llpanelclassified.cpp.
References checkDirty(), FALSE, LLLineEditor::getText(), mForceClose, mNameEditor, saveCallback(), LLAlertDialog::showXml(), and TRUE.
BOOL LLPanelClassified::checkDirty | ( | ) | [protected] |
Definition at line 902 of file llpanelclassified.cpp.
References FALSE, LLCheckBoxCtrl::isDirty(), LLComboBox::isDirty(), LLTextEditor::isDirty(), LLLineEditor::isDirty(), LLTextureCtrl::isDirty(), mAutoRenewCheck, mCategoryCombo, mDescEditor, mDirty, mLocationChanged, mLocationEditor, mMatureCheck, mNameEditor, mSnapshotCtrl, and TRUE.
Referenced by apply(), canClose(), and refresh().
Definition at line 789 of file llpanelclassified.cpp.
References LLView::getParent(), LLLineEditor::getText(), mAutoRenewCheck, mCategoryCombo, mDescEditor, mInFinder, mLocationChanged, mLocationEditor, mMatureCheck, mNameEditor, mSnapshotCtrl, LLCheckBoxCtrl::resetDirty(), LLComboBox::resetDirty(), LLUICtrl::resetDirty(), LLLineEditor::resetDirty(), LLTextureCtrl::resetDirty(), sendClassifiedInfoUpdate(), and tab.
void LLPanelClassified::draw | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 643 of file llpanelclassified.cpp.
References LLPanel::draw(), LLView::getVisible(), and refresh().
const LLUUID& LLPanelClassified::getClassifiedID | ( | ) | const [inline] |
Definition at line 94 of file llpanelclassified.h.
References mClassifiedID.
Referenced by LLPanelAvatarClassified::callbackDelete(), and LLPanelDirBrowser::newClassified().
std::string LLPanelClassified::getClassifiedName | ( | ) |
Definition at line 431 of file llpanelclassified.cpp.
References LLLineEditor::getText(), and mNameEditor.
Referenced by LLPanelAvatarClassified::callbackNew(), LLPanelDirBrowser::newClassified(), and LLPanelAvatarClassified::onClickDelete().
void LLPanelClassified::initNewClassified | ( | ) |
Definition at line 342 of file llpanelclassified.cpp.
References LLPanel::childGetText(), FALSE, gAgent, LLUUID::generate(), LLViewerParcelMgr::getAgentParcel(), LLAgent::getID(), LLParcel::getName(), LLAgent::getPositionGlobal(), LLParcel::getSnapshotID(), gParcelMgr, mCategoryCombo, mClassifiedID, mCreatorID, mNameEditor, mPaidFor, mPosGlobal, mSnapshotCtrl, mUpdateBtn, LLComboBox::setCurrentByIndex(), LLTextureCtrl::setImageAssetID(), LLButton::setLabel(), and LLLineEditor::setText().
Referenced by LLPanelAvatarClassified::callbackNew(), and LLPanelDirBrowser::newClassified().
void LLPanelClassified::markForServerRequest | ( | ) |
Definition at line 425 of file llpanelclassified.cpp.
References FALSE, and mDataRequested.
Referenced by LLPanelAvatarClassified::processAvatarClassifiedReply().
Definition at line 847 of file llpanelclassified.cpp.
References gFloaterWorldMap, NULL, LLFloaterWorldMap::show(), LLFloaterWorldMap::trackLocation(), and TRUE.
Referenced by postBuild().
Definition at line 857 of file llpanelclassified.cpp.
References LLFloaterAvatarInfo::showFromDirectory().
Referenced by postBuild().
Definition at line 874 of file llpanelclassified.cpp.
References gAgent, LLAgent::getPositionGlobal(), llformat(), llround(), NULL, onCommitAny(), REGION_WIDTH_UNITS, S32, VX, VY, and VZ.
Referenced by postBuild().
Definition at line 832 of file llpanelclassified.cpp.
References gAgent, gFloaterWorldMap, LLAgent::teleportViaLocation(), and LLFloaterWorldMap::trackLocation().
Referenced by postBuild().
Definition at line 733 of file llpanelclassified.cpp.
References callbackConfirmPublish(), callbackGotPriceForListing(), NULL, and LLFloaterPriceForListing::show().
Referenced by postBuild().
Definition at line 918 of file llpanelclassified.cpp.
Referenced by onClickSet(), onFocusReceived(), and postBuild().
BOOL LLPanelClassified::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 182 of file llpanelclassified.cpp.
References LLComboBox::add(), ADD_BOTTOM, DB_PARCEL_NAME_LEN, FALSE, gAgent, LLUICtrlFactory::getButtonByName(), LLUICtrlFactory::getCheckBoxByName(), LLUICtrlFactory::getComboBoxByName(), LLUICtrlFactory::getLineEditorByName(), LLView::getRect(), LLUICtrlFactory::getTextBoxByName(), LLUICtrlFactory::getTextEditorByName(), LLViewerUICtrlFactory::getTexturePickerByName(), LLAgent::isTeen(), mAutoRenewCheck, mCategoryCombo, mClickThroughText, mDescEditor, mInFinder, mLocationEditor, mMapBtn, mMatureCheck, mNameEditor, mProfileBtn, mSetBtn, mSnapshotCtrl, mSnapshotSize, mTeleportBtn, mUpdateBtn, onClickMap(), onClickProfile(), onClickSet(), onClickTeleport(), onClickUpdate(), onCommitAny(), LLUICtrl::onFocusReceived(), LLLineEditor::prevalidateASCII(), LLClassifiedInfo::sCategories, LLUICtrl::setCallbackUserData(), LLButton::setClickedCallback(), LLUICtrl::setCommitCallback(), LLTextEditor::setCommitOnFocusLost(), LLLineEditor::setCommitOnFocusLost(), LLComboBox::setCurrentByIndex(), LLUICtrl::setFocusReceivedCallback(), LLLineEditor::setMaxTextLength(), LLLineEditor::setPrevalidate(), LLTextEditor::setTabToNextField(), LLView::setVisible(), and TRUE.
void LLPanelClassified::processClassifiedInfoReply | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 517 of file llpanelclassified.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Category, _PREHASH_ClassifiedFlags, _PREHASH_ClassifiedID, _PREHASH_CreationDate, _PREHASH_CreatorID, _PREHASH_Data, _PREHASH_Desc, _PREHASH_Name, _PREHASH_ParcelID, _PREHASH_ParcelName, _PREHASH_PosGlobal, _PREHASH_SimName, _PREHASH_SnapshotID, DB_PARCEL_NAME_SIZE, DB_PICK_DESC_SIZE, gAgent, LLAgent::getID(), LLMessageSystem::getS32(), LLMessageSystem::getStringFast(), LLMessageSystem::getU32(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), LLMessageSystem::getVector3dFast(), is_cf_auto_renew(), is_cf_mature(), lldebugs, llendl, llformat(), llround(), llwarns, LLVector3d::mdV, REGION_WIDTH_UNITS, S32, sAllPanels, tut::tm(), TRUE, VX, VY, and VZ.
Referenced by register_viewer_callbacks().
void LLPanelClassified::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 654 of file llpanelclassified.cpp.
References checkDirty(), FALSE, gAgent, LLAgent::getID(), LLAgent::isGodlike(), mAutoRenewCheck, mCategoryCombo, mClickThroughText, mCreatorID, mDataRequested, mDescEditor, mInFinder, mMatureCheck, mNameEditor, mSetBtn, mSnapshotCtrl, mSnapshotSize, mUpdateBtn, sendClassifiedInfoRequest(), LLView::setEnabled(), LLCheckBoxCtrl::setEnabled(), LLComboBox::setEnabled(), LLTextEditor::setEnabled(), LLLineEditor::setEnabled(), LLTextureCtrl::setEnabled(), LLView::setRect(), and LLView::setVisible().
Referenced by draw().
void LLPanelClassified::reset | ( | ) |
Definition at line 164 of file llpanelclassified.cpp.
References LLPanel::clearCtrls(), LLVector3d::clearVec(), FALSE, mClassifiedID, mCreatorID, mDataRequested, mDirty, mPaidFor, mParcelID, mPosGlobal, LLUUID::setNull(), and TRUE.
Referenced by LLPanelDirBrowser::newClassified().
Definition at line 296 of file llpanelclassified.cpp.
References app_abort_quit(), f, LLView::getParent(), LLView::getWidgetType(), and WIDGET_TYPE_FLOATER.
Referenced by canClose().
void LLPanelClassified::sendClassifiedClickMessage | ( | const char * | type | ) | [protected] |
Definition at line 935 of file llpanelclassified.cpp.
References LLUUID::asString(), gAgent, LLViewerRegion::getCapability(), LLAgent::getRegion(), llendl, llinfos, mClassifiedID, mFromSearch, LLHTTPClient::post(), and send_generic_message().
void LLPanelClassified::sendClassifiedInfoRequest | ( | ) |
Definition at line 437 of file llpanelclassified.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ClassifiedID, _PREHASH_ClassifiedInfoRequest, _PREHASH_Data, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), gAgent, LLViewerRegion::getCapability(), LLAgent::getID(), LLAgent::getRegion(), LLAgent::getSessionID(), gMessageSystem, llendl, llinfos, mClassifiedID, mDataRequested, mRequestedID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLHTTPClient::post(), LLAgent::sendReliableMessage(), and TRUE.
Referenced by LLFloaterClassifiedInfo::displayClassifiedInfo(), refresh(), and LLPanelDirBrowser::showDetailPanel().
void LLPanelClassified::sendClassifiedInfoUpdate | ( | ) |
Definition at line 469 of file llpanelclassified.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Category, _PREHASH_ClassifiedFlags, _PREHASH_ClassifiedID, _PREHASH_ClassifiedInfoUpdate, _PREHASH_Data, _PREHASH_Desc, _PREHASH_Name, _PREHASH_ParcelID, _PREHASH_ParentEstate, _PREHASH_PosGlobal, _PREHASH_SessionID, _PREHASH_SnapshotID, LLMessageSystem::addS32(), LLMessageSystem::addStringFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3dFast(), FALSE, gAgent, LLUUID::generate(), LLCheckBoxCtrl::get(), LLComboBox::getCurrentIndex(), LLAgent::getID(), LLTextureCtrl::getImageAssetID(), LLAgent::getSessionID(), LLTextEditor::getText(), LLLineEditor::getText(), gMessageSystem, LLUUID::isNull(), mAutoRenewCheck, mCategoryCombo, mClassifiedID, mDescEditor, mDirty, mMatureCheck, mNameEditor, mParcelID, mPosGlobal, mPriceForListing, mSnapshotCtrl, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), pack_classified_flags(), and LLAgent::sendReliableMessage().
Referenced by apply(), and confirmPublish().
Definition at line 374 of file llpanelclassified.cpp.
References mClassifiedID.
Referenced by LLFloaterClassifiedInfo::displayClassifiedInfo(), LLPanelAvatarClassified::processAvatarClassifiedReply(), and LLPanelDirBrowser::showDetailPanel().
void LLPanelClassified::setClickThrough | ( | const LLUUID & | classified_id, | |
S32 | teleport, | |||
S32 | map, | |||
S32 | profile, | |||
bool | from_new_table | |||
) | [static] |
Definition at line 380 of file llpanelclassified.cpp.
References llformat(), and sAllPanels.
Referenced by LLDispatchClassifiedClickThrough::operator()(), and LLClassifiedStatsResponder::result().
void LLPanelClassified::setClickThroughText | ( | const std::string & | text | ) |
BOOL LLPanelClassified::titleIsValid | ( | ) |
Definition at line 265 of file llpanelclassified.cpp.
References LLViewerWindow::alertXml(), FALSE, LLLineEditor::getText(), gViewerWindow, mNameEditor, and TRUE.
Referenced by LLPanelAvatarClassified::titleIsValid().
LLCheckBoxCtrl* LLPanelClassified::mAutoRenewCheck [protected] |
Definition at line 157 of file llpanelclassified.h.
Referenced by checkDirty(), confirmPublish(), postBuild(), refresh(), and sendClassifiedInfoUpdate().
LLComboBox* LLPanelClassified::mCategoryCombo [protected] |
Definition at line 155 of file llpanelclassified.h.
Referenced by checkDirty(), confirmPublish(), initNewClassified(), postBuild(), refresh(), and sendClassifiedInfoUpdate().
LLUUID LLPanelClassified::mClassifiedID [protected] |
Definition at line 126 of file llpanelclassified.h.
Referenced by getClassifiedID(), initNewClassified(), reset(), sendClassifiedClickMessage(), sendClassifiedInfoRequest(), sendClassifiedInfoUpdate(), and setClassifiedID().
LLTextBox* LLPanelClassified::mClickThroughText [protected] |
LLUUID LLPanelClassified::mCreatorID [protected] |
Definition at line 128 of file llpanelclassified.h.
Referenced by initNewClassified(), refresh(), and reset().
BOOL LLPanelClassified::mDataRequested [protected] |
Definition at line 141 of file llpanelclassified.h.
Referenced by markForServerRequest(), refresh(), reset(), and sendClassifiedInfoRequest().
LLTextEditor* LLPanelClassified::mDescEditor [protected] |
Definition at line 153 of file llpanelclassified.h.
Referenced by checkDirty(), confirmPublish(), postBuild(), refresh(), and sendClassifiedInfoUpdate().
BOOL LLPanelClassified::mDirty [protected] |
Definition at line 123 of file llpanelclassified.h.
Referenced by checkDirty(), reset(), and sendClassifiedInfoUpdate().
bool LLPanelClassified::mForceClose [protected] |
bool LLPanelClassified::mFromSearch [protected] |
BOOL LLPanelClassified::mInFinder [protected] |
Definition at line 121 of file llpanelclassified.h.
Referenced by confirmPublish(), LLPanelClassified(), postBuild(), and refresh().
LLTextBox* LLPanelClassified::mInfoText [protected] |
Definition at line 164 of file llpanelclassified.h.
bool LLPanelClassified::mLocationChanged [protected] |
Definition at line 125 of file llpanelclassified.h.
Referenced by checkDirty(), and confirmPublish().
LLLineEditor* LLPanelClassified::mLocationEditor [protected] |
Definition at line 154 of file llpanelclassified.h.
Referenced by checkDirty(), confirmPublish(), and postBuild().
LLButton* LLPanelClassified::mMapBtn [protected] |
S32 LLPanelClassified::mMapClicksNew [protected] |
Definition at line 137 of file llpanelclassified.h.
S32 LLPanelClassified::mMapClicksOld [protected] |
Definition at line 134 of file llpanelclassified.h.
LLCheckBoxCtrl* LLPanelClassified::mMatureCheck [protected] |
Definition at line 156 of file llpanelclassified.h.
Referenced by checkDirty(), confirmPublish(), postBuild(), refresh(), and sendClassifiedInfoUpdate().
LLLineEditor* LLPanelClassified::mNameEditor [protected] |
Definition at line 152 of file llpanelclassified.h.
Referenced by canClose(), checkDirty(), confirmPublish(), getClassifiedName(), initNewClassified(), postBuild(), refresh(), sendClassifiedInfoUpdate(), and titleIsValid().
BOOL LLPanelClassified::mPaidFor [protected] |
Definition at line 145 of file llpanelclassified.h.
Referenced by apply(), initNewClassified(), and reset().
LLUUID LLPanelClassified::mParcelID [protected] |
Definition at line 129 of file llpanelclassified.h.
Referenced by reset(), and sendClassifiedInfoUpdate().
LLVector3d LLPanelClassified::mPosGlobal [protected] |
Definition at line 148 of file llpanelclassified.h.
Referenced by initNewClassified(), reset(), and sendClassifiedInfoUpdate().
S32 LLPanelClassified::mPriceForListing [protected] |
LLButton* LLPanelClassified::mProfileBtn [protected] |
S32 LLPanelClassified::mProfileClicksNew [protected] |
Definition at line 138 of file llpanelclassified.h.
S32 LLPanelClassified::mProfileClicksOld [protected] |
Definition at line 135 of file llpanelclassified.h.
LLUUID LLPanelClassified::mRequestedID [protected] |
LLButton* LLPanelClassified::mSetBtn [protected] |
LLString LLPanelClassified::mSimName [protected] |
Definition at line 147 of file llpanelclassified.h.
LLTextureCtrl* LLPanelClassified::mSnapshotCtrl [protected] |
Definition at line 151 of file llpanelclassified.h.
Referenced by checkDirty(), confirmPublish(), initNewClassified(), postBuild(), refresh(), and sendClassifiedInfoUpdate().
LLRect LLPanelClassified::mSnapshotSize [protected] |
LLButton* LLPanelClassified::mTeleportBtn [protected] |
S32 LLPanelClassified::mTeleportClicksNew [protected] |
Definition at line 136 of file llpanelclassified.h.
S32 LLPanelClassified::mTeleportClicksOld [protected] |
Definition at line 133 of file llpanelclassified.h.
LLButton* LLPanelClassified::mUpdateBtn [protected] |
Definition at line 159 of file llpanelclassified.h.
Referenced by initNewClassified(), postBuild(), and refresh().
std::list< LLPanelClassified * > LLPanelClassified::sAllPanels [static, protected] |
Definition at line 170 of file llpanelclassified.h.
Referenced by LLPanelClassified(), processClassifiedInfoReply(), setClickThrough(), and ~LLPanelClassified().