QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
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
23#include <QString>
24
34class CORE_EXPORT QgsFileFilterGenerator
35{
36 public:
37 virtual ~QgsFileFilterGenerator() = default;
38
43 virtual QString createFileFilter() const = 0;
44
45};
46
47#endif // QGSPROCESSINGUTILS_H
48
49
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