mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
forgot to add these two files before the last commit
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3773 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
f3e46e58b6
commit
56bc8ea36a
28
src/legend/qgslegendlayerfilegroup.cpp
Normal file
28
src/legend/qgslegendlayerfilegroup.cpp
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/***************************************************************************
|
||||||
|
qgslegendlayerfilegroup.cpp - description
|
||||||
|
-------------------
|
||||||
|
begin : Juli 2005
|
||||||
|
copyright : (C) 2005 by Marco Hugentobler
|
||||||
|
email : marco.hugentobler@autoform.ch
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
/***************************************************************************
|
||||||
|
* *
|
||||||
|
* This program is free software; you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
|
* (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
#include "qgslegendlayerfilegroup.h"
|
||||||
|
|
||||||
|
QgsLegendLayerFileGroup::QgsLegendLayerFileGroup(QListViewItem* theItem, QString theString): QgsLegendItem(theItem, theString)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
bool QgsLegendLayerFileGroup::accept(LEGEND_ITEM_TYPE type)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
26
src/legend/qgslegendlayerfilegroup.h
Normal file
26
src/legend/qgslegendlayerfilegroup.h
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/***************************************************************************
|
||||||
|
qgslegendlayerfilegroup.h - description
|
||||||
|
-------------------
|
||||||
|
begin : Juli 2005
|
||||||
|
copyright : (C) 2005 by Marco Hugentobler
|
||||||
|
email : marco.hugentobler@autoform.ch
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
/***************************************************************************
|
||||||
|
* *
|
||||||
|
* This program is free software; you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
|
* (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
#include "qgslegenditem.h"
|
||||||
|
|
||||||
|
class QgsLegendLayerFileGroup: public QgsLegendItem
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
QgsLegendLayerFileGroup(QListViewItem* theItem, QString theString);
|
||||||
|
bool isLeafNode() {return false;}
|
||||||
|
bool accept(LEGEND_ITEM_TYPE type);
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user