QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
history
qgshistoryprovider.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgshistoryprovider.cpp
3
-------------------------
4
begin : April 2019
5
copyright : (C) 2019 by Nyall Dawson
6
email : nyall dot dawson at gmail dot com
7
***************************************************************************/
8
/***************************************************************************
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
17
#include "
qgshistoryprovider.h
"
18
19
#include "moc_qgshistoryprovider.cpp"
20
21
QgsAbstractHistoryProvider::~QgsAbstractHistoryProvider
() =
default
;
22
23
QgsHistoryEntryNode
*
QgsAbstractHistoryProvider::createNodeForEntry
(
const
QgsHistoryEntry
&,
const
QgsHistoryWidgetContext
& )
24
{
25
return
nullptr
;
26
}
27
28
void
QgsAbstractHistoryProvider::updateNodeForEntry
(
QgsHistoryEntryNode
*,
const
QgsHistoryEntry
&,
const
QgsHistoryWidgetContext
& )
29
{}
QgsAbstractHistoryProvider::~QgsAbstractHistoryProvider
~QgsAbstractHistoryProvider() override
QgsAbstractHistoryProvider::updateNodeForEntry
virtual void updateNodeForEntry(QgsHistoryEntryNode *node, const QgsHistoryEntry &entry, const QgsHistoryWidgetContext &context)
Updates an existing history node for the given entry.
Definition
qgshistoryprovider.cpp:28
QgsAbstractHistoryProvider::createNodeForEntry
virtual QgsHistoryEntryNode * createNodeForEntry(const QgsHistoryEntry &entry, const QgsHistoryWidgetContext &context)
Creates a new history node for the given entry.
Definition
qgshistoryprovider.cpp:23
QgsHistoryEntryNode
Base class for nodes representing a QgsHistoryEntry.
Definition
qgshistoryentrynode.h:42
QgsHistoryEntry
Encapsulates a history entry.
Definition
qgshistoryentry.h:37
QgsHistoryWidgetContext
Contains settings which reflect the context in which a history widget is shown, e....
Definition
qgshistorywidgetcontext.h:33
qgshistoryprovider.h
Generated on
for QGIS API Documentation by
1.17.0