forked from qt-creator/qt-creator
		
	Utils: Introduce FilePath::displayName()
To produce "<filepath> on <devicename>" which is nicer to read than "<scheme>://<deviceid>/<filepath>" in some places. Change-Id: Ife47bbf49382cf73dd4709d826bdeaa8730f88be Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
		@@ -86,6 +86,7 @@ public:
 | 
			
		||||
    std::function<Environment(const FilePath &)> environment;
 | 
			
		||||
    std::function<qint64(const FilePath &)> fileSize;
 | 
			
		||||
    std::function<qint64(const FilePath &)> bytesAvailable;
 | 
			
		||||
    std::function<QString(const FilePath &)> deviceDisplayName;
 | 
			
		||||
 | 
			
		||||
    template <class ...Args> using Continuation = std::function<void(Args...)>;
 | 
			
		||||
    std::function<void(const Continuation<bool> &, const FilePath &, const FilePath &)> asyncCopyFile;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user