KMail::EditorWatcher Class Reference

#include <editorwatcher.h>

Inherits TQObject.

Signals

void editDone (KMail::EditorWatcher *watcher)
 

Public Member Functions

 EditorWatcher (const KURL &url, const TQString &mimeType, bool openWith, TQObject *parent, TQWidget *parentWidget)
 
bool start ()
 
bool fileChanged () const
 

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::EditorWatcher ( const KURL &  url,
const TQString &  mimeType,
bool  openWith,
TQObject *  parent,
TQWidget *  parentWidget 
)

Constructs an EditorWatcher.

Parameters
parentthe parent object of this EditorWatcher, which will take care of deleting this EditorWatcher if the parent is deleted.
parentWidgetthe parent widget of this EditorWatcher, which will be used as the parent widget for message dialogs.

Definition at line 51 of file editorwatcher.cpp.


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