LLPanelGroupVoting Class Reference

#include <llpanelgroupvoting.h>

Inheritance diagram for LLPanelGroupVoting:

Inheritance graph
[legend]
Collaboration diagram for LLPanelGroupVoting:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelGroupVoting (const std::string &name, const LLUUID &group_id)
virtual ~LLPanelGroupVoting ()
virtual BOOL postBuild ()
virtual BOOL isVisibleByAgent (LLAgent *agentp)
virtual void activate ()
virtual bool needsApply (LLString &mesg)
virtual bool apply (LLString &mesg)
virtual void update (LLGroupChange gc)

Static Public Member Functions

static voidcreateTab (void *data)

Protected Attributes

implmImpl

Classes

class  impl

Detailed Description

Definition at line 37 of file llpanelgroupvoting.h.


Constructor & Destructor Documentation

LLPanelGroupVoting::LLPanelGroupVoting ( const std::string &  name,
const LLUUID group_id 
)

Definition at line 1275 of file llpanelgroupvoting.cpp.

References mImpl.

Referenced by createTab().

LLPanelGroupVoting::~LLPanelGroupVoting (  )  [virtual]

Definition at line 1282 of file llpanelgroupvoting.cpp.

References mImpl.


Member Function Documentation

void LLPanelGroupVoting::activate (  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 1425 of file llpanelgroupvoting.cpp.

References GC_ALL, gGroupMgr, LLPanelGroupTab::mGroupID, mImpl, LLGroupMgr::sendGroupPropertiesRequest(), LLPanelGroupVoting::impl::setEnableHistoryList(), LLPanelGroupVoting::impl::setEnableListProposals(), and update().

bool LLPanelGroupVoting::apply ( LLString mesg  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 1439 of file llpanelgroupvoting.cpp.

void * LLPanelGroupVoting::createTab ( void data  )  [static]

Reimplemented from LLPanelGroupTab.

Definition at line 1269 of file llpanelgroupvoting.cpp.

References LLPanelGroupVoting().

Referenced by LLPanelGroup::LLPanelGroup().

BOOL LLPanelGroupVoting::isVisibleByAgent ( LLAgent agentp  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 1287 of file llpanelgroupvoting.cpp.

References LLAgent::isInGroup(), LLPanelGroupTab::mAllowEdit, and LLPanelGroupTab::mGroupID.

bool LLPanelGroupVoting::needsApply ( LLString mesg  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 1434 of file llpanelgroupvoting.cpp.

BOOL LLPanelGroupVoting::postBuild (  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 1293 of file llpanelgroupvoting.cpp.

References _PREHASH_GroupActiveProposalItemReply, _PREHASH_GroupVoteHistoryItemReply, LLPanel::getChildByName(), gMessageSystem, LLPanelGroupVoting::impl::mBtnAbstain, LLPanelGroupVoting::impl::mBtnCancelProposal, LLPanelGroupVoting::impl::mBtnCreateProposal, LLPanelGroupVoting::impl::mBtnNo, LLPanelGroupVoting::impl::mBtnSubmitProposal, LLPanelGroupVoting::impl::mBtnViewHistoryItem, LLPanelGroupVoting::impl::mBtnViewHistoryList, LLPanelGroupVoting::impl::mBtnViewProposalItem, LLPanelGroupVoting::impl::mBtnViewProposalList, LLPanelGroupVoting::impl::mBtnYes, LLPanelGroupVoting::impl::mDuration, LLPanelGroupVoting::impl::mDurationLbl, LLPanelGroupVoting::impl::mDurationText, LLPanelGroupVoting::impl::mEndDate, LLPanelGroupVoting::impl::mEndLbl, mImpl, LLPanelGroupVoting::impl::mMajority, LLPanelGroupVoting::impl::mMajorityLbl, LLPanelGroupVoting::impl::mProposals, LLPanelGroupVoting::impl::mProposalText, LLPanelGroupVoting::impl::mQuorum, LLPanelGroupVoting::impl::mQuorumLbl, LLPanelGroupVoting::impl::mStartDate, LLPanelGroupVoting::impl::mStartLbl, LLPanelGroupVoting::impl::mVoteHistoryText, LLPanelGroupVoting::impl::mVoteHistoryTextLbl, LLPanelGroupVoting::impl::mVotesHistory, LLPanelGroupVoting::impl::mVotesHistoryLbl, LLPanelGroupVoting::impl::onClickAbstain(), LLPanelGroupVoting::impl::onClickCancelProposal(), LLPanelGroupVoting::impl::onClickCreateProposal(), LLPanelGroupVoting::impl::onClickNo(), LLPanelGroupVoting::impl::onClickSubmitProposal(), LLPanelGroupVoting::impl::onClickViewHistoryItem(), LLPanelGroupVoting::impl::onClickViewHistoryList(), LLPanelGroupVoting::impl::onClickViewProposalItem(), LLPanelGroupVoting::impl::onClickViewProposalList(), LLPanelGroupVoting::impl::onClickYes(), LLPanelGroupVoting::impl::onDoubleClickHistoryItem(), LLPanelGroupVoting::impl::onDoubleClickProposal(), LLPanelGroupTab::postBuild(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLPanelGroupVoting::impl::processGroupVoteHistoryItemReply(), LLUICtrl::setCallbackUserData(), LLButton::setClickedCallback(), LLScrollListCtrl::setDoubleClickCallback(), LLMessageSystem::setHandlerFuncFast(), and LLPanelGroupVoting::impl::updateQuorumText().

void LLPanelGroupVoting::update ( LLGroupChange  gc  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 1444 of file llpanelgroupvoting.cpp.

References LLGroupMgr::getGroupData(), gGroupMgr, LLPanelGroupTab::mGroupID, mImpl, LLGroupMgrGroupData::mMemberCount, LLPanelGroupVoting::impl::mNumGroupMembers, NULL, S32, LLPanelGroupVoting::impl::sendGroupProposalsRequest(), LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest(), and LLPanelGroupVoting::impl::updateQuorumText().

Referenced by activate().


Member Data Documentation

impl* LLPanelGroupVoting::mImpl [protected]

Definition at line 54 of file llpanelgroupvoting.h.

Referenced by activate(), LLPanelGroupVoting(), postBuild(), update(), and ~LLPanelGroupVoting().


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