QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
qgsdataitemprovider.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgsdataitemprovider.cpp
3 --------------------------------------
4 Date : March 2015
5 Copyright : (C) 2015 by Martin Dobias
6 Email : wonder dot sk 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#include "qgsdataitemprovider.h"
17
18// no implementation currently
19
20QVector<QgsDataItem *> QgsDataItemProvider::createDataItems( const QString &path, QgsDataItem *parentItem )
21{
22 Q_UNUSED( path )
23 Q_UNUSED( parentItem )
24 return QVector<QgsDataItem *>();
25}
26
28{
29 return false;
30}
virtual QVector< QgsDataItem * > createDataItems(const QString &path, QgsDataItem *parentItem)
Create a vector of instances of QgsDataItem (or nullptr) for given path and parent item.
virtual bool handlesDirectoryPath(const QString &path)
Returns true if the provider will handle the directory at the specified path.
Base class for all items in the model.
Definition qgsdataitem.h:46