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

Functions

QString formatReportCategory (const QString &category)
QString formatReportTime (qint64 secondsSinceEpoch)
void fillReportTableRow (QTableWidget *table, int row, const ServerInfo_Report &report, int idColumn, int timeColumn, int reportedColumn, int categoryColumn, int gameIdColumn, int statusColumn, int assignedColumn)
void renderReportDetails (QTextEdit *chatLogEdit, QTextEdit *commentsEdit, const ServerInfo_Report &report, const QString &commentsEmptyText, const QString &moderatorPrefix, const QString &nonModeratorPrefix)

Function Documentation

◆ fillReportTableRow()

void report_utils::fillReportTableRow ( QTableWidget * table,
int row,
const ServerInfo_Report & report,
int idColumn,
int timeColumn,
int reportedColumn,
int categoryColumn,
int gameIdColumn,
int statusColumn,
int assignedColumn )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ formatReportCategory()

QString report_utils::formatReportCategory ( const QString & category)
Here is the caller graph for this function:

◆ formatReportTime()

QString report_utils::formatReportTime ( qint64 secondsSinceEpoch)
Here is the caller graph for this function:

◆ renderReportDetails()

void report_utils::renderReportDetails ( QTextEdit * chatLogEdit,
QTextEdit * commentsEdit,
const ServerInfo_Report & report,
const QString & commentsEmptyText,
const QString & moderatorPrefix,
const QString & nonModeratorPrefix )
Here is the call graph for this function:
Here is the caller graph for this function: