QGIS API Documentation  3.27.0-Master (597e8eebd4)
qgsprocessingmodelcomment.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsprocessingmodelcomment.h
3  --------------------------
4  begin : February 2020
5  copyright : (C) 2020 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 
18 #ifndef QGSPROCESSINGMODELCOMMENT_H
19 #define QGSPROCESSINGMODELCOMMENT_H
20 
21 #include "qgis_core.h"
22 #include "qgis.h"
25 
27 
33 class CORE_EXPORT QgsProcessingModelComment : public QgsProcessingModelComponent
34 {
35  public:
36 
40  QgsProcessingModelComment( const QString &description = QString() );
41 
42  QgsProcessingModelComment *clone() const override SIP_FACTORY;
43 
48  QVariant toVariant() const;
49 
54  bool loadVariant( const QVariantMap &map );
55 };
56 
58 
59 #endif // QGSPROCESSINGMODELCOMMENT_H
#define SIP_FACTORY
Definition: qgis_sip.h:76