QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
src
core
browser
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
20
QVector<QgsDataItem *>
QgsDataItemProvider::createDataItems
(
const
QString &path,
QgsDataItem
*parentItem )
21
{
22
Q_UNUSED( path )
23
Q_UNUSED( parentItem )
24
return
QVector<QgsDataItem *>();
25
}
26
27
bool
QgsDataItemProvider::handlesDirectoryPath
(
const
QString & )
28
{
29
return
false
;
30
}
QgsDataItemProvider::handlesDirectoryPath
virtual bool handlesDirectoryPath(const QString &path)
Returns true if the provider will handle the directory at the specified path.
Definition:
qgsdataitemprovider.cpp:27
QgsDataItemProvider::createDataItems
virtual QVector< QgsDataItem * > createDataItems(const QString &path, QgsDataItem *parentItem)
Create a vector of instances of QgsDataItem (or nullptr) for given path and parent item.
Definition:
qgsdataitemprovider.cpp:20
qgsdataitemprovider.h
QgsDataItem
Base class for all items in the model.
Definition:
qgsdataitem.h:45
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17