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:
mhugent 2005-07-22 18:23:30 +00:00
parent f3e46e58b6
commit 56bc8ea36a
2 changed files with 54 additions and 0 deletions

View 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;
}

View 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);
};