37 #include "boost\foreach.hpp"
41 std::vector<te::layout::MapItem*> list;
42 foreach( QGraphicsItem *item, graphicsItems)
65 foreach( QGraphicsItem *item, graphicsItems)
78 if(mit->
getName().compare(name) != 0)
89 std::vector<std::string> strList;
91 foreach( QGraphicsItem *item, graphicsItems)
104 std::string name = mit->
getName();
105 strList.push_back(name);
115 foreach( QGraphicsItem *item, graphicsItems)
137 foreach( QGraphicsItem *item, graphicsItems)
158 if(model->
getId() > id)
TELAYOUTEXPORT MapItem * getMapItem(QList< QGraphicsItem * > graphicsItems, std::string name)
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module.
TELAYOUTEXPORT std::vector< std::string > mapNameList(QList< QGraphicsItem * > graphicsItems)
LayoutMode
Enum LayoutMode. This is the enumeration of the components types.
TELAYOUTEXPORT int countType(QList< QGraphicsItem * > graphicsItems, te::layout::LayoutAbstractObjectType type)
LayoutAbstractObjectType
Enum TdkAbstractComponentType. This is the enumeration of the components types.
TELAYOUTEXPORT std::vector< MapItem * > getMapItemList(QList< QGraphicsItem * > graphicsItems)
TELAYOUTEXPORT int maxTypeId(QList< QGraphicsItem * > graphicsItems, te::layout::LayoutAbstractObjectType type)
virtual Observable * getModel()
TELAYOUTEXPORT bool isCurrentMapTools()
virtual LayoutAbstractObjectType getType()=0
static Context * getInstance()
This function is called to create an instance of the class.
virtual std::string getName()