summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/knotes/knotes_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/knotes/knotes_part.cpp')
-rw-r--r--kontact/plugins/knotes/knotes_part.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/kontact/plugins/knotes/knotes_part.cpp b/kontact/plugins/knotes/knotes_part.cpp
index 02a4028e..20e8d6c9 100644
--- a/kontact/plugins/knotes/knotes_part.cpp
+++ b/kontact/plugins/knotes/knotes_part.cpp
@@ -274,6 +274,14 @@ TQMap<TQString, TQString> KNotesPart::notes() const
return notes;
}
+TQDateTime KNotesPart::getLastModified( const TQString& id ) const
+{
+ KNotesIconViewItem *note = mNoteList[ id ];
+ TQDateTime dt;
+ if ( note )
+ dt = note->journal()->lastModified();
+ return dt;
+}
// private stuff