// virtual LLFloaterReporter::~LLFloaterReporter() { gReporterInstances.removeData(mReportType); // child views automatically deleted mObjectID = LLUUID::null; if (mPicking) { closePickTool(this); } mPosition.setVec(0.0f, 0.0f, 0.0f); std::for_each(mMCDList.begin(), mMCDList.end(), DeletePointer() ); mMCDList.clear(); delete mResourceDatap; gDialogVisible = FALSE; }
void LLPanelDirBrowser::setupNewSearch() { LLScrollListCtrl* list = getChild<LLScrollListCtrl>("results"); gDirBrowserInstances.removeData(mSearchID); // Make a new query ID mSearchID.generate(); gDirBrowserInstances.addData(mSearchID, this); // ready the list for results list->operateOnAll(LLCtrlListInterface::OP_DELETE); list->addCommentText(std::string("Searching...")); // *TODO: Translate childDisable("results"); mResultsReceived = 0; mHaveSearchResults = FALSE; // Set all panels to be invisible mFloaterDirectory->hideAllDetailPanels(); updateResultCount(); }
void LLPanelDirBrowser::setupNewSearch() { gDirBrowserInstances.removeData(mSearchID); // Make a new query ID mSearchID.generate(); gDirBrowserInstances.addData(mSearchID, this); // ready the list for results if (LLScrollListCtrl* list = findChild<LLScrollListCtrl>("results")) { list->operateOnAll(LLCtrlListInterface::OP_DELETE); list->setCommentText(LLTrans::getString("Searching")); list->setEnabled(false); } mResultsReceived = 0; mHaveSearchResults = FALSE; // Set all panels to be invisible mFloaterDirectory->hideAllDetailPanels(); updateResultCount(); }
// virtual LLFloaterAvatarInfo::~LLFloaterAvatarInfo() { // child views automatically deleted gAvatarInfoInstances.removeData(mAvatarID); }
LLFloaterEventInfo::~LLFloaterEventInfo() { // child views automatically deleted gEventInfoInstances.removeData(mEventID); }
LLPanelDirBrowser::~LLPanelDirBrowser() { // Children all cleaned up by default view destructor. gDirBrowserInstances.removeData(mSearchID); }
LLFloaterClassifiedInfo::~LLFloaterClassifiedInfo() { // child views automatically deleted gClassifiedInfoInstances.removeData(mClassifiedID); }
// virtual LLFloaterParcelInfo::~LLFloaterParcelInfo() { // child views automatically deleted gPlaceInfoInstances.removeData(mParcelID); }