LLFloaterDirectory Class Reference

#include <llfloaterdirectory.h>

Inheritance diagram for LLFloaterDirectory:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterDirectory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLFloaterDirectory (const std::string &name)
 ~LLFloaterDirectory ()
void setVisible (BOOL visible)
void hideAllDetailPanels ()

Static Public Member Functions

static void requestClassifieds ()
static void showFindAll (const std::string &search_text)
static void showClassified (const LLUUID &classified_id)
static void showEvents (S32 event_id)
static void showPopular (const LLUUID &parcel_id)
static void showLandForSale (const LLUUID &parcel_id)
static void showGroups ()
static void refreshGroup (const LLUUID &group_id)
static void hide (void *)
static void toggleEvents (void *)
static void toggleFind (void *)
static void onTabChanged (void *, bool)
static void onTabChangedFindAll (void *, bool)

Public Attributes

LLPanelAvatarmPanelAvatarp
LLPanelEventmPanelEventp
LLPanelGroupmPanelGroupp
LLPanelmPanelGroupHolderp
LLPanelPlacemPanelPlacep
LLPanelPlacemPanelPlaceSmallp
LLPanelClassifiedmPanelClassifiedp

Private Member Functions

void onClose (bool app_quitting)
void focusCurrentPanel ()

Static Private Member Functions

static void showPanel (const std::string &tabname)
static voidcreateFindAll (void *userdata)
static voidcreateClassified (void *userdata)
static voidcreateEvents (void *userdata)
static voidcreatePopular (void *userdata)
static voidcreatePlaces (void *userdata)
static voidcreateLand (void *userdata)
static voidcreatePeople (void *userdata)
static voidcreateGroups (void *userdata)
static voidcreateFindAllOld (void *userdata)
static voidcreateClassifiedDetail (void *userdata)
static voidcreateAvatarDetail (void *userdata)
static voidcreateEventDetail (void *userdata)
static voidcreateGroupDetail (void *userdata)
static voidcreateGroupDetailHolder (void *userdata)
static voidcreatePlaceDetail (void *userdata)
static voidcreatePlaceDetailSmall (void *userdata)
static voidcreatePanelAvatar (void *data)

Private Attributes

LLPanelDirFindAllmFindAllPanel
LLPanelDirClassifiedmClassifiedPanel
LLPanelDirEventsmEventsPanel
LLPanelDirPopularmPopularPanel
LLPanelDirLandmLandPanel
bool mMinimizing

Static Private Attributes

static LLFloaterDirectorysInstance = NULL

Detailed Description

Definition at line 58 of file llfloaterdirectory.h.


Constructor & Destructor Documentation

LLFloaterDirectory::LLFloaterDirectory ( const std::string &  name  ) 

Definition at line 69 of file llfloaterdirectory.cpp.

References LLUICtrlFactory::buildFloater(), LLPanel::childSetTabChangeCallback(), createClassified(), createClassifiedDetail(), createEventDetail(), createEvents(), createFindAll(), createFindAllOld(), createGroupDetail(), createGroupDetailHolder(), createGroups(), createLand(), createPanelAvatar(), createPeople(), createPlaceDetail(), createPlaceDetailSmall(), createPlaces(), createPopular(), gUICtrlFactory, mClassifiedPanel, mEventsPanel, mFindAllPanel, mLandPanel, LLFloater::moveResizeHandlesToFront(), mPanelAvatarp, mPanelClassifiedp, mPanelEventp, mPanelGroupHolderp, mPanelGroupp, mPanelPlacep, mPanelPlaceSmallp, mPopularPanel, NULL, onTabChanged(), onTabChangedFindAll(), LLPanelAvatar::selectTab(), and sInstance.

Referenced by showPanel().

LLFloaterDirectory::~LLFloaterDirectory (  ) 

Definition at line 130 of file llfloaterdirectory.cpp.

References FALSE, gSavedSettings, mPanelAvatarp, mPanelClassifiedp, mPanelEventp, mPanelGroupHolderp, mPanelGroupp, mPanelPlacep, mPanelPlaceSmallp, NULL, LLControlGroup::setBOOL(), and sInstance.


Member Function Documentation

