#include <user_context_menu.h>
|
| | UserContextMenu (TabSupervisor *_tabSupervisor, QWidget *_parent, AbstractGame *_game=0) |
| void | retranslateUi () |
| void | showContextMenu (const QPoint &pos, const QString &userName, UserLevelFlags userLevel, bool online=true, int playerId=-1) |
| void | showContextMenu (const QPoint &pos, const QString &userName, UserLevelFlags userLevel, ChatView *chatView) |
| void | showContextMenu (const QPoint &pos, const QString &userName, UserLevelFlags userLevel, bool online, int playerId, const QString &deckHash, ChatView *chatView=nullptr) |
| const UserListProxy * | getUserListProxy () const |
| void | setGameInviteLinkProvider (std::function< QList< GameInviteOption >()> provider) |
| QList< GameInviteOption > | inviteOptionsForUser (const QString &userName) const |
| bool | hasGameInviteLink (const QString &userName) const |
| void | execChat (const QString &userName) |
| void | execInvite (const QString &userName) |
| void | execDetails (const QString &userName) |
| void | execShowGames (const QString &userName) |
| void | execAddToBuddy (const QString &userName) |
| void | execRemoveFromBuddy (const QString &userName) |
| void | execAddToIgnore (const QString &userName) |
| void | execRemoveFromIgnore (const QString &userName) |
| void | execKick (int playerId) |
| void | execBan (const QString &userName) |
| void | execWarn (const QString &userName) |
| void | execBanHistory (const QString &userName) |
| void | execWarnHistory (const QString &userName) |
| void | execAdminNotes (const QString &userName) |
| void | execInvestigateUser (const QString &userName) |
| void | execAdjustMod (const QString &userName, bool shouldBeMod) |
| void | execAdjustJudge (const QString &userName, bool shouldBeJudge) |
◆ UserContextMenu()
◆ adjustMod_processUserResponse
| void UserContextMenu::adjustMod_processUserResponse |
( |
const Response & | resp, |
|
|
const CommandContainer & | commandContainer ) |
|
privateslot |
◆ banUser_dialogFinished
| void UserContextMenu::banUser_dialogFinished |
( |
| ) |
|
|
privateslot |
◆ banUser_processUserInfoResponse
| void UserContextMenu::banUser_processUserInfoResponse |
( |
const Response & | resp | ) |
|
|
privateslot |
◆ banUserHistory_processResponse
| void UserContextMenu::banUserHistory_processResponse |
( |
const Response & | resp | ) |
|
|
privateslot |
◆ execAddToBuddy()
| void UserContextMenu::execAddToBuddy |
( |
const QString & | userName | ) |
|
◆ execAddToIgnore()
| void UserContextMenu::execAddToIgnore |
( |
const QString & | userName | ) |
|
◆ execAdjustJudge()
| void UserContextMenu::execAdjustJudge |
( |
const QString & | userName, |
|
|
bool | shouldBeJudge ) |
◆ execAdjustMod()
| void UserContextMenu::execAdjustMod |
( |
const QString & | userName, |
|
|
bool | shouldBeMod ) |
◆ execAdminNotes()
| void UserContextMenu::execAdminNotes |
( |
const QString & | userName | ) |
|
◆ execBan()
| void UserContextMenu::execBan |
( |
const QString & | userName | ) |
|
◆ execBanHistory()
| void UserContextMenu::execBanHistory |
( |
const QString & | userName | ) |
|
◆ execChat()
| void UserContextMenu::execChat |
( |
const QString & | userName | ) |
|
◆ execDetails()
| void UserContextMenu::execDetails |
( |
const QString & | userName | ) |
|
◆ execInvestigateUser()
| void UserContextMenu::execInvestigateUser |
( |
const QString & | userName | ) |
|
◆ execInvite() [1/2]
| void UserContextMenu::execInvite |
( |
const QString & | userName | ) |
|
◆ execInvite() [2/2]
| void UserContextMenu::execInvite |
( |
const QString & | userName, |
|
|
const GameInviteOption & | option ) |
|
private |
◆ execKick()
| void UserContextMenu::execKick |
( |
int | playerId | ) |
|
◆ execRemoveFromBuddy()
| void UserContextMenu::execRemoveFromBuddy |
( |
const QString & | userName | ) |
|
◆ execRemoveFromIgnore()
| void UserContextMenu::execRemoveFromIgnore |
( |
const QString & | userName | ) |
|
◆ execShowGames()
| void UserContextMenu::execShowGames |
( |
const QString & | userName | ) |
|
◆ execWarn()
| void UserContextMenu::execWarn |
( |
const QString & | userName | ) |
|
◆ execWarnHistory()
| void UserContextMenu::execWarnHistory |
( |
const QString & | userName | ) |
|
◆ gamesOfUserReceived
◆ getAdminNotes_processResponse
| void UserContextMenu::getAdminNotes_processResponse |
( |
const Response & | resp | ) |
|
|
privateslot |
◆ getUserListProxy()
| const UserListProxy * UserContextMenu::getUserListProxy |
( |
| ) |
const |
|
inline |
◆ hasGameInviteLink()
| bool UserContextMenu::hasGameInviteLink |
( |
const QString & | userName | ) |
const |
|
inline |
Whether at least one invite link is currently available for userName.
◆ inviteOptionsForUser()
| QList< GameInviteOption > UserContextMenu::inviteOptionsForUser |
( |
const QString & | userName | ) |
const |
The games currently inviteable for userName, honoring the room's buddy-only setting (the inviter must be the game's creator and the target a buddy of theirs). Empty when there is no live provider.
◆ openMessageDialog
| void UserContextMenu::openMessageDialog |
( |
const QString & | userName, |
|
|
bool | focus ) |
|
signal |
◆ retranslateUi()
| void UserContextMenu::retranslateUi |
( |
| ) |
|
◆ setGameInviteLinkProvider()
| void UserContextMenu::setGameInviteLinkProvider |
( |
std::function< QList< GameInviteOption >()> | provider | ) |
|
|
inline |
◆ showContextMenu() [1/3]
| void UserContextMenu::showContextMenu |
( |
const QPoint & | pos, |
|
|
const QString & | userName, |
|
|
UserLevelFlags | userLevel, |
|
|
bool | online, |
|
|
int | playerId, |
|
|
const QString & | deckHash, |
|
|
ChatView * | chatView = nullptr ) |
◆ showContextMenu() [2/3]
| void UserContextMenu::showContextMenu |
( |
const QPoint & | pos, |
|
|
const QString & | userName, |
|
|
UserLevelFlags | userLevel, |
|
|
bool | online = true, |
|
|
int | playerId = -1 ) |
◆ showContextMenu() [3/3]
| void UserContextMenu::showContextMenu |
( |
const QPoint & | pos, |
|
|
const QString & | userName, |
|
|
UserLevelFlags | userLevel, |
|
|
ChatView * | chatView ) |
◆ updateAdminNotes_dialogFinished
| void UserContextMenu::updateAdminNotes_dialogFinished |
( |
| ) |
|
|
privateslot |
◆ warnUser_dialogFinished
| void UserContextMenu::warnUser_dialogFinished |
( |
| ) |
|
|
privateslot |
◆ warnUser_processGetWarningsListResponse
| void UserContextMenu::warnUser_processGetWarningsListResponse |
( |
const Response & | r | ) |
|
|
privateslot |
◆ warnUser_processUserInfoResponse
| void UserContextMenu::warnUser_processUserInfoResponse |
( |
const Response & | resp | ) |
|
|
privateslot |
◆ warnUserHistory_processResponse
| void UserContextMenu::warnUserHistory_processResponse |
( |
const Response & | resp | ) |
|
|
privateslot |
◆ aAddToBuddyList
| QAction* UserContextMenu::aAddToBuddyList |
|
private |
◆ aAddToIgnoreList
| QAction* UserContextMenu::aAddToIgnoreList |
|
private |
◆ aBan
| QAction* UserContextMenu::aBan |
|
private |
◆ aBanHistory
| QAction * UserContextMenu::aBanHistory |
|
private |
◆ aChat
| QAction* UserContextMenu::aChat |
|
private |
◆ aDemoteFromJudge
| QAction * UserContextMenu::aDemoteFromJudge |
|
private |
◆ aDemoteFromMod
| QAction * UserContextMenu::aDemoteFromMod |
|
private |
◆ aDetails
| QAction* UserContextMenu::aDetails |
|
private |
◆ aGetAdminNotes
| QAction* UserContextMenu::aGetAdminNotes |
|
private |
◆ aInvestigateUser
| QAction* UserContextMenu::aInvestigateUser |
|
private |
◆ aKick
| QAction* UserContextMenu::aKick |
|
private |
◆ aPromoteToJudge
| QAction* UserContextMenu::aPromoteToJudge |
|
private |
◆ aPromoteToMod
| QAction* UserContextMenu::aPromoteToMod |
|
private |
◆ aRemoveFromBuddyList
| QAction * UserContextMenu::aRemoveFromBuddyList |
|
private |
◆ aRemoveFromIgnoreList
| QAction * UserContextMenu::aRemoveFromIgnoreList |
|
private |
◆ aReport
| QAction* UserContextMenu::aReport |
|
private |
◆ aShowGames
| QAction* UserContextMenu::aShowGames |
|
private |
◆ aUserName
| QAction* UserContextMenu::aUserName |
|
private |
◆ aWarnHistory
| QAction * UserContextMenu::aWarnHistory |
|
private |
◆ aWarnUser
| QAction* UserContextMenu::aWarnUser |
|
private |
◆ client
◆ game
◆ gameInviteLinkProvider
| std::function<QList<GameInviteOption>()> UserContextMenu::gameInviteLinkProvider |
|
private |
◆ tabSupervisor
◆ userListProxy
The documentation for this class was generated from the following files: