Support Mod/Admin Notes Section (#5361)

This commit is contained in:
Zach H 2024-12-28 13:05:49 -05:00 committed by GitHub
parent 14807ba036
commit 1f58f7e93d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 175 additions and 3 deletions

View file

@ -35,6 +35,7 @@ private:
QAction *aPromoteToMod, *aDemoteFromMod;
QAction *aPromoteToJudge, *aDemoteFromJudge;
QAction *aWarnUser, *aWarnHistory;
QAction *aGetAdminNotes;
signals:
void openMessageDialog(const QString &userName, bool focus);
private slots:
@ -43,9 +44,11 @@ private slots:
void warnUser_processUserInfoResponse(const Response &resp);
void banUserHistory_processResponse(const Response &resp);
void warnUserHistory_processResponse(const Response &resp);
void getAdminNotes_processResponse(const Response &resp);
void adjustMod_processUserResponse(const Response &resp, const CommandContainer &commandContainer);
void banUser_dialogFinished();
void warnUser_dialogFinished();
void updateAdminNotes_dialogFinished();
void gamesOfUserReceived(const Response &resp, const CommandContainer &commandContainer);
public: