From 094f8d9a878ff83db4e3bdd5ca2bcb273f96c7ea Mon Sep 17 00:00:00 2001 From: Emanoil Kotsev Date: Sat, 29 Feb 2020 18:39:20 +0900 Subject: Extended the interface of KNotes with getLastModified method. This relates to bug 2691. Signed-off-by: Emanoil Kotsev Signed-off-by: Michele Calgaro --- knotes/KNotesAppIface.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'knotes/KNotesAppIface.h') diff --git a/knotes/KNotesAppIface.h b/knotes/KNotesAppIface.h index ad24a58b8..dea2881ea 100644 --- a/knotes/KNotesAppIface.h +++ b/knotes/KNotesAppIface.h @@ -34,6 +34,7 @@ #include #include +#include #include @@ -210,6 +211,12 @@ k_dcop: * new as well!) and false if the note is not modified or doesn't exist */ virtual bool isModified( const TQString& app, const TQString& noteId ) const = 0; + + /** + * Get the last modified time of a note + * @return the last modified time as a TQDateTime + */ + virtual TQDateTime getLastModified( const TQString& noteId ) const = 0; }; #endif -- cgit v1.2.1