FactDev  0.1
statistics.h
1 #ifndef STATISTICS_H
2 #define STATISTICS_H
3 
4 #include <QDate>
5 #include <QPair>
6 
7 #include "models/project.h"
8 #include "models/rate.h"
9 
10 #include "database/projectdatabase.h"
11 #include "database/billingdatabase.h"
12 
13 using namespace Databases;
14 namespace Models {
16 {
17 public:
18  Statistics();
19 
26  static QPair<int, double> getTurnoverBetweenDates(QDate begin, QDate end);
27 
32  static double getGlobalTurnover();
33 };
34 }
35 #endif // STATISTICS_H
Definition: statistics.h:15