QGIS API Documentation  3.14.0-Pi (9f7028fd23)
qgscustomprojectopenhandler.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  qgscustomprojectopenhandler.h
3  ---------------------
4  begin : April 2020
5  copyright : (C) 2020 by Nyall Dawson
6  email : nyall dot dawson at gmail dot com
7  ***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 
17 #include <QIcon>
18 
20 {
21  return false;
22 }
23 
25 {
26  return QIcon();
27 }
QgsCustomProjectOpenHandler::createDocumentThumbnailAfterOpen
virtual bool createDocumentThumbnailAfterOpen() const
Returns true if a document thumbnail should automatically be created after opening the project.
Definition: qgscustomprojectopenhandler.cpp:19
qgscustomprojectopenhandler.h
QgsCustomProjectOpenHandler::icon
virtual QIcon icon() const
Returns a custom icon used to represent this handler.
Definition: qgscustomprojectopenhandler.cpp:24