LLPanelDirEvents Class Reference

#include <llpaneldirevents.h>

Inheritance diagram for LLPanelDirEvents:

Inheritance graph
[legend]
Collaboration diagram for LLPanelDirEvents:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelDirEvents (const std::string &name, LLFloaterDirectory *floater)
virtual ~LLPanelDirEvents ()
void draw ()
virtual BOOL postBuild ()
void performQuery ()
void performQueryOrDelete (U32 event_id)
void refresh ()
void setDay (S32 day)

Static Protected Member Functions

static void onDateModeCallback (LLUICtrl *ctrl, void *data)
static void onBackBtn (void *data)
static void onForwardBtn (void *data)
static void onClickToday (void *userdata)
static void onCommitMature (LLUICtrl *ctrl, void *data)
static void onClickSearch (void *data)
static void onClickDelete (void *data)

Protected Attributes

BOOL mDoneQuery
S32 mDay

Detailed Description

Definition at line 39 of file llpaneldirevents.h.


Constructor & Destructor Documentation

LLPanelDirEvents::LLPanelDirEvents ( const std::string &  name,
LLFloaterDirectory floater 
)

Definition at line 55 of file llpaneldirevents.cpp.

References LLPanelDirBrowser::mResultsPerPage.

LLPanelDirEvents::~LLPanelDirEvents (  )  [virtual]

Definition at line 98 of file llpaneldirevents.cpp.


Member Function Documentation

void LLPanelDirEvents::draw (  )  [virtual]

Reimplemented from LLPanelDirBrowser.

Definition at line 104 of file llpaneldirevents.cpp.

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

void LLPanelDirEvents::onBackBtn ( void data  )  [static, protected]

Definition at line 264 of file llpaneldirevents.cpp.

Referenced by postBuild().

void LLPanelDirEvents::onClickDelete ( void data  )  [static, protected]

Definition at line 292 of file llpaneldirevents.cpp.

Referenced by postBuild().

static void LLPanelDirEvents::onClickSearch ( void data  )  [static, protected]

void LLPanelDirEvents::onClickToday ( void userdata  )  [static, protected]

Definition at line 254 of file llpaneldirevents.cpp.

Referenced by postBuild().

void LLPanelDirEvents::onCommitMature ( LLUICtrl ctrl,
void data 
) [static, protected]

Definition at line 284 of file llpaneldirevents.cpp.

References LLPanelDirBrowser::onClickSearchCore().

Referenced by postBuild().

void LLPanelDirEvents::onDateModeCallback ( LLUICtrl ctrl,
void data 
) [static, protected]

Definition at line 236 of file llpaneldirevents.cpp.

Referenced by postBuild().

void LLPanelDirEvents::onForwardBtn ( void data  )  [static, protected]

Definition at line 274 of file llpaneldirevents.cpp.

Referenced by postBuild().

void LLPanelDirEvents::performQuery (  )  [virtual]

Reimplemented from LLPanelDirBrowser.

Definition at line 146 of file llpaneldirevents.cpp.

References performQueryOrDelete().

Referenced by LLFloaterDirectory::showEvents().

void LLPanelDirEvents::performQueryOrDelete ( U32  event_id  ) 

Definition at line 152 of file llpaneldirevents.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_EventData, _PREHASH_EventGodDelete, _PREHASH_EventID, _PREHASH_QueryData, _PREHASH_QueryFlags, _PREHASH_QueryID, _PREHASH_QueryStart, _PREHASH_QueryText, _PREHASH_SessionID, LLMessageSystem::addS32Fast(), LLMessageSystem::addStringFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), LLSD::asInteger(), LLSD::asString(), LLPanel::childGetValue(), LLPanel::childSetValue(), DFQ_DATE_EVENTS, DFQ_PG_EVENTS_ONLY, DFQ_PG_SIMS_ONLY, gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, gPacificDaylightTime, LLAgent::isTeen(), llformat(), mDay, mDoneQuery, LLPanelDirBrowser::mSearchID, LLPanelDirBrowser::mSearchStart, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), params, S32, LLPanelDirBrowser::sendDirFindQuery(), LLAgent::sendReliableMessage(), LLPanelDirBrowser::setupNewSearch(), time_corrected(), tut::tm(), TRUE, and utc_to_pacific_time().

Referenced by performQuery().

BOOL LLPanelDirEvents::postBuild (  )  [virtual]

Reimplemented from LLPanelDirBrowser.

Definition at line 64 of file llpaneldirevents.cpp.

References LLPanel::childDisable(), LLPanel::childHide(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), FALSE, gDisplayEventHack, LLPanelDirBrowser::mCurrentSortColumn, NULL, onBackBtn(), onClickDelete(), LLPanelDirBrowser::onClickSearchCore(), onClickToday(), onCommitMature(), onDateModeCallback(), onForwardBtn(), LLPanelDirBrowser::postBuild(), setDay(), LLPanel::setDefaultBtn(), and TRUE.

void LLPanelDirEvents::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 111 of file llpaneldirevents.cpp.

References LLPanel::childSetEnabled(), LLPanel::childSetVisible(), gAgent, LLAgent::isGodlike(), and LLAgent::isTeen().

Referenced by draw().

void LLPanelDirEvents::setDay ( S32  day  ) 

Definition at line 122 of file llpaneldirevents.cpp.

References LLPanel::childSetValue(), gPacificDaylightTime, llformat(), mDay, time_corrected(), tut::tm(), and utc_to_pacific_time().

Referenced by postBuild(), LLFloaterDirectory::showEvents(), and LLFloaterDirectory::toggleFind().


Member Data Documentation

S32 LLPanelDirEvents::mDay [protected]

Definition at line 69 of file llpaneldirevents.h.

Referenced by performQueryOrDelete(), and setDay().

BOOL LLPanelDirEvents::mDoneQuery [protected]

Definition at line 68 of file llpaneldirevents.h.

Referenced by performQueryOrDelete().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:35 2010 for Second Life Viewer by  doxygen 1.4.7