QGIS API Documentation 3.41.0-Master (45a0abf3bec)
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:
41
46 QgsProcessingRecentAlgorithmLog( QObject *parent = nullptr );
47
52 QStringList recentAlgorithmIds() const;
53
61 void push( const QString &id );
62
63 signals:
64
69 void changed();
70
71 private:
72
73 QStringList mRecentAlgorithmIds;
74
75};
76
78
79#endif // QGSPROCESSINGRECENTALGORITHMLOG_H