diff options
author | Emanoil Kotsev <[email protected]> | 2020-02-29 18:39:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-02-29 18:39:20 +0900 |
commit | 094f8d9a878ff83db4e3bdd5ca2bcb273f96c7ea (patch) | |
tree | 16d3fab3f49d54c78019802c505df10a697157da /knotes/KNotesAppIface.h | |
parent | 0087f22b7304e93164515e04ade0a24f2538e40e (diff) | |
download | tdepim-094f8d9a878ff83db4e3bdd5ca2bcb273f96c7ea.tar.gz tdepim-094f8d9a878ff83db4e3bdd5ca2bcb273f96c7ea.zip |
Extended the interface of KNotes with getLastModified method. This
relates to bug 2691.
Signed-off-by: Emanoil Kotsev <[email protected]>
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'knotes/KNotesAppIface.h')
-rw-r--r-- | knotes/KNotesAppIface.h | 7 |
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 |