QGIS API Documentation  3.24.2-Tisler (13c1a02865)
qgsfilefiltergenerator.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsfilefiltergenerator.h
3  ------------------------
4  begin : March 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 QGSFILEFILTERGENERATOR_H
19 #define QGSFILEFILTERGENERATOR_H
20 
21 #include "qgis_core.h"
22 #include <QString>
23 
33 class CORE_EXPORT QgsFileFilterGenerator
34 {
35  public:
36  virtual ~QgsFileFilterGenerator() = default;
37 
42  virtual QString createFileFilter() const = 0;
43 
44 };
45 
46 #endif // QGSPROCESSINGUTILS_H
47 
48 
Abstract interface for classes which generate a file filter string.
virtual QString createFileFilter() const =0
This method needs to be reimplemented in all classes which implement this interface and return a file...
virtual ~QgsFileFilterGenerator()=default