QTfrontend/util/DataManager.h
changeset 8377 869f80966a77
parent 8049 133e22b5c410
child 8508 f849b7b3af1d
equal deleted inserted replaced
8376:c11cc7246df7 8377:869f80966a77
    86          * @return hat model pointer.
    86          * @return hat model pointer.
    87          */
    87          */
    88         HatModel * hatModel();
    88         HatModel * hatModel();
    89 
    89 
    90         /**
    90         /**
    91          * @brief Returns pointer to a model of available maps.
    91          * @brief Returns pointer to a model of available static maps.
    92          *
    92          *
    93          * The model is updated automatically on data reload.
    93          * The model is updated automatically on data reload.
    94          *
    94          *
    95          * @return map model pointer.
    95          * @return map model pointer.
    96          */
    96          */
    97         MapModel * mapModel();
    97         MapModel * staticMapModel();
       
    98 
       
    99         /**
       
   100          * @brief Returns pointer to a model of available mission maps.
       
   101          *
       
   102          * The model is updated automatically on data reload.
       
   103          *
       
   104          * @return map model pointer.
       
   105          */
       
   106         MapModel * missionMapModel();
    98 
   107 
    99         /**
   108         /**
   100          * @brief Returns pointer to a model of available themes.
   109          * @brief Returns pointer to a model of available themes.
   101          *
   110          *
   102          * The model is updated automatically on data reload.
   111          * The model is updated automatically on data reload.
   130          */
   139          */
   131         DataManager();
   140         DataManager();
   132 
   141 
   133         GameStyleModel * m_gameStyleModel; ///< game style model instance
   142         GameStyleModel * m_gameStyleModel; ///< game style model instance
   134         HatModel * m_hatModel; ///< hat model instance
   143         HatModel * m_hatModel; ///< hat model instance
   135         MapModel * m_mapModel; ///< map model instance
   144         MapModel * m_staticMapModel; ///< static map model instance
       
   145         MapModel * m_missionMapModel; ///< mission map model instance
   136         ThemeModel * m_themeModel; ///< theme model instance
   146         ThemeModel * m_themeModel; ///< theme model instance
   137         QStandardItemModel * m_colorsModel;
   147         QStandardItemModel * m_colorsModel;
   138         QStandardItemModel * m_bindsModel;
   148         QStandardItemModel * m_bindsModel;
   139 };
   149 };
   140 
   150