mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-27 00:03:38 -04:00
31 lines
1.2 KiB
C++
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;
|
|
}
|
|
|
|
|
|
|
|
|