1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-04-27 00:03:38 -04:00
QGIS/src/qgsrenderer.cpp
gsherman 50602c9628 header template update
git-svn-id: http://svn.osgeo.org/qgis/trunk@184 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-01-27 00:35:50 +00:00

31 lines
1.2 KiB
C++

/***************************************************************************
qgsrenderer.cpp - description
-------------------
begin : Sat Jan 4 2003
copyright : (C) 2003 by Gary E.Sherman
email : sherman at mrcc.com
***************************************************************************/
/***************************************************************************
* *
* 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 <qstring.h>
#include "qgsrenderitem.h"
#include "qgsrenderer.h"
QgsRenderer::QgsRenderer(int _type, QString _field) : type(_type), field(_field) {
}
void QgsRenderer::addItem(QString key, QgsRenderItem ri){
items[key] = ri;
}