QGIS API Documentation 3.29.0-Master (006c3c0232)
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