kmail

KMail::EditorWatcher Class Reference

Starts an editor for the given URL and emits an signal when editing has been finished. More...

#include <editorwatcher.h>

Inheritance diagram for KMail::EditorWatcher:

List of all members.


Signals

void editDone (KMail::EditorWatcher *watcher)

Public Member Functions

 EditorWatcher (const KURL &url, const QString &mimeType, bool openWith, QObject *parent=0)
bool fileChanged () const
bool start ()

Detailed Description

Starts an editor for the given URL and emits an signal when editing has been finished.

Both, the editor process as well as the edited file are watched to work with as many as possible editors.

Definition at line 38 of file editorwatcher.h.


Constructor & Destructor Documentation

EditorWatcher::EditorWatcher ( const KURL &  url,
const QString mimeType,
bool  openWith,
QObject parent = 0 
)

Definition at line 67 of file editorwatcher.cpp.


Member Function Documentation

void KMail::EditorWatcher::editDone ( KMail::EditorWatcher watcher  )  [signal]

bool KMail::EditorWatcher::fileChanged (  )  const [inline]

Definition at line 44 of file editorwatcher.h.

bool EditorWatcher::start (  ) 

Definition at line 83 of file editorwatcher.cpp.


The documentation for this class was generated from the following files: