From 0a3f6f27868a6eaa15d27cfe5be303292737b562 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sun, 7 Apr 2013 04:19:54 +0200 Subject: add categories for forum view --- board.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board.h') diff --git a/board.h b/board.h index d7e91a2..c38bd48 100644 --- a/board.h +++ b/board.h @@ -68,8 +68,8 @@ public: QString bbcodeToRichText(QString text) const; QString parseSmilies(QString text) const; - QString renderHumanDate(const QDateTime& dateTime); - QString renderHumanDateTime(const QDateTime& dateTime); + Q_INVOKABLE QString renderHumanDate(const QDateTime& dateTime, bool monthOnly = false); + Q_INVOKABLE QString renderHumanDateTime(const QDateTime& dateTime); public slots: void cancelAllActions(); -- cgit v1.2.3