static void* LLFloaterDirectory::createAvatarDetail ( void userdata  )  [static, private]

void * LLFloaterDirectory::createClassified ( void userdata  )  [static, private]

Definition at line 152 of file llfloaterdirectory.cpp.

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createClassifiedDetail ( void userdata  )  [static, private]

Definition at line 213 of file llfloaterdirectory.cpp.

References FALSE, and TRUE.

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createEventDetail ( void userdata  )  [static, private]

Definition at line 237 of file llfloaterdirectory.cpp.

References LLUICtrlFactory::buildPanel(), FALSE, and gUICtrlFactory.

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createEvents ( void userdata  )  [static, private]

Definition at line 160 of file llfloaterdirectory.cpp.

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createFindAll ( void userdata  )  [static, private]

Definition at line 144 of file llfloaterdirectory.cpp.

References LLPanelDirFindAllInterface::create().

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createFindAllOld ( void userdata  )  [static, private]

Definition at line 206 of file llfloaterdirectory.cpp.

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createGroupDetail ( void userdata  )  [static, private]

Definition at line 247 of file llfloaterdirectory.cpp.

References FALSE, gAgent, and LLAgent::getGroupID().

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createGroupDetailHolder ( void userdata  )  [static, private]

Definition at line 259 of file llfloaterdirectory.cpp.

References FALSE, and LLPanel::LLPanel().

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createGroups ( void userdata  )  [static, private]

Definition at line 199 of file llfloaterdirectory.cpp.

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createLand ( void userdata  )  [static, private]

Definition at line 183 of file llfloaterdirectory.cpp.

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createPanelAvatar ( void data  )  [static, private]

Definition at line 223 of file llfloaterdirectory.cpp.

References FALSE.

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createPeople ( void userdata  )  [static, private]

Definition at line 192 of file llfloaterdirectory.cpp.

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createPlaceDetail ( void userdata  )  [static, private]

Definition at line 268 of file llfloaterdirectory.cpp.

References LLUICtrlFactory::buildPanel(), FALSE, and gUICtrlFactory.

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createPlaceDetailSmall ( void userdata  )  [static, private]

Definition at line 278 of file llfloaterdirectory.cpp.

References LLUICtrlFactory::buildPanel(), FALSE, and gUICtrlFactory.

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createPlaces ( void userdata  )  [static, private]

Definition at line 176 of file llfloaterdirectory.cpp.

Referenced by LLFloaterDirectory().

void * LLFloaterDirectory::createPopular ( void userdata  )  [static, private]

Definition at line 168 of file llfloaterdirectory.cpp.

Referenced by LLFloaterDirectory().

void LLFloaterDirectory::focusCurrentPanel (  )  [private]

Definition at line 369 of file llfloaterdirectory.cpp.

References LLTabContainerCommon::getCurrentPanel(), LLUICtrlFactory::getTabContainerByName(), LLPanel::setFocus(), and TRUE.

Referenced by showPanel(), and toggleFind().

void LLFloaterDirectory::hide ( void  )  [static]

Definition at line 458 of file llfloaterdirectory.cpp.

References LLFloater::close(), and sInstance.

Referenced by handle_track_avatar(), and LLAgent::teleportCore().

void LLFloaterDirectory::hideAllDetailPanels (  ) 

Definition at line 502 of file llfloaterdirectory.cpp.

References FALSE, mPanelAvatarp, mPanelClassifiedp, mPanelEventp, mPanelGroupHolderp, mPanelGroupp, mPanelPlacep, mPanelPlaceSmallp, and LLView::setVisible().

Referenced by LLPanelDirBrowser::setupNewSearch(), and LLPanelDirBrowser::showEvent().

void LLFloaterDirectory::onClose ( bool  app_quitting  )  [private, virtual]

Reimplemented from LLFloater.

Definition at line 473 of file llfloaterdirectory.cpp.

References FALSE, and setVisible().

void LLFloaterDirectory::onTabChanged ( void ,
bool   
) [static]

Definition at line 479 of file llfloaterdirectory.cpp.

References LLView::getName(), gSavedSettings, and LLControlGroup::setString().

