mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 17:32:17 -07:00
[Server/Client/Protocol] Reporting users + moderation queue functionality
Took 6 minutes Took 3 minutes Took 8 seconds Took 11 minutes Took 12 minutes Took 7 minutes Took 15 seconds Took 2 minutes Took 1 minute Took 30 seconds Took 16 seconds
This commit is contained in:
parent
9eafd90a91
commit
b8a70c48a4
58 changed files with 3364 additions and 17 deletions
|
|
@ -96,6 +96,11 @@ void TabsSettings::setStartupRoomName(const QString &roomName)
|
|||
emit startupRoomNameChanged(roomName);
|
||||
}
|
||||
|
||||
bool TabsSettings::getTabReportOpen() const
|
||||
{
|
||||
return getValue("report", QString(), QString(), false).toBool();
|
||||
}
|
||||
|
||||
void TabsSettings::setTabVisualDeckStorageOpen(bool value)
|
||||
{
|
||||
setValue(value, "visualDeckStorage");
|
||||
|
|
@ -130,3 +135,8 @@ void TabsSettings::setTabLogOpen(bool value)
|
|||
{
|
||||
setValue(value, "log");
|
||||
}
|
||||
|
||||
void TabsSettings::setTabReportOpen(bool value)
|
||||
{
|
||||
setValue(value, "report");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ public:
|
|||
[[nodiscard]] bool getTabReplaysOpen() const override;
|
||||
[[nodiscard]] bool getTabAdminOpen() const override;
|
||||
[[nodiscard]] bool getTabLogOpen() const override;
|
||||
[[nodiscard]] bool getTabReportOpen() const override;
|
||||
|
||||
void setStartupTabIndex(int value);
|
||||
void setStartupServerHost(const QString &host);
|
||||
|
|
@ -53,6 +54,7 @@ public:
|
|||
void setTabReplaysOpen(bool value);
|
||||
void setTabAdminOpen(bool value);
|
||||
void setTabLogOpen(bool value);
|
||||
void setTabReportOpen(bool value);
|
||||
|
||||
signals:
|
||||
void startupTabIndexChanged(int index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue