KNotesIface.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __KNotesIface_h__
00023 #define __KNotesIface_h__
00024
00025 #include <qstring.h>
00026 #include <qmap.h>
00027
00028 #include <dcopobject.h>
00029
00030
00031 class KNotesIface : virtual public DCOPObject
00032 {
00033 K_DCOP
00034 k_dcop:
00042 virtual int newNote( QString name = QString::null,
00043 const QString& text = QString::null ) = 0;
00044
00053 virtual int newNoteFromClipboard( QString name = QString::null ) = 0;
00054
00059 virtual ASYNC showNote( int noteId ) const = 0;
00060
00065 virtual ASYNC hideNote( int noteId ) const = 0;
00066
00071 virtual ASYNC killNote( int noteId ) = 0;
00072
00077 virtual QMap<int,QString> notes() const = 0;
00078
00084 virtual ASYNC setName( int noteId, const QString& newName ) = 0;
00085
00091 virtual ASYNC setText( int noteId, const QString& newText ) = 0;
00092
00098 virtual QString text( int noteId ) const = 0;
00099
00104 virtual ASYNC sync( const QString& app ) = 0;
00105
00113 virtual bool isNew( const QString& app, int noteId ) const = 0;
00114
00122 virtual bool isModified( const QString& app, int noteId ) const = 0;
00123 };
00124
00125 #endif
This file is part of the documentation for kdelibs Version 3.1.4.