Diffstat (limited to 'noncore/apps/checkbook/traninfo.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/traninfo.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/checkbook/traninfo.h b/noncore/apps/checkbook/traninfo.h index 0abdc61..cbe0238 100644 --- a/noncore/apps/checkbook/traninfo.h +++ b/noncore/apps/checkbook/traninfo.h @@ -50,5 +50,5 @@ class TranInfo const QString &desc() const { return d; } const QDate &date() const { return td; } - const QString &datestr(); + const QString &datestr(bool = false); bool withdrawal() const { return w; } const QString &type() const { return t; } @@ -94,4 +94,7 @@ class TranInfo class TranInfoList : public QList<TranInfo> { + public: + TranInfo *findMostRecentByDesc( const QString &desc ); + protected: int compareItems( QCollection::Item, QCollection::Item ); |