LLPanelClassified Class Reference

#include <llpanelclassified.h>

Inheritance diagram for LLPanelClassified:

Inheritance graph
[legend]
Collaboration diagram for LLPanelClassified:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPanelClassified (bool in_finder, bool from_search)
 ~LLPanelClassified ()
void reset ()
BOOL postBuild ()
void draw ()
void refresh ()
void apply ()
BOOL canClose ()
void initNewClassified ()
void setClassifiedID (const LLUUID &id)
void setClickThroughText (const std::string &text)
BOOL titleIsValid ()
void markForServerRequest ()
std::string getClassifiedName ()
const LLUUIDgetClassifiedID () const
void sendClassifiedInfoRequest ()
void sendClassifiedInfoUpdate ()
void resetDirty ()
void confirmMature (S32 option)
void gotMature ()
void confirmPublish (S32 option)
void sendClassifiedClickMessage (const char *type)

Static Public Member Functions

static void setClickThrough (const LLUUID &classified_id, S32 teleport, S32 map, S32 profile, bool from_new_table)
static void processClassifiedInfoReply (LLMessageSystem *msg, void **)
static void callbackConfirmMature (S32 option, void *data)
static void callbackGotPriceForListing (S32 option, LLString text, void *data)
static void callbackConfirmPublish (S32 option, void *data)

Protected Types

typedef std::list
< LLPanelClassified * > 
panel_list_t

Protected Member Functions

BOOL checkDirty ()

Static Protected Member Functions

static void saveCallback (S32 option, void *data)
static void onClickUpdate (void *data)
static void onClickTeleport (void *data)
static void onClickMap (void *data)
static void onClickProfile (void *data)
static void onClickSet (void *data)
static void focusReceived (LLFocusableElement *ctrl, void *data)
static void onCommitAny (LLUICtrl *ctrl, void *data)

Protected Attributes

bool mInFinder
bool mFromSearch
BOOL mDirty
bool mForceClose
bool mLocationChanged
LLUUID mClassifiedID
LLUUID mRequestedID
LLUUID mCreatorID
LLUUID mParcelID
S32 mPriceForListing
S32 mTeleportClicksOld
S32 mMapClicksOld
S32 mProfileClicksOld
S32 mTeleportClicksNew
S32 mMapClicksNew
S32 mProfileClicksNew
BOOL mDataRequested
BOOL mPaidFor
LLString mSimName
LLVector3d mPosGlobal
LLTextureCtrlmSnapshotCtrl
LLLineEditormNameEditor
LLTextEditormDescEditor
LLLineEditormLocationEditor
LLComboBoxmCategoryCombo
LLComboBoxmMatureCombo
LLCheckBoxCtrlmAutoRenewCheck
LLButtonmUpdateBtn
LLButtonmTeleportBtn
LLButtonmMapBtn
LLButtonmProfileBtn
LLTextBoxmInfoText
LLButtonmSetBtn
LLTextBoxmClickThroughText
LLRect mSnapshotSize

Static Protected Attributes

static panel_list_t sAllPanels


Detailed Description

Definition at line 57 of file llpanelclassified.h.


Member Typedef Documentation

typedef std::list<LLPanelClassified*> LLPanelClassified::panel_list_t [protected]

Definition at line 175 of file llpanelclassified.h.


Constructor & Destructor Documentation

LLPanelClassified::LLPanelClassified ( bool  in_finder,
bool  from_search 
)

LLPanelClassified::~LLPanelClassified (  ) 

Definition at line 203 of file llpanelclassified.cpp.

References sAllPanels.


Member Function Documentation

void LLPanelClassified::reset (  ) 

Definition at line 209 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().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelClassified::postBuild ( void   )  [virtual]

void LLPanelClassified::draw ( void   )  [virtual]

Reimplemented from LLPanel.

Definition at line 694 of file llpanelclassified.cpp.

References LLPanel::draw(), and refresh().

Here is the call graph for this function:

void LLPanelClassified::refresh (  )  [virtual]

void LLPanelClassified::apply (  ) 

Definition at line 331 of file llpanelclassified.cpp.

References checkDirty(), mPaidFor, and sendClassifiedInfoUpdate().

Referenced by LLPanelAvatarClassified::apply().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelClassified::canClose (  ) 

Definition at line 377 of file llpanelclassified.cpp.

References checkDirty(), FALSE, LLLineEditor::getText(), mForceClose, mNameEditor, saveCallback(), LLAlertDialog::showXml(), and TRUE.

