1 Star 0 Fork 9

fuyb/linux_feiq

forked from uenigma/linux_feiq 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
feiqwin.h 811 Bytes
一键复制 编辑 原始数据 按行查看 历史
lpx 提交于 2021-12-16 21:35 +08:00 . 格式化代码
#ifndef FEIQWIN_H
#define FEIQWIN_H
#include "feiqlib/feiqmodel.h"
#include "fellowlistwidget.h"
#include "qsettings.h"
#include "recvtextedit.h"
#include "sendtextedit.h"
#include "settings.h"
class MainWindow;
class IPlugin;
/**
* @brief The FeiqWin class
* 其实就是MainWindow的代言人,用来隔离插件和MainWindow,方便控制MainWindow对插件的可见性
*/
class FeiqWin
{
public:
FeiqWin();
public:
RecvTextEdit *recvTextEdit();
SendTextEdit *sendTextEdit();
FellowListWidget *fellowListWidget();
const FeiqModel *feiqModel();
Settings *settings();
private:
void init(MainWindow *mainWin);
void unInit();
void loadPlugins();
private:
friend class MainWindow;
MainWindow *mMainWin;
QList<IPlugin *> mPlugins;
};
#endif // FEIQWIN_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/HALOBING/linux_feiq.git
git@gitee.com:HALOBING/linux_feiq.git
HALOBING
linux_feiq
linux_feiq
master

搜索帮助