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/KNotesIface.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'knotes/KNotesIface.h') diff --git a/knotes/KNotesIface.h b/knotes/KNotesIface.h index 1fba1860..62479098 100644 --- a/knotes/KNotesIface.h +++ b/knotes/KNotesIface.h @@ -24,6 +24,7 @@ #include #include +#include #include @@ -98,6 +99,12 @@ k_dcop: * @return the body as a TQString */ virtual TQString text( 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.3