Diffstat (limited to 'noncore/apps/checkbook/traninfo.h') (more/less context) (show 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 @@ -49,7 +49,7 @@ 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; } const QString &category() const { return c; } @@ -93,6 +93,9 @@ class TranInfo class TranInfoList : public QList<TranInfo> { + public: + TranInfo *findMostRecentByDesc( const QString &desc ); + protected: int compareItems( QCollection::Item, QCollection::Item ); }; |