Referenced by LLFloaterDirectory(), and onTabChangedFindAll().

void LLFloaterDirectory::onTabChangedFindAll ( void ,
bool   
) [static]

Definition at line 492 of file llfloaterdirectory.cpp.

References LLPanelDirFindAllInterface::focus(), and onTabChanged().

Referenced by LLFloaterDirectory().

void LLFloaterDirectory::refreshGroup ( const LLUUID group_id  )  [static]

Definition at line 360 of file llfloaterdirectory.cpp.

References LLGroupMgrObserver::getID(), mPanelGroupp, LLPanelGroup::refreshData(), and sInstance.

Referenced by LLAgent::processAgentDropGroup(), LLGroupMgr::processJoinGroupReply(), and LLGroupMgr::processLeaveGroupReply().

void LLFloaterDirectory::requestClassifieds (  )  [static]

Definition at line 288 of file llfloaterdirectory.cpp.

References mClassifiedPanel, LLPanelDirClassified::performQuery(), and sInstance.

Referenced by set_god_level().

void LLFloaterDirectory::setVisible ( BOOL  visible  )  [virtual]

Reimplemented from LLFloater.

Definition at line 467 of file llfloaterdirectory.cpp.

References gSavedSettings, LLControlGroup::setBOOL(), and LLFloater::setVisible().

Referenced by onClose().

void LLFloaterDirectory::showClassified ( const LLUUID classified_id  )  [static]

Definition at line 303 of file llfloaterdirectory.cpp.

References mClassifiedPanel, LLPanelDirBrowser::selectByUUID(), showPanel(), and sInstance.

Referenced by LLWorldMapView::handleDoubleClick().

void LLFloaterDirectory::showEvents ( S32  event_id  )  [static]

Definition at line 315 of file llfloaterdirectory.cpp.

References mEventsPanel, LLPanelDirEvents::performQuery(), LLPanelDirBrowser::selectEventByID(), LLPanelDirEvents::setDay(), showPanel(), and sInstance.

Referenced by LLWorldMapView::handleDoubleClick(), LLEventNotifier::notifyCallback(), and toggleEvents().

void LLFloaterDirectory::showFindAll ( const std::string &  search_text  )  [static]

Definition at line 296 of file llfloaterdirectory.cpp.

References mFindAllPanel, LLPanelDirFindAllInterface::search(), showPanel(), and sInstance.

Referenced by LLStatusBar::onClickSearch().

void LLFloaterDirectory::showGroups (  )  [static]

Definition at line 354 of file llfloaterdirectory.cpp.

References showPanel().

Referenced by LLPanelGroups::search().

void LLFloaterDirectory::showLandForSale ( const LLUUID parcel_id  )  [static]

Definition at line 343 of file llfloaterdirectory.cpp.

References mLandPanel, LLPanelDirBrowser::selectByUUID(), showPanel(), and sInstance.

Referenced by LLWorldMapView::handleDoubleClick().

void LLFloaterDirectory::showPanel ( const std::string &  tabname  )  [static, private]

Definition at line 381 of file llfloaterdirectory.cpp.

References LLPanel::childShowTab(), focusCurrentPanel(), LLFloaterDirectory(), LLFloater::open(), and sInstance.

Referenced by showClassified(), showEvents(), showFindAll(), showGroups(), showLandForSale(), showPopular(), and toggleFind().

void LLFloaterDirectory::showPopular ( const LLUUID parcel_id  )  [static]

Definition at line 332 of file llfloaterdirectory.cpp.

References mPopularPanel, LLPanelDirBrowser::selectByUUID(), showPanel(), and sInstance.

Referenced by LLWorldMapView::handleDoubleClick().

void LLFloaterDirectory::toggleEvents ( void  )  [static]

Definition at line 429 of file llfloaterdirectory.cpp.

References LLPanel::childGetVisibleTab(), LLFloater::close(), LLView::getVisible(), mEventsPanel, LLFloater::open(), showEvents(), and sInstance.

Referenced by handle_events().

void LLFloaterDirectory::toggleFind ( void  )  [static]

Definition at line 396 of file llfloaterdirectory.cpp.

