代码拉取完成,页面将自动刷新
#ifndef QTASSISTANT_H
#define QTASSISTANT_H
#if _MSC_VER >= 1600
# pragma execution_character_set("utf-8")
#endif
#include "cqportal.h"
#include "sqldatas/masterlevels.h"
#include "htmlfeedback/htmlfeedback.h"
// class QtAssistant
class QtAssistantPrivate;
class QtAssistant : public CqPortal
{
Q_OBJECT
Q_DECLARE_PRIVATE(QtAssistant)
public:
explicit QtAssistant(QObject *parent = Q_NULLPTR);
virtual ~QtAssistant();
public:
bool privateMessageEventFilter(const MessageEvent &ev) Q_DECL_FINAL;
bool groupMessageEventFilter(const MessageEvent &ev) Q_DECL_FINAL;
bool discussMessageEventFilter(const MessageEvent &ev) Q_DECL_FINAL;
bool masterChangeEventFilter(const MasterChangeEvent &ev) Q_DECL_FINAL;
bool friendRequestEventFilter(const FriendRequestEvent &ev) Q_DECL_FINAL;
bool groupRequestEventFilter(const GroupRequestEvent &ev) Q_DECL_FINAL;
bool friendAddEventFilter(const FriendAddEvent &ev) Q_DECL_FINAL;
bool memberJoinEventFilter(const MemberJoinEvent &ev) Q_DECL_FINAL;
bool memberLeaveEventFilter(const MemberLeaveEvent &ev) Q_DECL_FINAL;
private:
void timerEvent(QTimerEvent *) Q_DECL_FINAL;
private:
void groupHelp(const MessageEvent &ev, const QStringList &args);
void groupLevel(const MessageEvent &ev, const QStringList &args);
void groupRename(const MessageEvent &ev, const QStringList &args);
void groupFormat(const MessageEvent &ev, const QStringList &args);
void groupMember(const MessageEvent &ev, const QStringList &args);
void groupBan(const MessageEvent &ev, const QStringList &args);
void groupKill(const MessageEvent &ev, const QStringList &args);
void groupPower(const MessageEvent &ev, const QStringList &args);
void groupUnban(const MessageEvent &ev, const QStringList &args);
void groupUnkill(const MessageEvent &ev, const QStringList &args);
void groupUnpower(const MessageEvent &ev, const QStringList &args);
void groupWelcome(const MessageEvent &ev, const QStringList &args);
void groupBlacklist(const MessageEvent &ev, const QStringList &args);
private:
void groupHelpHelp(qint64 gid);
void groupLevelHelp(qint64 gid);
void groupRenameHelp(qint64 gid);
void groupFormatHelp(qint64 gid);
void groupMemberHelp(qint64 gid);
void groupBanHelp(qint64 gid);
void groupKillHelp(qint64 gid);
void groupPowerHelp(qint64 gid);
void groupUnbanHelp(qint64 gid);
void groupUnkillHelp(qint64 gid);
void groupUnpowerHelp(qint64 gid);
void groupWelcomeHelp(qint64 gid);
void groupBlacklistHelp(qint64 gid);
private:
void permissionDenied(qint64 gid, qint64 uid, MasterLevel level, const QString &reason = QString());
private:
void showPrimary(qint64 gid, const QString &title, const QString &content);
void showDanger(qint64 gid, const QString &title, const QString &content);
void showWarning(qint64 gid, const QString &title, const QString &content);
void showPrompt(qint64 gid, const QString &title, const QString &content);
void showSuccess(qint64 gid, const QString &title, const QString &content);
void feedback(qint64 gid, const QString &title, const QString &content, HtmlFeedback::Style style);
private:
void showPrimaryList(qint64 gid, const QString &title, const LevelInfoList &members, bool level);
void showDangerList(qint64 gid, const QString &title, const LevelInfoList &members, bool level);
void showWarningList(qint64 gid, const QString &title, const LevelInfoList &members, bool level);
void showPromptList(qint64 gid, const QString &title, const LevelInfoList &members, bool level);
void showSuccessList(qint64 gid, const QString &title, const LevelInfoList &members, bool level);
void feedbackList(qint64 gid, const QString &title, const LevelInfoList &members, bool level, HtmlFeedback::Style style);
};
#endif // QTASSISTANT_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。