diff options
Diffstat (limited to 'knotes/knotesapp.cpp')
-rw-r--r-- | knotes/knotesapp.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/knotes/knotesapp.cpp b/knotes/knotesapp.cpp index 5cc2635c2..2a4e84b17 100644 --- a/knotes/knotesapp.cpp +++ b/knotes/knotesapp.cpp @@ -342,6 +342,15 @@ TQMap<TQString,TQString> KNotesApp::notes() const return notes; } +TQDateTime KNotesApp::getLastModified( const TQString& id ) const +{ + KNote* note = m_noteList[id]; + TQDateTime d; + if ( note ) + d = note->getLastModified(); + return d; +} + TQString KNotesApp::name( const TQString& id ) const { KNote* note = m_noteList[id]; |