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 Types

enum  ResponseType { START_VOTE, BALLOT }

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 void * createTab (void *data)
static void handleResponse (const LLUUID &group_id, ResponseType response, bool succes=true)
static void handleFailure (const LLUUID &group_id)

Protected Attributes

implmImpl

Classes

class  impl


Detailed Description

Definition at line 37 of file llpanelgroupvoting.h.


Member Enumeration Documentation

Enumerator:
START_VOTE 
BALLOT 

Definition at line 40 of file llpanelgroupvoting.h.


Constructor & Destructor Documentation

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

Definition at line 1440 of file llpanelgroupvoting.cpp.

References mImpl.

Referenced by createTab().

Here is the caller graph for this function:

LLPanelGroupVoting::~LLPanelGroupVoting (  )  [virtual]

Definition at line 1447 of file llpanelgroupvoting.cpp.

References mImpl.


Member Function Documentation

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

Reimplemented from LLPanelGroupTab.

Definition at line 1434 of file llpanelgroupvoting.cpp.

References LLPanelGroupVoting().

Referenced by LLPanelGroup::LLPanelGroup().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelGroupVoting::postBuild ( void   )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 1458 of file llpanelgroupvoting.cpp.

References _PREHASH_GroupActiveProposalItemReply, _PREHASH_GroupVoteHistoryItemReply, 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().

Here is the call graph for this function:

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

Reimplemented from LLPanelGroupTab.

Definition at line 1452 of file llpanelgroupvoting.cpp.

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

Here is the call graph for this function:

void LLPanelGroupVoting::activate (  )  [virtual]

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

Reimplemented from LLPanelGroupTab.

Definition at line 1599 of file llpanelgroupvoting.cpp.

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

Reimplemented from LLPanelGroupTab.

Definition at line 1604 of file llpanelgroupvoting.cpp.

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

void LLPanelGroupVoting::handleResponse ( const LLUUID group_id,
ResponseType  response,
bool  succes = true 
) [static]

Definition at line 608 of file llpanelgroupvoting.cpp.

References BALLOT, NULL, LLPanelGroupVoting::impl::sGroupIDs, and LLNotifyBox::showXml().

Referenced by LLGroupProposalBallotResponder::result(), and LLStartGroupVoteResponder::result().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupVoting::handleFailure ( const LLUUID group_id  )  [static]

Definition at line 653 of file llpanelgroupvoting.cpp.

References NULL, and LLPanelGroupVoting::impl::sGroupIDs.

Referenced by LLGroupProposalBallotResponder::error(), and LLStartGroupVoteResponder::error().

Here is the caller graph for this function:


Member Data Documentation


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

Generated on Fri May 16 08:57:12 2008 for SecondLife by  doxygen 1.5.5