X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmap%2Fmapscene.h;h=e924471ef2737fa8a472a95927864048ace2db94;hb=016b265f8653b5d7f0f066cf7c663ecbe6e5ba17;hp=ed841536f7be47b621f36431624c004d7c05eaa1;hpb=e543b93fddf6a007ced2b76b3202f3b798735158;p=situare diff --git a/src/map/mapscene.h b/src/map/mapscene.h index ed84153..e924471 100644 --- a/src/map/mapscene.h +++ b/src/map/mapscene.h @@ -124,6 +124,8 @@ public: */ void setTilesDrawingLevels(int zoomLevel); + void setZoomLevel(int zoomLevel); + void spanItems(int zoomLevel, QPoint sceneCoordinate, QSize viewSize); /** @@ -152,6 +154,8 @@ private: void moveIntersectingItemsHorizontally(QRect from, int distance); private slots: + void removeOtherLevelTiles(); + /** * @brief Slot for running next queued removal of stacked tiles * @@ -163,6 +167,7 @@ private slots: ******************************************************************************/ private: bool m_isRemoveStackedTilesRunning; ///< Is singleshot timer already running + int m_zoomLevel; QHash m_mapTilesInScene; ///< List of map tiles in map scene QList m_removeStackedTilesList; ///< "Queue" for stacked tiles removal requests QRect m_tilesSceneRect; ///< Current viewable area