summaryrefslogtreecommitdiffstats
path: root/knotes/KNotesIface.h
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2020-02-29 18:39:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-02-29 18:39:20 +0900
commit094f8d9a878ff83db4e3bdd5ca2bcb273f96c7ea (patch)
tree16d3fab3f49d54c78019802c505df10a697157da /knotes/KNotesIface.h
parent0087f22b7304e93164515e04ade0a24f2538e40e (diff)
downloadtdepim-094f8d9a878ff83db4e3bdd5ca2bcb273f96c7ea.tar.gz
tdepim-094f8d9a878ff83db4e3bdd5ca2bcb273f96c7ea.zip
Extended the interface of KNotes with getLastModified method. This
relates to bug 2691. Signed-off-by: Emanoil Kotsev <deloptes@gmail.com> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'knotes/KNotesIface.h')
-rw-r--r--knotes/KNotesIface.h7
1 files changed, 7 insertions, 0 deletions
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 <tqstring.h>
#include <tqmap.h>
+#include <tqdatetime.h>
#include <dcopobject.h>
@@ -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