1 Star 0 Fork 25

Linux-Gitee/Qtmxapp-desktop

forked from 韦东山/Qtmxapp-desktop 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
myfunction.cpp 529 Bytes
一键复制 编辑 原始数据 按行查看 历史
世玉轩 提交于 2020-06-19 17:31 +08:00 . init push myir hmi v2.0 gui
#include "myfunction.h"
#include <QFile>
#include <QDir>
MyFunction::MyFunction()
{
// qDebug() << "MyFunction Initial Success";
}
void MyFunction::deleteFile(QString filePath)
{
QFile file(filePath);
QString fileName = file.fileName();
if(!file.remove())
qDebug() << "delete failed:" << fileName;
else
qDebug() << "delete success:" << fileName;
getPath();
}
QString MyFunction::getPath()
{
QString path = QString("/usr/share/myir");
return path;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/linux-gitee/Qtmxapp-desktop.git
git@gitee.com:linux-gitee/Qtmxapp-desktop.git
linux-gitee
Qtmxapp-desktop
Qtmxapp-desktop
master

搜索帮助