mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	statistics: add a skeleton StatsManager class
In analogy to "QMLManager", add a "StatsManager" class, which manages the statistics module on mobile. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									e7907c494f
								
							
						
					
					
						commit
						d77f254328
					
				
					 5 changed files with 53 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -16,6 +16,7 @@
 | 
			
		|||
#include "mobile-widgets/themeinterface.h"
 | 
			
		||||
#include "mobile-widgets/qmlmanager.h"
 | 
			
		||||
#include "mobile-widgets/qmlinterface.h"
 | 
			
		||||
#include "mobile-widgets/statsmanager.h"
 | 
			
		||||
#include "qt-models/divesummarymodel.h"
 | 
			
		||||
#include "qt-models/gpslistmodel.h"
 | 
			
		||||
#include "qt-models/messagehandlermodel.h"
 | 
			
		||||
| 
						 | 
				
			
			@ -207,6 +208,7 @@ static void register_qml_types(QQmlEngine *engine)
 | 
			
		|||
 | 
			
		||||
#ifdef SUBSURFACE_MOBILE
 | 
			
		||||
	register_qml_type<QMLManager>("QMLManager");
 | 
			
		||||
	register_qml_type<StatsManager>("StatsManager");
 | 
			
		||||
	register_qml_type<QMLProfile>("QMLProfile");
 | 
			
		||||
	register_qml_type<DiveImportedModel>("DCImportModel");
 | 
			
		||||
	register_qml_type<DiveSummaryModel>("DiveSummaryModel");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue