summaryrefslogtreecommitdiffstats
path: root/knotes/KNotesAppIface.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/KNotesAppIface.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/KNotesAppIface.h')
-rw-r--r--knotes/KNotesAppIface.h7
1 files changed, 7 insertions, 0 deletions
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 <tqstring.h>
#include <tqmap.h>
+#include <tqdatetime.h>
#include <dcopobject.h>
@@ -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