QGIS API Documentation  3.6.0-Noosa (5873452)
qgsabstractcontentcache.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  QgsAbstractContentCache.cpp
3  -----------------
4  begin : December 2018
5  copyright : (C) 2018 by Nyall Dawson
6  email : nyall dot dawson at gmail dot com
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
19 
20 //
21 // QgsAbstractContentCacheEntry
22 //
23 
25  : path( path )
26  , fileModified( QFileInfo( path ).lastModified() )
27 {
29 }
30 
31 //
32 // QgsAbstractContentCacheBase
33 //
34 
36  : QObject( parent )
37 {}
38 
39 
41 {
42 
43 }
44 
45 
46 
47 
48 
QgsAbstractContentCacheEntry(const QString &path)
Constructor for QgsAbstractContentCacheEntry for an entry relating to the specified path...
virtual void onRemoteContentFetched(const QString &url, bool success)
Triggered after remote content (i.e.
QgsAbstractContentCacheBase(QObject *parent)
Constructor for QgsAbstractContentCacheBase, with the specified parent object.
QElapsedTimer fileModifiedLastCheckTimer
Time since last check of file modified date.