Refactor: move code not depending on "this" into static methods
This patch moves the implementation of the default filenameToTileSpec
and tileSpecToFileName methods into standalone public static methods
so that they can be possibly reused by plugins or other components,
since these implementations do not actually depend on any member of
QGeoFileTileCache.
Change-Id: I6e3f59615ff3a5e0924f946aa13aabebb8157e42
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| commit | c07087aea7e2f08d8fa5e7068c946ac83ce9f8c1 |
| parent | 2244429e7577baee4de062756d0708b076c1541f |
| author | Paolo Angelelli <paolo.angelelli@qt.io> |
| committer | Paolo Angelelli <paolo.angelelli@qt.io> |
| commit time | Mon, 29 May 2017 10:33:37 +0000 |