#pragma once #include #include enum E_FileFrom { e_filePath, e_fileFolder, }; class CFilePathFinder { public: E_FileFrom m_eFileFrom; QString m_strFileFolderPath; private: void FindImagePaths(QString strPath); QList m_ListFilePath; int m_nListIndex; public: CFilePathFinder(); ~CFilePathFinder(); void SetFilePath(E_FileFrom filefrom, QString path); QString GetOneFilePath(); QList GetAllPath(); };