Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
DlgInviteToGame Class Reference

#include <dlg_invite_to_game.h>

Inheritance diagram for DlgInviteToGame:
[legend]
Collaboration diagram for DlgInviteToGame:
[legend]

Public Member Functions

 DlgInviteToGame (TabSupervisor *_tabSupervisor, const QString &_inviteUrl, bool _onlyBuddies, const QStringList &_excludeUserNames, QWidget *parent=nullptr)

Private Slots

void searchTextChanged (const QString &text)
void inviteCurrentUser (const QString &userName)

Private Member Functions

void retranslateUi ()

Private Attributes

TabSupervisortabSupervisor
QString inviteUrl
bool onlyBuddies
QStringList excludeUserNames
QString currentUserName
QLineEdit * searchEdit
UserListWidgetuserList
QPushButton * inviteButton
QPushButton * cancelButton

Constructor & Destructor Documentation

◆ DlgInviteToGame()

DlgInviteToGame::DlgInviteToGame ( TabSupervisor * _tabSupervisor,
const QString & _inviteUrl,
bool _onlyBuddies,
const QStringList & _excludeUserNames,
QWidget * parent = nullptr )
Here is the call graph for this function:

Member Function Documentation

◆ inviteCurrentUser

void DlgInviteToGame::inviteCurrentUser ( const QString & userName)
privateslot
Here is the caller graph for this function:

◆ retranslateUi()

void DlgInviteToGame::retranslateUi ( )
private
Here is the caller graph for this function:

◆ searchTextChanged

void DlgInviteToGame::searchTextChanged ( const QString & text)
privateslot
Here is the caller graph for this function:

Member Data Documentation

◆ cancelButton

QPushButton* DlgInviteToGame::cancelButton
private

◆ currentUserName

QString DlgInviteToGame::currentUserName
private

◆ excludeUserNames

QStringList DlgInviteToGame::excludeUserNames
private

◆ inviteButton

QPushButton* DlgInviteToGame::inviteButton
private

◆ inviteUrl

QString DlgInviteToGame::inviteUrl
private

◆ onlyBuddies

bool DlgInviteToGame::onlyBuddies
private

◆ searchEdit

QLineEdit* DlgInviteToGame::searchEdit
private

◆ tabSupervisor

TabSupervisor* DlgInviteToGame::tabSupervisor
private

◆ userList

UserListWidget* DlgInviteToGame::userList
private

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