Referenced by LLPanelAvatarClassified::canClose().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelClassified::initNewClassified (  ) 

void LLPanelClassified::setClassifiedID ( const LLUUID id  ) 

void LLPanelClassified::setClickThroughText ( const std::string &  text  ) 

void LLPanelClassified::setClickThrough ( const LLUUID classified_id,
S32  teleport,
S32  map,
S32  profile,
bool  from_new_table 
) [static]

Definition at line 421 of file llpanelclassified.cpp.

References llformat(), and sAllPanels.

Referenced by LLDispatchClassifiedClickThrough::operator()(), and LLClassifiedStatsResponder::result().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelClassified::titleIsValid (  ) 

Definition at line 312 of file llpanelclassified.cpp.

References LLViewerWindow::alertXml(), FALSE, LLLineEditor::getText(), gViewerWindow, mNameEditor, and TRUE.

Referenced by LLPanelAvatarClassified::titleIsValid().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelClassified::markForServerRequest (  ) 

Definition at line 466 of file llpanelclassified.cpp.

References FALSE, and mDataRequested.

Referenced by LLPanelAvatarClassified::processAvatarClassifiedReply().

Here is the caller graph for this function:

std::string LLPanelClassified::getClassifiedName (  ) 

Definition at line 472 of file llpanelclassified.cpp.

References LLLineEditor::getText(), and mNameEditor.

Referenced by LLPanelAvatarClassified::callbackNew(), and LLPanelDirBrowser::newClassified().

Here is the call graph for this function:

Here is the caller graph for this function:

const LLUUID& LLPanelClassified::getClassifiedID (  )  const [inline]

Definition at line 94 of file llpanelclassified.h.

References mClassifiedID.

Referenced by LLPanelDirBrowser::newClassified().

Here is the caller graph for this function:

void LLPanelClassified::sendClassifiedInfoRequest (  ) 

void LLPanelClassified::sendClassifiedInfoUpdate (  ) 

void LLPanelClassified::resetDirty (  )  [virtual]

Reimplemented from LLUICtrl.

Definition at line 876 of file llpanelclassified.cpp.

References mAutoRenewCheck, mCategoryCombo, mDescEditor, mLocationChanged, mLocationEditor, mMatureCombo, mNameEditor, mSnapshotCtrl, LLCheckBoxCtrl::resetDirty(), LLComboBox::resetDirty(), LLUICtrl::resetDirty(), LLLineEditor::resetDirty(), and LLTextureCtrl::resetDirty().

Referenced by confirmPublish().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelClassified::processClassifiedInfoReply ( LLMessageSystem msg,
void **   
) [static]

void LLPanelClassified::callbackConfirmMature ( S32  option,
void *  data 
) [static]

Definition at line 803 of file llpanelclassified.cpp.

Referenced by onClickUpdate().

Here is the caller graph for this function:

void LLPanelClassified::confirmMature ( S32  option  ) 

Definition at line 810 of file llpanelclassified.cpp.

References gotMature(), MATURE_CONTENT, mMatureCombo, NON_MATURE_CONTENT, and LLComboBox::setCurrentByIndex().

Here is the call graph for this function:

void LLPanelClassified::gotMature (  ) 

Definition at line 833 of file llpanelclassified.cpp.

References callbackConfirmPublish(), callbackGotPriceForListing(), mPaidFor, and LLFloaterPriceForListing::show().

Referenced by confirmMature().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelClassified::callbackGotPriceForListing ( S32  option,
LLString  text,
void *  data 
) [static]

Definition at line 848 of file llpanelclassified.cpp.

References LLViewerWindow::alertXml(), callbackConfirmPublish(), gViewerWindow, llformat(), MINIMUM_PRICE_FOR_LISTING, NULL, and S32.

Referenced by gotMature().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelClassified::callbackConfirmPublish ( S32  option,
void *  data 
) [static]

Definition at line 922 of file llpanelclassified.cpp.

Referenced by callbackGotPriceForListing(), and gotMature().

Here is the caller graph for this function:

void LLPanelClassified::confirmPublish ( S32  option  ) 

void LLPanelClassified::sendClassifiedClickMessage ( const char *  type  ) 

void LLPanelClassified::saveCallback ( S32  option,
void *  data 
) [static, protected]

Definition at line 343 of file llpanelclassified.cpp.

References LLAppViewer::abortQuit(), LLFloater::close(), LLView::getParent(), and LLAppViewer::instance().

Referenced by canClose().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelClassified::onClickUpdate ( void *  data  )  [static, protected]

Definition at line 777 of file llpanelclassified.cpp.

References LLViewerWindow::alertXml(), callbackConfirmMature(), DECLINE_TO_STATE, gViewerWindow, and NULL.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelClassified::onClickTeleport ( void *  data  )  [static, protected]

Definition at line 929 of file llpanelclassified.cpp.

References gAgent, gFloaterWorldMap, LLAgent::teleportViaLocation(), and LLFloaterWorldMap::trackLocation().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelClassified::onClickMap ( void *  data  )  [static, protected]

Definition at line 944 of file llpanelclassified.cpp.

References gFloaterWorldMap, NULL, LLFloaterWorldMap::show(), LLFloaterWorldMap::trackLocation(), and TRUE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelClassified::onClickProfile ( void *  data  )  [static, protected]

Definition at line 954 of file llpanelclassified.cpp.

References LLFloaterAvatarInfo::showFromDirectory().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelClassified::onClickSet ( void *  data  )  [static, protected]

Definition at line 971 of file llpanelclassified.cpp.

References gAgent, LLAgent::getPositionGlobal(), llformat(), llround(), NULL, onCommitAny(), REGION_WIDTH_UNITS, S32, VX, VY, and VZ.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelClassified::focusReceived ( LLFocusableElement ctrl,
void *  data 
) [static, protected]

Definition at line 1025 of file llpanelclassified.cpp.

References onCommitAny().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelClassified::onCommitAny ( LLUICtrl ctrl,
void *  data 
) [static, protected]

Definition at line 1015 of file llpanelclassified.cpp.

Referenced by focusReceived(), onClickSet(), and postBuild().

Here is the caller graph for this function:

BOOL LLPanelClassified::checkDirty (  )  [protected]


Member Data Documentation

bool LLPanelClassified::mInFinder [protected]

Definition at line 127 of file llpanelclassified.h.

Referenced by confirmPublish(), LLPanelClassified(), postBuild(), and refresh().

Definition at line 128 of file llpanelclassified.h.

Referenced by sendClassifiedClickMessage().

Definition at line 129 of file llpanelclassified.h.

Referenced by checkDirty(), reset(), and sendClassifiedInfoUpdate().

Definition at line 130 of file llpanelclassified.h.

Referenced by canClose().

Definition at line 131 of file llpanelclassified.h.

Referenced by checkDirty(), and resetDirty().

Definition at line 133 of file llpanelclassified.h.

Referenced by sendClassifiedInfoRequest().

Definition at line 134 of file llpanelclassified.h.

Referenced by initNewClassified(), refresh(), and reset().

Definition at line 136 of file llpanelclassified.h.

Referenced by sendClassifiedInfoUpdate().

Definition at line 139 of file llpanelclassified.h.

Definition at line 140 of file llpanelclassified.h.

Definition at line 141 of file llpanelclassified.h.

Definition at line 142 of file llpanelclassified.h.

Definition at line 143 of file llpanelclassified.h.

Definition at line 144 of file llpanelclassified.h.

Definition at line 151 of file llpanelclassified.h.

Referenced by apply(), gotMature(), initNewClassified(), and reset().

Definition at line 153 of file llpanelclassified.h.

Referenced by sendClassifiedClickMessage().

Definition at line 160 of file llpanelclassified.h.

Referenced by checkDirty(), postBuild(), and resetDirty().

Definition at line 165 of file llpanelclassified.h.

Referenced by initNewClassified(), postBuild(), and refresh().

Definition at line 166 of file llpanelclassified.h.

Referenced by postBuild().

Definition at line 167 of file llpanelclassified.h.

Referenced by postBuild().

Definition at line 168 of file llpanelclassified.h.

Referenced by postBuild().

Definition at line 170 of file llpanelclassified.h.

Definition at line 171 of file llpanelclassified.h.

Referenced by postBuild(), and refresh().

Definition at line 172 of file llpanelclassified.h.

Referenced by postBuild(), and refresh().

Definition at line 174 of file llpanelclassified.h.

Referenced by postBuild(), and refresh().

std::list< LLPanelClassified * > LLPanelClassified::sAllPanels [static, protected]


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:55:53 2008 for SecondLife by  doxygen 1.5.5