summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-17 21:05:17 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-17 21:05:17 -0300
commit87e380c7a28b467705b470323275db3812e0fa90 (patch)
treea9f1015754e0ca2cb2c575605a430bc998b738e8 /qt-ui/models.h
parenta05ea5a6e8f50213559b096871905f9777059eb4 (diff)
downloadsubsurface-87e380c7a28b467705b470323275db3812e0fa90.tar.gz
Yearly stats are being displayed.
Yearly stats are being displayed. the code is similar to the GTK one, but I advise the reader that it's a bit risky ( I got an unreproducible crash but it seems to be fixed now. ). The selection behavior is *weird* and I have no idea why, but I'm very sleepy - will try to look at it again tomorrow. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/models.h')
-rw-r--r--qt-ui/models.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/models.h b/qt-ui/models.h
index 4e84aa9b2..30d4b3a17 100644
--- a/qt-ui/models.h
+++ b/qt-ui/models.h
@@ -204,5 +204,6 @@ public:
virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
YearlyStatisticsModel(QObject* parent = 0);
+ void update_yearly_stats();
};
#endif