References LLFloater::close(), focusCurrentPanel(), LLControlGroup::getString(), LLView::getVisible(), gSavedSettings, mEventsPanel, NULL, LLFloater::open(), LLPanelDirEvents::setDay(), showPanel(), and sInstance.

Referenced by handle_find(), and LLEditSearch::handleEvent().


Member Data Documentation

LLPanelDirClassified* LLFloaterDirectory::mClassifiedPanel [private]

Definition at line 97 of file llfloaterdirectory.h.

Referenced by LLFloaterDirectory(), requestClassifieds(), and showClassified().

LLPanelDirEvents* LLFloaterDirectory::mEventsPanel [private]

Definition at line 98 of file llfloaterdirectory.h.

Referenced by LLFloaterDirectory(), showEvents(), toggleEvents(), and toggleFind().

LLPanelDirFindAll* LLFloaterDirectory::mFindAllPanel [private]

Definition at line 96 of file llfloaterdirectory.h.

Referenced by LLFloaterDirectory(), and showFindAll().

LLPanelDirLand* LLFloaterDirectory::mLandPanel [private]

Definition at line 100 of file llfloaterdirectory.h.

Referenced by LLFloaterDirectory(), and showLandForSale().

bool LLFloaterDirectory::mMinimizing [private]

Definition at line 132 of file llfloaterdirectory.h.

LLPanelAvatar* LLFloaterDirectory::mPanelAvatarp

Definition at line 123 of file llfloaterdirectory.h.

Referenced by hideAllDetailPanels(), LLFloaterDirectory(), LLPanelDirBrowser::showDetailPanel(), and ~LLFloaterDirectory().

LLPanelClassified* LLFloaterDirectory::mPanelClassifiedp

Definition at line 129 of file llfloaterdirectory.h.

Referenced by hideAllDetailPanels(), LLFloaterDirectory(), LLPanelDirBrowser::newClassified(), LLPanelDirBrowser::showDetailPanel(), and ~LLFloaterDirectory().

LLPanelEvent* LLFloaterDirectory::mPanelEventp

Definition at line 124 of file llfloaterdirectory.h.

Referenced by LLPanelDirBrowser::getSelectedEventID(), hideAllDetailPanels(), LLFloaterDirectory(), LLPanelDirBrowser::selectEventByID(), LLPanelDirBrowser::showEvent(), and ~LLFloaterDirectory().

LLPanel* LLFloaterDirectory::mPanelGroupHolderp

Definition at line 126 of file llfloaterdirectory.h.

Referenced by hideAllDetailPanels(), LLFloaterDirectory(), LLPanelDirBrowser::showDetailPanel(), and ~LLFloaterDirectory().

LLPanelGroup* LLFloaterDirectory::mPanelGroupp

Definition at line 125 of file llfloaterdirectory.h.

Referenced by hideAllDetailPanels(), LLFloaterDirectory(), refreshGroup(), LLPanelDirBrowser::showDetailPanel(), and ~LLFloaterDirectory().

LLPanelPlace* LLFloaterDirectory::mPanelPlacep

Definition at line 127 of file llfloaterdirectory.h.

Referenced by hideAllDetailPanels(), LLFloaterDirectory(), LLPanelDirBrowser::showDetailPanel(), and ~LLFloaterDirectory().

LLPanelPlace* LLFloaterDirectory::mPanelPlaceSmallp

Definition at line 128 of file llfloaterdirectory.h.

Referenced by hideAllDetailPanels(), LLFloaterDirectory(), LLPanelDirBrowser::showDetailPanel(), and ~LLFloaterDirectory().

LLPanelDirPopular* LLFloaterDirectory::mPopularPanel [private]

Definition at line 99 of file llfloaterdirectory.h.

Referenced by LLFloaterDirectory(), and showPopular().

LLFloaterDirectory * LLFloaterDirectory::sInstance = NULL [static, private]

Definition at line 133 of file llfloaterdirectory.h.

Referenced by hide(), LLFloaterDirectory(), refreshGroup(), requestClassifieds(), showClassified(), showEvents(), showFindAll(), showLandForSale(), showPanel(), showPopular(), toggleEvents(), toggleFind(), and ~LLFloaterDirectory().


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