예제 #1
0
QString FileUtils::readAllText(const QString &fileName)
{
	QString fullPath = getFullPath(fileName);
	if(existsFullPath(fullPath)) return readAllTextFullPath(fullPath);
	return "";
}
예제 #2
0
QString FileUtils::readAllText(const QString &fileName)
{
	QString newFileName = getFullPath(fileName);		
	return readAllTextFullPath(newFileName);
}