void NounShip::message( const char * pMessage, bool a_bAllowRemote /*= false*/ ) { if ( isLocal() ) clientChat( pMessage ); else if ( a_bAllowRemote ) privateChat( pMessage ); }
void UserSelectionsWidget::selectionMade() { if(sender() == &mChatButton) { emit privateChat(mUserData); } else if(sender() == &mProfileButton) { emit profile(mUserData); } else if(sender() == &mLikeButton) { emit toggleLiked(mUserData); } return; }