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