QGIS API Documentation
3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
src
gui
processing
qgsprocessingfavoritealgorithmmanager.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsprocessingfavoritealgorithmmanager.h
3
----------------------------------
4
Date : February 2024
5
Copyright : (C) 2024 Alexander Bruy
6
Email : alexander dot bruy 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
16
#ifndef QGSPROCESSINGFAVORITEALGORITHMMANAGER_H
17
#define QGSPROCESSINGFAVORITEALGORITHMMANAGER_H
18
19
#include "
qgis.h
"
20
#include "qgis_gui.h"
21
22
class
QgsSettingsEntryStringList
;
23
25
38
class
GUI_EXPORT QgsProcessingFavoriteAlgorithmManager :
public
QObject
39
{
40
Q_OBJECT
41
42
public
:
47
QgsProcessingFavoriteAlgorithmManager( QObject *parent =
nullptr
);
48
52
QStringList favoriteAlgorithmIds()
const
;
53
60
void
add(
const
QString &
id
);
61
68
void
remove(
const
QString &
id
);
69
73
void
clear();
74
78
bool
isFavorite(
const
QString &
id
);
79
80
#ifndef SIP_RUN
82
static
const
QgsSettingsEntryStringList
*settingsFavoriteAlgorithms;
83
#endif
84
85
signals:
86
92
void
changed();
93
94
private
:
95
QStringList mFavoriteAlgorithmIds;
96
};
97
99
100
#endif
// QGSPROCESSINGFAVORITEALGORITHMMANAGER_H
QgsSettingsEntryStringList
A string list settings entry.
Definition
qgssettingsentryimpl.h:231
qgis.h
Generated on Sun Dec 15 2024 01:32:01 for QGIS API Documentation by
1.9.8