QGIS API Documentation
3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
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::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::handlesDirectoryPath
virtual bool handlesDirectoryPath(const QString &path)
Returns true if the provider will handle the directory at the specified path.
Definition
qgsdataitemprovider.cpp:27
QgsDataItem
Base class for all items in the model.
Definition
qgsdataitem.h:46
qgsdataitemprovider.h
Generated on Thu Dec 26 2024 02:19:01 for QGIS API Documentation by
1.9.8