QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
qgsprocessingrecentalgorithmlog.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsprocessingrecentalgorithmlog.h
3 ----------------------------------
4 Date : July 2018
5 Copyright : (C) 2018 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
16#ifndef QGSPROCESSINGRECENTALGORITHMLOG_H
17#define QGSPROCESSINGRECENTALGORITHMLOG_H
18
19#include "qgis.h"
20#include "qgis_gui.h"
21
23
36class GUI_EXPORT QgsProcessingRecentAlgorithmLog : public QObject
37{
38 Q_OBJECT
39
40 public:
45 QgsProcessingRecentAlgorithmLog( QObject *parent = nullptr );
46
51 QStringList recentAlgorithmIds() const;
52
60 void push( const QString &id );
61
62 signals:
63
68 void changed();
69
70 private:
71 QStringList mRecentAlgorithmIds;
72};
73
75
76#endif // QGSPROCESSINGRECENTALGORITHMLOG_H