#include <remote_replay_list_tree_widget.h>
◆ RemoteReplayList_TreeWidget()
| RemoteReplayList_TreeWidget::RemoteReplayList_TreeWidget |
( |
AbstractClient * | _client, |
|
|
QWidget * | parent = nullptr ) |
|
explicit |
◆ addMatchInfo()
| void RemoteReplayList_TreeWidget::addMatchInfo |
( |
const ServerInfo_ReplayMatch & | matchInfo | ) |
|
|
inline |
◆ clearTree()
| void RemoteReplayList_TreeWidget::clearTree |
( |
| ) |
|
|
inline |
◆ getReplay()
| ServerInfo_Replay const * RemoteReplayList_TreeWidget::getReplay |
( |
const QModelIndex & | ind | ) |
const |
|
nodiscard |
Gets the replay at the given index
- Returns
- The replay. Returns nullptr if there is no replay at the index.
◆ getReplayMatch()
| ServerInfo_ReplayMatch const * RemoteReplayList_TreeWidget::getReplayMatch |
( |
const QModelIndex & | ind | ) |
const |
|
nodiscard |
Gets the replay match at the given index
- Returns
- The replay match. Returns nullptr if there is no replay match at the index.
◆ getSelectedReplayMatches()
| QSet< ServerInfo_ReplayMatch const * > RemoteReplayList_TreeWidget::getSelectedReplayMatches |
( |
| ) |
const |
|
nodiscard |
Gets all currently selected replayMatches. If a non-folder node is selected, it will return the parent folder of that node.
- Returns
- A Set of pointers to the selected replayMatches.
◆ getSelectedReplays()
| QList< ServerInfo_Replay const * > RemoteReplayList_TreeWidget::getSelectedReplays |
( |
| ) |
const |
|
nodiscard |
Gets all currently selected replays. Any selection that isn't a replay file (e.g. a folder) will appear as a nullptr in the list. Make sure to check the list for nullptr before using it.
- Returns
- A List of pointers to the selected replays, as well as nullptr for any selection that isn't a replay.
◆ refreshTree()
| void RemoteReplayList_TreeWidget::refreshTree |
( |
| ) |
|
|
inline |
◆ removeMatchInfo()
| void RemoteReplayList_TreeWidget::removeMatchInfo |
( |
int | gameId | ) |
|
|
inline |
◆ updateMatchInfo()
| void RemoteReplayList_TreeWidget::updateMatchInfo |
( |
int | gameId, |
|
|
const ServerInfo_ReplayMatch & | matchInfo ) |
|
inline |
◆ proxyModel
| QSortFilterProxyModel* RemoteReplayList_TreeWidget::proxyModel |
|
private |
◆ treeModel
The documentation for this class was generated from the following files: