Call: Use signal slots uniformly for calling.

This commit is contained in:
2025-06-19 15:37:39 +08:00
parent b2aa0d3752
commit 5f5569495e
14 changed files with 121 additions and 102 deletions

View File

@@ -109,12 +109,7 @@ QString DirFileHelper::GetErr() const
return QString();
}
void DirFileHelper::registerPathCall(const std::function<void(const QString& path)>& call)
DirFileHelper::DirFileHelper(QObject* parent) : QObject(parent)
{
pathCall_ = call;
}
void DirFileHelper::registerFileCall(const std::function<void(const DirFileInfoVec& vec)>& call)
{
fileCall_ = call;
}
}