Utility class for visitor. More...
#include <VisitorUtils.h>
Public Member Functions | |
bool | changeMapVisitable (QList< QGraphicsItem * > graphicsItems, Visitable *visitable) |
Sets the other map (MapModel) for visitable. More... | |
virtual | ~VisitorUtils () |
Destructor. More... | |
Static Public Member Functions | |
static T & | getInstance () |
It returns a reference to the singleton instance. More... | |
Protected Member Functions | |
VisitorUtils () | |
Constructor. More... | |
Private Member Functions | |
VisitorUtils & | operator= (const VisitorUtils &rhs) |
Assignment operator not allowed. More... | |
VisitorUtils (const VisitorUtils &rhs) | |
Copy constructor not allowed. More... | |
Friends | |
class | te::common::Singleton< VisitorUtils > |
Utility class for visitor.
Definition at line 49 of file VisitorUtils.h.
|
virtual |
Destructor.
Definition at line 47 of file VisitorUtils.cpp.
|
protected |
Constructor.
Definition at line 42 of file VisitorUtils.cpp.
|
private |
Copy constructor not allowed.
rhs | The right-hand-side copy that would be used to copy from. |
bool te::layout::VisitorUtils::changeMapVisitable | ( | QList< QGraphicsItem * > | graphicsItems, |
Visitable * | visitable | ||
) |
Sets the other map (MapModel) for visitable.
graphicsItems | items that are visitors |
visitable | other map (MapModel) |
Definition at line 52 of file VisitorUtils.cpp.
References te::layout::Visitable::acceptVisitor(), and te::layout::ItemObserver::getModel().
|
inlinestaticinherited |
It returns a reference to the singleton instance.
Definition at line 120 of file Singleton.h.
Referenced by BBOXReader(), BBOXWriter(), BetweenReader(), BetweenWriter(), BinaryComparsionOpReader(), BinaryComparsionOpWriter(), BinaryOperatorReader(), BinarySpatialOpReader(), BinarySpatialOpWriter(), te::map::AbstractLayerRenderer::buildChart(), te::map::QueryLayerRenderer::buildChart(), te::edit::SnapOptionsDialog::buildOptions(), te::layout::PropertiesOutside::changeMapVisitable(), te::layout::ItemUtils::createLegendChildItemFromLegend(), DistanceBufferOpWriter(), DistanceBufferReader(), te::sa::GetColorBar(), te::edit::Module::initialize(), te::color::Module::initialize(), te::qt::widgets::Module::initialize(), te::qt::af::GeneralConfigWidget::initialize(), te::qt::af::ApplicationController::initialize(), LikeReader(), LikeWriter(), te::qt::widgets::ColorCatalogWidget::loadDefaultColorCatalog(), NullReader(), NullWriter(), te::qt::plugins::edit::ApplicationListener::onApplicationTriggered(), te::qt::widgets::ColorCatalogWidget::onCatalogComboBoxActivated(), te::qt::widgets::ColorCatalogWidget::onGroupComboBoxActivated(), te::edit::SnapOptionsDialog::onOkPushButtonPressed(), te::qt::widgets::ColorCatalogWidget::onSchemaComboBoxActivated(), te::se::serialize::ReadGeometryPropertyHelper(), te::map::serialize::ReadGroupingItem(), te::se::serialize::ReadParameterValue(), te::se::serialize::ReadRule(), te::se::serialize::ReadSvgParameter(), te::qt::widgets::ReadSymbol(), te::se::serialize::Save(), te::color::ColorSchemeCatalog::setName(), te::qt::af::UpdateUserSettingsFile(), te::se::serialize::WriteGeometryPropertyHelper(), and te::map::serialize::WriteLayerGrouping().
|
private |
Assignment operator not allowed.
rhs | The right-hand-side copy that would be used to copy from. |
|
friend |
Definition at line 51 of file VisitorUtils.h.