22 #ifndef __KNotesIface_h__
23 #define __KNotesIface_h__
27 #include <tqdatetime.h>
29 #include <dcopobject.h>
32 class KNotesIface : virtual public DCOPObject
43 virtual TQString newNote( const TQString& name = TQString(),
44 const TQString& text = TQString() ) = 0;
54 virtual TQString newNoteFromClipboard( const TQString& name = TQString() ) = 0;
60 virtual ASYNC killNote( const TQString& noteId ) = 0;
67 virtual ASYNC killNote( const TQString& noteId, bool force ) = 0;
73 virtual TQMap<TQString,TQString> notes() const = 0;
80 virtual ASYNC setName( const TQString& noteId, const TQString& newName ) = 0;
87 virtual ASYNC setText( const TQString& noteId, const TQString& newText ) = 0;
94 virtual TQString name( const TQString& noteId ) const = 0;
101 virtual TQString text( const TQString& noteId ) const = 0;
107 virtual TQDateTime getLastModified( const TQString& noteId ) const = 0;
|